NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #826 most downloaded on Packagist
A pretty nice way to expose your Symfony routing to client applications.
Latest stable
3.6.1
Last release 1 years ago
04 Nov 2025
Release timing varies
gaps range from 2 weeks to 13 months
Most releases are documented
notes for 42 of 55 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
56 releases · first in 2012
Drag across the ruler to compare, or tap a release to open it.
add Support for Symfony 8 by @dmaicher in https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/pull/501
Full Changelog: https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/compare/3.6.0...3.6.1
Add a PHP routing file and deprecate the XML file by @mbabker in https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/pull/499
Full Changelog: https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/compare/3.5.2...3.6.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
fix: DI Extension deprecated since Symfony 7.1 by @AirBair in https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/pull/482
Full Changelog: https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/compare/3.5.1...3.5.2
Fix PHP 8.4 deprecation notices by @Hlavtox in https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/pull/489
Full Changelog: https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/compare/3.5.0...3.5.1
Fix TypeScript error when verbatimModuleSyntax is enabled by @NilsMinten in https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/pull/476
Full Changelog: https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/compare/3.4.1...3.5.0
fix: do not use BannerPlugin but newer webpack-inject-plugin instead to fix vulnerability
Allow Symfony 7.0 (https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/pull/471) fix: remove webpack-inject-plugin dependency (https://github.com/F
Allow Symfony 7.0 (https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/pull/471) fix: remove webpack-inject-plugin dependency (https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/pull/464) Docs only: remove $ so gitclip works (https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/pull/472) Docs only: Update console note (https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/pull/463)
Deprecation fixes (PHP 8 (https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/pull/451) and Symfony 6.3 (https://github.com/FriendsOfSymfony/FOSJsR…
fix for webpack plugin: fosRoute.json dir created at root
…Handle nullable route defaults Fix Symfony 6.1 deprecations
[BC break] Use Symfony Flex default path. Will break if you're still using the web directory and not defining the path Add webpack plugin to automatically load the routes with no user interactions Changed ExposedRoutesExtractor to handle mkdir warnings Handle nullable route defaults Fix Symfony 6.1 deprecations
web directory and not defining the path (#433)Allow willdurand/jsonp-callback-validator v2 (#430) Use latest PHP 8.0 features
Improve documentation for dump command when using locales
Migrate router implementation to TS
Replace Travis with Github actions
- Add support for PHP 8
[BC break] Fix URL encoding to mimic Symfony URL Generator (this might change behavior for special characters, it should be in line with Symfony Route
Fix duplicated port in absolute path
Rervert fall back to current domain when baseurl is missing or empty in json
Fall back to current domain when baseurl is missing or empty in json
[BC break] Fix root dir deprecation and fix PHP 7.4 deprecation (drops Symfony < 3.3 support)
[BC break] Fix root dir deprecation and fix PHP 7.4 deprecation (drops Symfony < 3.3 support) (#369)
[BC break] Add support for Symfony 5, drop support for PHP5, drop support for Symfony 2 (#366) Fix absolute url generation including ports (#361) Fix
[BC break] Add support for Symfony 5, drop support for PHP5, drop support for Symfony 2 (#366) Fix absolute url generation including ports (#361) Fix cache for exposed routes in debug mode (#362)
Add Symfony 4.1 localized routes support (#334) Add documentation remarks on JMSI18nRoutingBundle compatibility
Add Symfony 4.1 localized routes support (#334) Add documentation remarks on JMSI18nRoutingBundle compatibility (#352)
Fix regex pattern to match whole url pattern (#350) Small documentation update
Fix regex pattern to match whole url pattern (#350) Small documentation update
Add routing-sf4.xml to move towards Symfony >4.1 syntax
Add setRoutingData to typescript definition
full changeset https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/compare/2.2.0...2.2.1
full changeset https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/compare/2.2.0...2.2.1
Refactor JavaScript code to improve webpack compatibility
- Fix SF <4 compatibility
Fix bug denormalizing empty routing collections from cache
See CHANGELOG.md for significant changes
See CHANGELOG.md for significant changes
--pretty-print option to fos:js-routing:dump-command, making the resulting javascript pretty-printedlocale parameterDue to numerous contributions that have been merged over the last 2 years in the master branch, this very first, very unstable, release starts the rel
Hi!
Due to numerous contributions that have been merged over the last 2 years in the master branch, this very first, very unstable, release starts the release cycle of the upcoming 2.0 major version. Things changed a lot between the initial plan, and what has been actually done, but there are a few interesting changes though.
Note that branch 1.x has been merge in master, so everything that is part of 1.x is also part of 2.x.
locale parameter automaticallyConfigCache::getPath() instead of __toString() methodRouteCollection and RoutesResponseSecurity- and bugfixes from master backported to 1.x
Security- and bugfixes from master backported to 1.x
Compare
Compare
⚠️ Please use version 1.6.2
⚠️ Please use version 1.6.2
Fixed: deprecation notice at routing.xml
Aloha, and sorry for the too long delay... This release provides support for Symfony 3.0+ (older Symfony versions should still work though). Cheers!
routing.xmlConfigCache::__toString() is deprecated in favor of getPath() as of Symfony 2.7Fixed the compatibility with the router:debug command of Symfony 2.6+ by resetting the aliases properly when extending the class to avoid replacing th
router:debug command of Symfony 2.6+ by resetting the aliases properly when extending the class to avoid replacing the core commandFixed the debug command to be compatible with FrameworkBundle 2.4+
This bugfix release fixes a bug introduced in release 1.5.1.
This bugfix release fixes a bug introduced in release 1.5.1.
Nothing published for this version
Only the routes are cached now, everything else is included dynamically
Documentation has been rewritten
minimum-stability from dev to stableUse JsonCallbackValidator library.
Use JsonCallbackValidator library.
Prevent XSS attack through the JSONP callback. A CallbackValidator now validates the callback value. If it is not valid, a HttpException is thrown (st
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?
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!
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.