Trails v3.2.2 Release Notes

Release Date: 2018-03-25 // over 3 years ago

Previous changes from v2.0

  • 🚀 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.