Skip to content

Releases: tighten/ziggy

v1.0.0

06 Nov 22:39

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

Choose a tag to compare

v0.9.3

08 May 20:05
1cfa5fe

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

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

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

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)

v0.8.1

18 Oct 22:43

Choose a tag to compare

Build Assets.

Laravel 6.0 release

03 Sep 14:45

Choose a tag to compare

This release adds compatibility with Laravel 6.0. Thanks to @victorlap and @ankurk91 for their pull requests included in this release.

v0.7.1

26 Apr 22:04

Choose a tag to compare

Built version of v0.7.0 (sorry!)

Release notes for v0.7.0:

This release includes the following changes:

  • Fix current() method returning undefined if it doesn't include an optional parameter (PR #201 from @s-widerberg)
  • Optionally include middleware to routes collection, if middleware key is set in Laravel's config/ziggy (PR #199 from @jes490)
  • Fix a low severity vulnerability with the lodash package, a dependency of other packages (PR #210 from @DanielCoulbourne)
  • Fix issue #200 where current() was returning undefined for the base route (inadvertently fixed with PR #201)

v0.7.0

26 Apr 22:02
5c06ee2

Choose a tag to compare

This release includes the following changes:

  • Fix current() method returning undefined if it doesn't include an optional parameter (PR #201 from @s-widerberg)
  • Optionally include middleware to routes collection, if middleware key is set in Laravel's config/ziggy (PR #199 from @jes490)
  • Fix a low severity vulnerability with the lodash package, a dependency of other packages (PR #210 from @DanielCoulbourne)
  • Fix issue #200 where current() was returning undefined for the base route (inadvertently fixed with PR #201)