Skip to content

Releases: FriendsOfSymfony/FOSJsRoutingBundle

1.6.0 (2016-02-04)

04 Feb 19:59
Compare
Choose a tag to compare

Aloha, and sorry for the too long delay... This release provides support for Symfony 3.0+ (older Symfony versions should still work though). Cheers!

Changelog

  • Fixed: deprecation notice at routing.xml
  • Fixed: ConfigCache::__toString() is deprecated in favor of getPath() as of Symfony 2.7
  • Added: enable Symfony 3 support

1.5.4

23 Jan 02:50
Compare
Choose a tag to compare
  • Fixed the compatibility with the router:debug command of Symfony 2.6+ by resetting the aliases properly when extending the class to avoid replacing the core command
  • Switched the autoloading to PSR-4
  • Marked HHVM as officially supported

FrameworkBundle 2.4 compatibility in the debug command

23 Jan 22:03
Compare
Choose a tag to compare
  • Fixed the debug command to be compatible with FrameworkBundle 2.4+

1.5.2

05 Jan 18:34
Compare
Choose a tag to compare

This bugfix release fixes a bug introduced in release 1.5.1.

1.5.0

16 Dec 21:21
Compare
Choose a tag to compare
  • Only the routes are cached now, everything else is included dynamically
  • Deserialize routes when we actually load the serialized ones (and not previously already have the original array)

1.4.2

13 Dec 09:44
Compare
Choose a tag to compare
  • Documentation has been rewritten
  • Updated composer configuration, changing minimum-stability from dev to stable

1.4.1

21 Oct 15:13
Compare
Choose a tag to compare

1.4.0 - Security Release

17 Oct 21:08
Compare
Choose a tag to compare

Prevent XSS attack through the JSONP callback. A CallbackValidator now validates the callback value. If it is not valid, a HttpException is thrown (status code = 400).

For more information, read: Do I need to sanitize the callback parameter from a JSONP call?

1.3.0

04 Oct 09:00
Compare
Choose a tag to compare
  • Add ability to set Cache-Control headers. Now, you can enable HTTP caching as below:
# app/config/config.yml
fos_js_routing:
    cache_control:
        # All are optional, defaults shown
        public: false   # can be true (public) or false (private)
        maxage: null    # integer value, e.g. 300
        smaxage: null   # integer value, e.g. 300
        expires: null   # anything that can be fed to "new \DateTime($expires)", e.g. "5 minutes"
        vary: []        # string or array, e.g. "Cookie" or [ Cookie, Accept ]

Thanks to @cmenning!