Skip to content

Releases: rails/importmap-rails

v2.1.0

21 Dec 01:23
@dhh dhh
Compare
Choose a tag to compare

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

Full Changelog: v2.0.3...v2.1.0

v2.0.3

10 Oct 03:47
Compare
Choose a tag to compare

What's Changed

  • Fix compatibility with older Ruby versions @jhawthorn

Full Changelog: v2.0.2...v2.0.3

v2.0.2

05 Oct 00:28
@dhh dhh
Compare
Choose a tag to compare

What's Changed

  • Add package information in vendored package file by @faqndo97 in #227
  • Update default provider to use jspm.io instead of jspm 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

Full Changelog: v2.0.1...v2.0.2

v2.0.1

03 Jan 13:16
@dhh dhh
Compare
Choose a tag to compare

What's Changed

  • Ensure update only runs when there are outdated packages by @dhh

Full Changelog: v2.0.0...v2.0.1

v2.0.0

03 Jan 12:24
@dhh dhh
Compare
Choose a tag to compare

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

27 Oct 14:45
v1.2.3
a070e33
Compare
Choose a tag to compare

What's Changed

  • Fix using this gem outside of a Rails application by @rafaelfranca

New Contributors

Full Changelog: v1.2.2...v1.2.3

v1.2.2

27 Oct 14:42
v1.2.2
93ee463
Compare
Choose a tag to compare

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

Full Changelog: v1.2.1...v1.2.2

v1.2.1

18 Jun 12:09
@dhh dhh
Compare
Choose a tag to compare

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

Full Changelog: v1.1.6...v1.2.1

v1.1.6

23 Apr 12:42
@dhh dhh
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.5...v1.1.6

v1.1.5

15 Jul 19:06
@dhh dhh
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.4...v1.1.5