Releases: rails/importmap-rails
Releases · rails/importmap-rails
v2.1.0
What's Changed
- Adds
bin/importmap pristine
which redownloads pinned packages by @martinemde in #271 - Encapsulate stale_when_importmap_changes method by @dhh in #284
New Contributors
- @martinemde made their first contribution in #271
Full Changelog: v2.0.3...v2.1.0
v2.0.3
What's Changed
- Fix compatibility with older Ruby versions @jhawthorn
Full Changelog: v2.0.2...v2.0.3
v2.0.2
What's Changed
- Add package information in vendored package file by @faqndo97 in #227
- Update default provider to use
jspm.io
instead ofjspm
by @josefarias in #234 - Updated module_name regexp to not match incorrect indexes by @Caleb-T-Owens in #238
- Invoke app:template via Rake::Task[].invoke to avoid reloading rakefile by @Caleb-T-Owens in #239
- Handle String response for "find latest version" by @vietqhoang in #246
- Allows preload to be determined by provided entry_point by @aseroff in #253
- Fix ./bin/importmap update by @arni1981 in #262
New Contributors
- @josefarias made their first contribution in #234
- @wakairo made their first contribution in #249
- @Caleb-T-Owens made their first contribution in #238
- @schmijos made their first contribution in #260
- @aseroff made their first contribution in #253
- @arni1981 made their first contribution in #262
- @corneverbruggen made their first contribution in #266
Full Changelog: v2.0.1...v2.0.2
v2.0.1
v2.0.0
What's Changed
This major release includes two potentially backwards-incompatible changes:
- The compatibility shim is no longer included, since all major browsers now natively support import maps. But if you need to support old browsers, like Safari 15, Firefox 75, Chrome 88, you should continue using the 1.x series of this gem.
- Preloading is now the default. So if you have pins that you intend to lazy load, you need to specifically call
preload: false
as part of the pin.
All changes:
- Drop the bundled shim by @dhh in #216
- Pinning should just always download by @dhh in #217
- Preload all by default by @dhh in #218
- Update Impoortmaps::Command#puts_table to be markdown compatible by @faqndo97 in #222
- bin/importmap update by @botandrose in #214
Full Changelog: v1.2.3...v2.0.0
v1.2.3
What's Changed
- Fix using this gem outside of a Rails application by @rafaelfranca
New Contributors
- @rafaelfranca made their first contribution in #201
Full Changelog: v1.2.2...v1.2.3
v1.2.2
What's Changed
- Add single quote support in
importmap.rb
by @vietqhoang in #198 - Remove prepended forward slash when mapping.path is empty by @jsntv200 in #192
New Contributors
- @vietqhoang made their first contribution in #198
- @Rotario made their first contribution in #95
- @jsntv200 made their first contribution in #192
Full Changelog: v1.2.1...v1.2.2
v1.2.1
What's Changed
- Add a packages command to get package info by @dkniffin in #178
- Respect
config.enable_reloading
by @ghiculescu in #172 - Add support for passing a custom importmap to the tag helper by @elia in #187
New Contributors
- @dkniffin made their first contribution in #178
- @ghiculescu made their first contribution in #172
Full Changelog: v1.1.6...v1.2.1
v1.1.6
What's Changed
- Update ES Module Shims to 1.7.2 by @dhh
- Allow single quotes in config/importmaps.rb by @UweKubosch in #147
Full Changelog: v1.1.5...v1.1.6