Skip to content

Latest commit

 

History

History
122 lines (99 loc) · 6.61 KB

changelog.md

File metadata and controls

122 lines (99 loc) · 6.61 KB

Changelog

0.8.9 (latest stable)

April 9, 2013

If I missed anything, please let me know! This was a big release.

  • Controllers must now also be generated to use the default API (they can be empty)
  • Haml template support on back-end for new projects (thanks @dcbartlett)
  • default values in models (defaultsTo)
  • Chained policies fixed
  • Removed all reference to blueprints as "scaffolds". Blueprints are more than temporary placeholders-- they are the preferred method of serving an API from your app.
  • Refactored most of the code base
  • Removed CRUD synonyms
  • Main: Compatibility with Node v0.10.0 (patches node-dirty)
  • Main: Fixed crash that happened when absolute path was given as appPath
  • Assets: Added more logging features for less.
  • Assets: Reset.css now in mixins
  • Assets: Less assets are deligated to Rack.LessAsset
  • Assets: Less assets served from asset-rack will have their extensions changed to css
  • Policies: Implemented the controller syntax for defining a policy.
  • Naming: scaffolds is now known as blueprints
  • Naming: blueprints is now known as boilerplates
  • Routing: Added controller.action syntax
  • Routing: Removed CRUD Synonyms-- now you must explicitly use find, findAll, create, destroy, update (cant use get,detail, delete, edit, etc. to indicate the same thing. Turns out this was actually annoying, not helpful)
  • Routing: Fix in API blueprint for regression around PUT/DELETE automatic RESTful routes
  • Routing: Fix for resourceful routing. /model/[id] didn't work with verbs. Does now.
  • Config: _ and async no longer have to be global (but they are by default) They are configurable with sails.config.globals._ and sails.config.globals.async (thanks @particlebanana!)
  • New sails project can now be created in the current dir with sails new . (thanks @collinwren!)
  • More tests (thanks @collinwren and @benrudolph)
  • Travis CI integration (thanks @collinwren!)

0.8.895

  • Policies: Fixed the "*" route for controllers.
  • Policies: The "*" policy can now be set to false
  • Collections: Type restrictions are cleaner
  • Adapters: Default was changed to memory due to an issue with node-dirty
  • Log: sails.config.log.level is passed to socket.io
  • Assets: Bug fixed: not calling next when compiling less with syntax (thanks vicapow)
  • Assets: Typescript supported on front end (thanks Diullei)
  • Assets: Meaningful less errors were added (thanks vicapow)

0.8.892

  • Front-end CoffeeScript support in AssetRack (thanks @techpines!)
  • Chained policy support
  • New styles for default home page (thanks @egdelwonk!)
  • Windows compat. fix (thanks @feroc1ty!)
  • Support for string IDs (thanks @tedkulp!)
  • Attribute scaffolding for model generation (thanks @Tidwell)
  • Support for big int string conversion in id normalization (thanks @d4mn!)

0.8.88

  • Adds coffeescript support on the front-end in dev and production environments via asset-rack (thanks @techpines!)

0.8.87

Monday, March 4, 2013

  • Patch fixes updates sails-dirty version which fixes sorting by date

0.8.86

Monday, March 4, 2013

  • Patch to allow for easier SSL configuration.

0.8.85

Sunday, March 3, 2013

0.8.84

Saturday, March 2, 2013

  • Bug fixes: (explicit hosts, and included an additional file in new app generation)

0.8.83

Saturday, March 2, 2013

  • Support for streaming large datasets from models (e.g. User.stream().pipe(res);)
  • Bug fix for chains of multiple policies (thanks @themouette)
  • Jade template support (thanks @valinorsgatekeeper)
  • AssetRack integration for more robust css/js/template/LESS management, replaces Rigging (thanks @techpines)
  • Fixed some docs /refactored (thanks @slantzjr)
  • Bundled excruciatingly simple "authenticated" policy in new projects
  • Made "redirect" work in API scaffolds
  • Renamed waterline-* adapter modules as sails-*. Added backwards compat.
  • Added .gitkeep in all directories when generating new projects to make sure they get committed
  • Bootstrap and log config now available in project template
  • View config now available in new projects as 'config/views.js'
  • Better error checking in the sails CLI
  • Docs
  • Added app.js file back in, but this time hidden as '.app.js'. It can be run however you like, or you can use npm debug to debug it. To run daemonized, you can use forever start .app.js
  • Added notion of sails.explicitHost to track whether a host was explicitly specified. If it was not, Express takes the approach of accepting all connections via INADDR_ANY (see http://expressjs.com/2x/guide.html#app.listen()) Now, if you specify sails.config.host, sails.explicitHost gets set, and Express will start the server deliberately using the host you specify. In certain PaaS deployments, this is required. For instance, this was causing problems in an Openshift deployment environment (big thanks to @hypereive for figuring that out).

0.8.82

Sunday, February 24, 2013

  • Bootstrap function fires warning if callback not triggered after a few seconds (thanks @virpool)
  • Bug fixes w/ pubsub/model convenience methods.

0.8.80

  • Refactored app layout to make it a bit more straightforward. To check out the the new folder structure, make a new project with sails new foo
  • Added robot.txt in new app generation
  • Bound all methods in adapter to have the right context.

0.8.79

  • Adapter definitions are no longer functions-- instead the direct definition object is accepted. This makes it easier, cleaner, and more declarative to create adapters.
  • Merged waterline into main Sails repo.
  • Brought in sails-util and sails-moduleloader, moved watelrine tests into top level.
  • Attribute values in models in result sets from Waterline are now cast to numbers, if they are number-looking strings.
  • Substantial refactoring of waterline model-augmentation logic.
  • Added TODO for asynchronous module loading for future.
  • Upgraded waterline-dirty dep.

0.8.77

  • Patch updates the waterline-dirty dependency to deal with an issue with that adapter returning objects which map directly to the in-memory database (was causing changes made to found models to be persisted without calling .save())

< 0.8.77

githalytics.com alpha