Releases: embroider-build/embroider
v3.1.3-compat: Merge pull request #1497 from embroider-build/release-prep
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
shared-internals
🏠 Internal
- Other
shared-internals
Committers: 1
- Edward Faulkner (@ef4)
v3.1.2-compat: Merge pull request #1490 from embroider-build/release-prep
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
v3.1.0-compat: Merge pull request #1484 from embroider-build/release-prep
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
🐛 Bug Fix
compat
- #1481 Properly serialize options (@chancancode)
core
- #1365 Prevent HTML-escaping of module specifiers (@simonihmig)
🏠 Internal
compat
,core
,shared-internals
- Other
- #1480 pinning "release" scenarios to ember-source 5.0 (@ef4)
- #1473 Bring back the addon watch tests, and use the rollup.watch JS API (@NullVoxPopuli)
- #1477 Allow manual ci running (@NullVoxPopuli)
- #1454 Refactor scenario helpers to a shared location (@NullVoxPopuli)
router
Committers: 4
- Edward Faulkner (@ef4)
- Simon Ihmig (@simonihmig)
- Wandrille Verlut (@wandroll)
- @NullVoxPopuli
v3.0.2-compat: Merge pull request #1470 from embroider-build/prepare-release
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
macros
- #1468 macroCondition: do branch elimination if no runtime impl. is involved (@simonihmig)
compat
🏠 Internal
Committers: 5
- Chris Manson (@mansona)
- Edward Faulkner (@ef4)
- Peter Meehan (@22a)
- Robert Jackson (@rwjblue)
- Simon Ihmig (@simonihmig)
v3.1.1-addon-dev: Merge pull request #1461 from embroider-build/release-prep
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
addon-dev
- #1423 Do not write package.json when there are no changes (affects
addon.appReexports()
andaddon.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)
- #1423 Do not write package.json when there are no changes (affects
compat
,core
- #1443 linkto routable engine path in host app (@void-mAlex)
addon-dev
,router
util
- #1451 Use
typeof
inEmbroiderUtilRegistry
(@bertdeblock)
- #1451 Use
📝 Documentation
- #1349 Add a document about pnpm monorepo error (@mansona)
- #1458 Add compatible Ember version to README.md (@EWhite613)
🏠 Internal
- #1444 clean up patch-package which was introduced with changeset-recover th… (@void-mAlex)
- #1440 release preview workflow (@NullVoxPopuli)
Committers: 7
- Alex (@void-mAlex)
- Bert De Block (@bertdeblock)
- Chris Manson (@mansona)
- Edward Faulkner (@ef4)
- Eric White (@EWhite613)
- Isaac Lee (@ijlee2)
- @NullVoxPopuli
v3.0.1-test-setup: Merge pull request #1437 from embroider-build/release-infra-update
Release (2023-05-18)
@embroider/test-setup 3.0.1 (patch)
🐛 Bug Fix
🏠 Internal
- #1433 Make preflight error when suite-setup-util fails (@NullVoxPopuli)
Committers: 2
- Chris Manson (@mansona)
- @NullVoxPopuli
Release 2023-05-17
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
- See Upgrade Guide https://github.com/embroider-build/embroider/blob/main/docs/upgrade-guides.md#embroidercore-2x---3x
compat
,core
,webpack
🚀 Enhancement
addon-dev
,router
macros
shared-internals
- #1396 Add @ember/owner to emberVirtualPackages (@NullVoxPopuli)
core
compat
,core
,webpack
compat
,shared-internals
util
- #1367 Improve types of
ensure-safe-component
helper (@simonihmig)
- #1367 Improve types of
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 supportember-cli-babel
v8 (@bertdeblock)
addon-dev
core
,webpack
compat
,core
,shared-internals
,webpack
🐛 Bug Fix
test-setup
util
compat
,router
- Other
- #1424 Fix CI by upgrading ts-node (@NullVoxPopuli)
- #1381 add tests for helper name collisions with html elements or js keywords (@void-mAlex)
core
,webpack
- #1391 only rehome a request if it would resolve in a different package (@void-mAlex)
- #1346 Bugfix: inconsistent handling of webpack virtual modules (@ef4)
webpack
- #1403 Remove deprecated dependency @types/source-map (@francois2metz)
- #1359 Ignore resolve requests that start with ! (@mansona)
compat
- #1383 Rename strict flag to strictMode (@NullVoxPopuli)
- #1386 Fix
Maximum call stack size exceeded
error (@simonihmig) - #1347 fix resolver bugs around package rules (@void-mAlex)
- #1342 restore original ts extension priority (@ef4)
- #1340 Static helpers and static modifiers transform fixes (@void-mAlex)
shared-internals
addon-shim
📝 Documentation
addon-dev
,util
macros
- Other
🏠 Internal
router
- Other
- #1430 Remove changeset, as @ef4 has some custom release tooling coming (@NullVoxPopuli)
- #1409 Use a custom changelog line generator function to avoid adding meaningless changelog entries (@NullVoxPopuli)
- #1407 Enable changelog generation (@NullVoxPopuli)
- #1406 Release prep (@ef4)
- #1405 Upgrade changeset-recover (@NullVoxPopuli)
- #1398 Add prepare changelog workflow to automatically propose what should be in sync for us (@NullVoxPopuli)
- #1401 Add relevant changesets for the upcoming release and evaluate their impact (@NullVoxPopuli)
- #1392 Allow running publish-unstable on workflow_dispatch (@NullVoxPopuli)
- #1393 continue deploying unstable packages even with an error (@mansona)
- #1395 Revving yarn.lock (@ef4)
- #1389 bump unstable versions by at least a patch (@mansona)
- #1390 Change namespace for publish-unstable cancel-in-progress (@backspace)
- #1364 Unstable release sync with main (@NullVoxPopuli)
- #1345 Update release workflow (@NullVoxPopuli)
addon-dev
,addon-shim
,babel-loader-8
,compat
,core
,hbs-loader
,macros
,router
,shared-internals
,util
,webpack
addon-dev
,addon-shim
,compat
,core
,hbs-loader
,macros
,router
,shared-internals
,util
,webpack
compat
,core
,macros
,router
,shared-internals
,test-setup
,util
,webpack
util
- #1388 Enable prettier in ci (@NullVoxPopuli)
Committers: 12
- Alex (@void-mAlex)
- Bert De Block (@bertdeblock)
- Buck Doyle (@backspace)
- Chris Manson ([@mansona](ht...
Release 2022-11-28.0
Release 2022-11-23.0
Release 2022-11-23.0
@embroider/addon-dev
2.0.0 -> 3.0.0
-
BREAKING:
@embroider/addon-template/template-transform-plugin
is removed
becausebabel-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:
-
Add
babel-plugin-ember-template-compilation@^2.0.0
as a devDependency. -
Make sure you also have a devDependency on
ember-source
, so we have a template compiler. -
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
, andstaticModifiers
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:
-
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). -
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 offerMacrosConfig.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.