Trails v2.0 Release Notes

Release Date: 2016-12-27 // almost 5 years ago
  • ๐Ÿš€ Release Notes

    ๐Ÿ”„ Changelog Summary

    • ๐Ÿš… Built-in Trails Error objects are global.
    • ๐Ÿš… Built-in Trails resource classes (Model, Controller, Service, Policy) are now global
    • ๐Ÿ”€ trailpack-core functionality merged into Trails core. trailpack-core is deprecated and will be removed in v3.0. trailpack-core 2.0 is a no-op trailpack.
    • ๐Ÿ”€ trails-model, trails-service, trails-policy, and trails-controller are merged into Trails core, and made available via require(). The individual modules are deprecated and will be removed in 3.0.
    • ๐Ÿ”€ the trailpack subtypes merged into trailpack core interface.
    • ๐Ÿ”ง Configuration now accessible via Map interface.

    Potentially Breaking Changes:

    • ๐Ÿš… The Trails constructor now requires config, and api properties to be set. These properties can no longer be sent into the start() method. This is not an issue unless using a custom server.js to launch Trails.