Skip to content

Latest commit

 

History

History
83 lines (69 loc) · 6.46 KB

CHANGELOG.md

File metadata and controls

83 lines (69 loc) · 6.46 KB

Sails Changelog

master

  • [BUGFIX] Don't attempt to run CSRF protection methods if session is not available
  • [BUGFIX] Properly remove process listeners on sails.lower() to avoid EventEmitter leaks when lifting/lowering multiple apps (e.g. in tests) #2693
  • [UPGRADE] Updated versions of Lodash (v3.10.1) and Async (v1.5.0) used in Sails (and globalized in Sails apps by default)
  • [ENHANCEMENT] Support for newer versions of connect-redis session adapter (and other session adapters using express-session)
  • [ENHANCEMENT] Set the useGlobal config option for REPL while using sails console, allows autoreload hook to reflect changes on global models and services
  • [ENHANCEMENT] Support JSON sorting syntax in blueprints #2449
  • [ENHANCEMENT] Support private modules as hooks #3022
  • [BUGFIX] Fixed issues with subscribing sockets to new model instances in a clustered environment #2990, #3008
  • [UPGRADE] Update consolidate to ^0.12.1
  • [BUGFIX] Don't allow changing a model's primary key via blueprints
  • [ENHANCEMENT] Added sails.config.keepResponseErrors option to keep response errors in production mode #2853
  • [ENHANCEMENT] Added Livescript support #2662, #2599
  • [ENHANCEMENT] Added IcedCoffeeScript support (brrr) #2599
  • [BUGFIX] Fix req.param() to work correctly with falsy params #2756
  • [ENHANCEMENT] Support "exposeHeaders" option in CSRF config #2712
  • [BUGFIX] Honor all route options when using policy target syntax (balderdashy#2609 (comment))
  • [ENHANCEMENT] New sails deploy CLI command. See https://github.com/mikermcneil/sails-deploy-azure for an example deployment strategy.
  • [ENHANCEMENT] Support CSRF hook route configuration #2366
  • [BUGFIX] Fix [RangeError: Maximum call stack size exceeded] error in PubSub hook
  • [ENHANCEMENT] Support layout for Ractive template engine
  • [ENHANCEMENT] Body parser error logs no longer outputted in production, unless sails.config.keepResponseErrors is set #3347
  • [BUGFIX] Pluralize option works correctly for all routes #3223
  • [BUGFIX] Blueprint create now works when POSTing arrays #3228
  • [UPGRADE] Updated sails-hook-sockets to ^0.12.0, which uses an updated socket.io-client module and has some bugfixes
  • [BUGFIX] Default responses now work correctly when views hook is disabled #2770
  • [BUGFIX] Restored troubleshooting messages in console when Sails server fails to lift
  • [BUGFIX] app-wide locals (sails.config.views.locals) are combined using a shallow merge (_.extend() instead of _.merge()) #3500
  • [ENHANCEMENT] Added sails.getRouteFor() and sails.getUrlFor(), utility methods for reverse routing #3402
  • [BUGFIX] Improve interoperability of virtual requests to provide a more consistent API to Socket.io and sails.request() (e.g. for tests) 121f3feb8702d44420e86707ef05e3282461d136

0.11.4

0.11.3

0.11.2

  • [BUGFIX] Fixes to allow proper installation / execution in environments using Node 4 and/or NPM 3.

0.11.1

  • Shhhh nothing to see here (version skipped)

0.11.0

  • [ENHANCEMENT] Allow hooks to be installed in node_modules and dynamic changing of hook name
  • [ENHANCEMENT] Pull out the sockets hook to its own repository
  • [ENHANCEMENT] Allow hooks to have individual timeouts, and a global sails.config.hookTimeout
  • [ENHANCEMENT] Pull out sails.io.js to its own generator
  • [UPGRADE] Update sails.io.js for the latest version of the sockets hook
  • [UPGRADE] Upgrade from Socket.IO 0.9.17 to 1.2.1
  • [FEATURE] Add restPrefix setting in addition to prefix setting for blueprints for finer control
  • [ENHANCEMENT] Support partials and layout with Handlebars for the backend generator
  • [BUGFIX] Blueprint creation returns 201 status code instead of 200
  • [BUGFIX] ractive.toHTML() replaces ractive.renderHTML() for Ractive template engine
  • [BUGFIX] Fix arguments for publishAdd, publishRemove and publishUpdate
  • [ENHANCEMENT] Enable views hook for all methods
  • [BUGFIX] Resolve depreciation warnings
  • [BUGFIX] Fix dependency for npm 2.0.0
  • [BUGFIX] Fix Grunt launching when it's a peer dep
  • [ENHANCEMENT] Upgrade express and skipper because of security vulnerabilities
  • [BUGFIX] Fix Sails crashes if Redis goes down #2277
  • [BUGFIX] Fix crash when using sessionless requests over WebSockets #2107
  • [ENHANCEMENT] Checking npm-version on install
  • [ENHANCEMENT] Updated "skipAssets" regex to ignore query string

0.10.5

  • [ENHANCEMENT] Updated waterline to ~0.10.9
  • [ENHANCEMENT] Added new routesDisabled option for CSRF #2121
  • [ENHANCEMENT] Refactoring and cleanup.
  • [ENHANCEMENT] Switched from express3-handlebars to express-handlebars
  • [BUGFIX] Add missing require for async module #2101