Skip to content

Releases: tighten/ziggy

v1.0.4

06 Dec 22:09
Compare
Choose a tag to compare
  • Fix bug where route().current() could incorrectly return true on URLs with no parameters (#377)
  • Fix several other bugs in route().current() with params (#379)
  • Revert #334, default Ziggy's url back to url('/') instead of the APP_URL environment variable (#386)

v1.0.3

21 Nov 01:33
aa8a5bb
Compare
Choose a tag to compare
  • Fix cached routes with random names being included (#370)
  • Fix JavaScript built-in method name collision by casting empty defaults to an object (#371)

v1.0.2

13 Nov 21:44
Compare
Choose a tag to compare
  • Make ziggy:generate URL behaviour consistent with Ziggy class and Blade directive (#361)
  • Fix route().current() error on unknown/unnamed routes (#362)

v1.0.1

10 Nov 22:03
Compare
Choose a tag to compare
  • Fix route().current() on routes at the domain root (#356)

v1.0.0

06 Nov 22:39
Compare
Choose a tag to compare

Ziggy 1 has arrived!

v1.0.0 includes significant changes and improvements. Huge thanks to everyone who contributed to this release, including Somethingideally, Livijn, davejamesmiller, DanielCoulbourne, ankurk91, and benallfree.

For detailed instructions on how to update your projects to v1.0.0, take a look at the Upgrade Guide, and for a complete list of changes, check out the Changelog.

v0.9.4

05 Jun 14:50
Compare
Choose a tag to compare

v0.9.3

08 May 20:05
1cfa5fe
Compare
Choose a tag to compare
  • Ensure Ziggy's assets are always generated in the correct location (#290)
  • Add support for passing a CSP nonce attribute to the @routes Blade directive to be set on the script tag, thanks @tminich! (#287)
  • Improve support for using Ziggy with server-side rendering, thanks @emielmolenaar! (#260)
  • Avoid resolving the Blade compiler unless necessary, thanks @axlon! (#267)
  • Use dist/js/route.js as the npm package's main target, thanks @ankurk91 and @benallfree! (#276)
  • Readme and quality-of-life improvements (#289)

v0.9.2

01 May 20:15
8ec9980
Compare
Choose a tag to compare

This release adds support for Ziggy being distributed as an npm package under ziggy-js.

See #277 (thanks @benallfree!) and #286.

v0.9.1

24 Apr 22:05
c490b70
Compare
Choose a tag to compare

This patch release includes:

  • Converting the $generated property visibility in BladeRouteGenerator from private to public (from #279, thanks @tkrause!)
  • Switch from Travis to GitHub Actions
  • Bump version of acorn to 6.4.1 (from #274, thanks @dependabot!)
  • Fix handling of null optional parameter (from #280, thanks @nanaya!)

v0.9.0 Add --group option and support for Laravel 7.x

02 Mar 22:30
Compare
Choose a tag to compare

Ziggy now supports all versions of Laravel from 5.4 to 7.x

Also included:

  • A new --group option to the generated routes command (thanks @mpskovvang)
  • A small note in the docs about CSRF when using axios calls (thanks @dabernathy89)