Skip to content

Releases: tonysm/importmap-laravel

2.3.1

13 Mar 01:34
ff2019e
Compare
Choose a tag to compare

What's Changed

  • Skip adding the <x-importmap::tags /> component to layouts if they already exist in ff2019e

Full Changelog: 2.3.0...2.3.1

2.3.0

13 Mar 01:33
c77bb16
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.2.0...2.3.0

2.2.0

06 Mar 02:34
7c90c16
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.1.4...2.2.0

2.1.2

23 Feb 01:34
ce30470
Compare
Choose a tag to compare

What's Changed

  • Read typo fixes by @emaia in #52
  • Update the install command to either replace the vite directive or append the importmap tags before the closing head tag by @tonysm in ce30470

New Contributors

  • @emaia made their first contribution in #52

Full Changelog: 2.0.3...2.1.2

2.1.1

05 Feb 00:02
34ecbc3
Compare
Choose a tag to compare

What's Changed

  • Fix outdated command breaks on previous comment format by @tonysm in #50

Full Changelog: 2.1.0...2.1.1

2.1.0

04 Feb 22:09
0cfdcb1
Compare
Choose a tag to compare

What's Changed

  • New importmap:update command and store CDN URL with package name and version in vendor comment by @tonysm in #49

Full Changelog: 2.0.1...2.1.0

2.0.1

02 Feb 23:01
4e17a78
Compare
Choose a tag to compare

What's Changed

  • Fix: Prevent Type Error: Unsupported operand types: null + array by @JunaidQadirB in #48
  • Fix: Optimize command wasn't working when specifying public vendor lib starting with a forward slash (/vendor/my-lib.js, for instance) 4e17a78
  • Fix: Digest wasn't being applied on public vendor libs when starting with a forward slash either 139b788

New Contributors

Full Changelog: 2.0.0...2.0.1

2.0.0

07 Jan 17:16
f37c9b5
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.8.3...2.0.0


Upgrade Guide

The pinned imports to CDN URLs will still work, but I recommend you re-pin them now and host them yourself (we're now always downloading vendor libs to resources/js/vendor/).

The <x-importmap-tags /> component has changed to <x-importmap::tags /> so you can run the following command to replace all occurrences of the previous component name in your layout files:

sed -i 's/x-importmap-tags/x-importmap::tags/g' resources/**/*.php

Also, ensure you have php artisan view:cache in your deployment script.

2.0.0-beta1

07 Jan 16:11
f37c9b5
Compare
Choose a tag to compare
2.0.0-beta1 Pre-release
Pre-release

What's Changed

Full Changelog: 1.8.1...2.0.0-beta1

1.8.1

24 Nov 01:52
d32c41d
Compare
Choose a tag to compare

Changelog

  • FIX: Fixes the failed to fix import statement event name (d32c41d)