Releases: ghaiklor/generator-sails-rest-api
Releases · ghaiklor/generator-sails-rest-api
v1.0.0-alpha.1
- Implement services generator;
v0.10.6
v0.10.5
v0.10.4
v0.10.3
v0.10.2
v0.10.1
v0.10.0
- Improvement: I have moved all the services from generator to separate npm modules. In this way you still can get updates for services and get hotfixes and new features without regenerating the whole project;
- Improvement: Increase stability level index. So we are moving to stable versions;
- Improvement: Implement
fields
parameter in requests that allows you set name of fields that you want to get; - Improvement: Move
cors
tasks loading to separate installable hook. Now you can defined cors tasks inconfig/cors.js
; - Improvement: Add question that asks what services you want to use and not;
- Improvement: Asking you for default service that you want to use;
- Improvement: Add more configuration attributes to
config/http.js
likessl
andport
; - Improvement: Add
cron.js
config file where you can configure cron tasks; - Improvement: Add Dockerfile;
- Improvement: Start working with test coverage, so now you have tests for controllers and models;
- Improvement: Add
test
environment to Sails application; - Improvement: Add
supertest
in sails.request; - Improvement: Automatically installing sails adapter for chosen database;
- Improvement: Add
clean
npm task for removing.tmp
folder; - Improvement: Logs files more readable now (without JSON format);
- Improvement: Add
X-Total-Count
header when youGET /v1/model
; - Improvement: Implement
refresh_token
route; - Fix: Replace
jwt.decode()
withjwt.verify()
. It's security fix, becausedecode
doesn't verify token; - Fix: Bug with email validation in User model;
- Fix: Auth stuff is using new CipherService API;
- Fix: Bug with JWT token undefined in passport config;
- Fix: Bug with lodash is undefined in passport config;
- Typo: Allow to send options object to
jsonwebtoken
verify and sign methods; - Typo: Change JWT algorithm to HS512;
- Typo: Remove old
isAllowed
policy byApplication-Token
; - Typo: Change
blueprints.populate
to false; - Typo: Increase default limit for response to 20;
- Typo: Remove
skip-welcome
option; - Typo: Rename
skip-update
option toskip-check-update
; - Typo: Remove
skip-all
option; - Typo: Remove
verbose
option;
Version 0.9.2
- Improvement: Add some shortcut actions to User controller;
- Improvement: Return CORS configuration and hook;
- Fix: Fix all strategies that handle errors incorrect;
Version 0.9.1
- Hotfix: Bug when passport is modify configuration objects for strategies;