Skip to content

Releases: embroider-build/embroider

v3.1.3-compat: Merge pull request #1497 from embroider-build/release-prep

30 Jun 04:34
@ef4 ef4
229045b
Compare
Choose a tag to compare

Release (2023-06-30)

@embroider/compat 3.1.3 (patch)
@embroider/core 3.1.1 (patch)
@embroider/macros 1.12.1 (patch)
@embroider/shared-internals 2.2.1 (patch)
@embroider/webpack 3.1.1 (patch)

🐛 Bug Fix

  • core, shared-internals
    • #1495 Eagerly virtualize emberVirtualPackages (@ef4)
  • shared-internals
    • #1493 Fix rewritten-package-cache when app has symlink to node_modules (@ef4)

🏠 Internal

  • Other
    • #1496 Unskip some core-resolver tests (@ef4)
  • shared-internals
    • #1494 Make proxied rewritten-package-cache methods clearer (@ef4)

Committers: 1

  • Edward Faulkner (@ef4)

v3.1.2-compat: Merge pull request #1490 from embroider-build/release-prep

29 Jun 18:42
@ef4 ef4
8e0a473
Compare
Choose a tag to compare

Release (2023-06-29)

@embroider/compat 3.1.2 (patch)

🐛 Bug Fix

  • compat
    • Previous release was published incorrectly.

v3.1.1-compat: Merge pull request #1489 from embroider-build/release-prep

29 Jun 16:53
02a1fbc
Compare
Choose a tag to compare

Release (2023-06-29)

@embroider/compat 3.1.1 (patch)

🐛 Bug Fix

  • compat
    • #1488 fix this.import from node_modules in v1 addons (@mansona)

Committers: 1

v3.1.0-compat: Merge pull request #1484 from embroider-build/release-prep

28 Jun 21:29
@ef4 ef4
9f97d6e
Compare
Choose a tag to compare

Release (2023-06-28)

@embroider/compat 3.1.0 (minor)
@embroider/core 3.1.0 (minor)
@embroider/macros 1.12.0 (minor)
@embroider/router 2.1.2 (patch)
@embroider/shared-internals 2.2.0 (minor)
@embroider/webpack 3.1.0 (minor)

🚀 Enhancement

  • compat, core, macros, shared-internals, webpack
    • #1435 Eliminate node_modules rewriting (@ef4)

🐛 Bug Fix

🏠 Internal

Committers: 4

v3.0.2-compat: Merge pull request #1470 from embroider-build/prepare-release

13 Jun 16:32
@ef4 ef4
65632a7
Compare
Choose a tag to compare

Release (2023-06-13)

@embroider/compat 3.0.2 (patch)
@embroider/core 3.0.2 (patch)
@embroider/macros 1.11.1 (patch)

🐛 Bug Fix

  • core
    • #1463 fix resolution of files with .hbs extensions (@ef4)
  • macros
    • #1468 macroCondition: do branch elimination if no runtime impl. is involved (@simonihmig)
  • compat
    • #1412 WriteV1Config: fix /tests support (@22a)

🏠 Internal

  • #1469 update deprecated (and removed) blacklist config in test app (@mansona)

Committers: 5

v3.1.1-addon-dev: Merge pull request #1461 from embroider-build/release-prep

06 Jun 15:52
@ef4 ef4
47e7548
Compare
Choose a tag to compare

Release (2023-06-05)

@embroider/addon-dev 3.1.1 (patch)
@embroider/compat 3.0.1 (patch)
@embroider/core 3.0.1 (patch)
@embroider/router 2.1.1 (patch)
@embroider/util 1.11.1 (patch)

🐛 Bug Fix

  • compat
    • #1460 expanding EmptyPackage contents (@ef4)
  • addon-dev
    • #1423 Do not write package.json when there are no changes (affects addon.appReexports() and addon.publicAssets()) (@NullVoxPopuli)
    • #1446 Revert "Run the clean plugin of addon-dev as late as possible" (@mansona)
    • #1450 [bugfix] Ensured that normalizeFileExt ignores .css.d.ts files (@ijlee2)
    • #1447 fix keepAssets corrupting image files (@mansona)
  • compat, core
  • addon-dev, router
    • #1449 [bugfix] Set output.experimentalMinChunkSize to 0, to counter a change in rollup@3.22.0 (@ijlee2)
  • util

📝 Documentation

🏠 Internal

Committers: 7

v3.0.1-test-setup: Merge pull request #1437 from embroider-build/release-infra-update

18 May 17:34
@ef4 ef4
8f4cd85
Compare
Choose a tag to compare

Release (2023-05-18)

@embroider/test-setup 3.0.1 (patch)

🐛 Bug Fix

  • test-setup
    • #1436 prevent double ^ when using embroider test-setup (@mansona)

🏠 Internal

Committers: 2

Release 2023-05-17

17 May 21:18
@ef4 ef4
c6b5612
Compare
Choose a tag to compare

Release (2023-05-17)

@embroider/addon-dev 3.1.0 (minor)
@embroider/addon-shim 1.8.5 (patch)
@embroider/babel-loader-8 3.0.0 (major)
@embroider/compat 3.0.0 (major)
@embroider/core 3.0.0 (major)
@embroider/hbs-loader 3.0.0 (major)
@embroider/macros 1.11.0 (minor)
@embroider/router 2.1.0 (minor)
@embroider/shared-internals 2.1.0 (minor)
@embroider/test-setup 3.0.0 (major)
@embroider/util 1.11.0 (minor)
@embroider/webpack 3.0.0 (major)

💥 Breaking Change

🚀 Enhancement

  • addon-dev, router
    • #1419 Test against ember preview types (@ef4)
  • macros
  • shared-internals
  • core
  • compat, core, webpack
  • compat, shared-internals
    • #1372 restore component invokes rules support (@ef4)
  • util
  • compat
    • #1369 Add semverRange <=4.11.0 for ember-data (@mkszepp)
    • #1362 clarify which package rules apply inside vs outside a component (@ef4)
    • #1352 reinstate logic around parsing of invokes packageRules (@void-mAlex)
    • #1343 Fix @babel/core version check to support ember-cli-babel v8 (@bertdeblock)
  • addon-dev
    • #1368 Add support for keeping public assets and ember-addon.public-assets meta in sync (@phndiaye)
  • core, webpack
  • compat, core, shared-internals, webpack
    • #1339 Layer template resolver on top of module resolver (@ef4)

🐛 Bug Fix

📝 Documentation

🏠 Internal

Committers: 12

Read more

Release 2022-11-28.0

28 Nov 18:12
@ef4 ef4
Compare
Choose a tag to compare

@embroider/compat, @embroider/core, @embroider/test-setup, @embroider/webpack 2.0.0 -> 2.0.1

  • BUGFIX: 2.0.0 broke template-only components in addons with custom AST transforms 1294, 1295

Release 2022-11-23.0

23 Nov 18:55
@ef4 ef4
Compare
Choose a tag to compare

Release 2022-11-23.0

@embroider/addon-dev 2.0.0 -> 3.0.0

  • BREAKING: @embroider/addon-template/template-transform-plugin is removed
    because babel-plugin-ember-template-compilation >= 2.0.0 now directly supports
    source-to-source transformation.

    This plugin was used to run any custom AST transformations on your templates before publishing. To replace it:

    1. Add babel-plugin-ember-template-compilation@^2.0.0 as a devDependency.

    2. Make sure you also have a devDependency on ember-source, so we have a template compiler.

    3. Update the babel config like:

      plugins: [
      -   [
      -     '@embroider/addon-dev/template-transform-plugin',
      -     {
      -       astTransforms: [
      -         ...yourPluginsHere
      -       ]
      -     }
      -   ],
      +   [
      +     'babel-plugin-ember-template-compilation',
      +     {
      +       compilerPath: 'ember-source/dist/ember-template-compiler',
      +       targetFormat: 'hbs',
      +       transforms: [
      +         ...yourPluginsHere
      +        ]
      +     }
      +   ]
      ]

    See https://github.com/emberjs/babel-plugin-ember-template-compilation for the complete docs on these options.

@embroider/addon-shim: 1.8.3 -> 1.8.4

  • BUGFIX: Add missing dependency 1282

@embroider/babel-loader-8 1.9.0 -> 2.0.0

  • ENHANCEMENT: remove forced optional-chaining and nullish-coalescing-operator babel plugins 1270
  • BREAKING: peerDep on @embroider/core 2.0

@embroider/compat 1.9.0 -> 2.0.0

  • BREAKING: Drop support for Ember < 3.28 1246. See details in the @embroider/core section of these release notes.
  • BUGFIX: don't generate .js compnent stubs for .ts components 1273
  • BUGFIX: several windows-specific issues were caught and fixed when we ported our remaining test suite to run on both unix and windows.

@embroider/core 1.9.0 -> 2.0.0

  • DOCS: document how to work with test scenarios 1283

  • BUGFIX: Defend against infinite loop on broken babel config 1277

  • BUGFIX: allow v2 addons to use app tree fallback resolution 1278

  • BREAKING: Drop support for Ember < 3.28 1246

    This allows us to rely on:

    • first-class components, helpers, and modifiers

    • template lexical scope

    • the lack of the old modules-api-polyfill

      which greatly simplifies the build.

  • ENHANCEMENT: Simplified template compilation pipeline 1242, 1276

    Uses babel-plugin-ember-template-compilation 2.0, which offers new capabilities to AST transform authors that better unlock the power of strict mode templates.

  • ENHANCEMENT: For most invocations of components, helpers, and modifiers when staticComponents, staticHelpers, and staticModifiers settings are enabled, we now entirely bypass the AMD loader using template lexical scope. This results in less work at runtime and slightly smaller code.

  • BREAKING: The above feature won't have any breaking effects in the vast majority of apps that are doing things correctly. But I'm calling this out as potentially breaking because you may be accidentally relying on the loose old behaviors:

    1. Using a component in one place would cause it to become globally available to the AMD loader after that point. This would let string-based component resolution work when it actually shouldn't have (if you are resolving strings into components at runtime, you can't use staticComponents mode).

    2. If you have multiple copies of an addon, which copy would get invokved from a given template was hard to predict before, now each one will definitely see it's own dependency.

  • INTERNALS: re-enable engines tests 1281

@embroider/hbs-loader 1.9.0 -> 2.0.0

  • ENHANCEMENT: expose backward-compatible moduleName support
  • BREAKING: peerDep on @embroider/core 2.0

@embroider/macros 1.9.0 -> 1.10.0

  • BUGFIX: template macros could have pre-moved appRoot in their packageCache

  • ENHANCEMENT: expose simplified transforms API for use with babel-plugin-ember-template-compilation

    Previously, we used MacrosConfig.astTransforms() which gave you transforms in
    the reverse order they were expected to run, for compatibility with the wacky
    ordering in class ember-cli-htmlbars. Now we also offer MacrosConfig.transforms() which provides them in a format compatible directly with babel-plugin-ember-template-compilation 2.0, which uses the more natural order and which supports plugins-as-strings-to-be-loaded in addition to just plain functions.

@embroider/router: 1.9.0 -> 2.0.0

  • BREAKING: peerDep on @embroider/core 2.0
  • BREAKING: converted to a v2 addon, so consuming apps must have ember-auto-import >= 2.0.0.

@embroider/shared-internals: 1.8.3 -> 2.0.0

  • BUGFIX: several windows-specific issues were caught and fixed when we ported our remaining test suite to run on both unix and windows.

  • BREAKING: The second argument to hbsToJS() has changed formats to accomodate new additional options.

    import { hbsToJS } from '@embroider/shared-internals';
    
    -hbsToJS('<SomeTemplate />', 'my-component.hbs');
    +hbsToJS('<SomeTemplate />', { moduleName: 'my-component.hbs' });

@embroider/test-setup: 1.8.3 -> 2.0.0

  • BREAKING test under the new 2.0 releases of @embroider/core et al.

@embroider/webpack 1.9.0 -> 2.0.0

  • BREAKING: Drop support for Ember < 3.28 1246. See details in the @embroider/core section of these release notes.