Skip to content

Latest commit

 

History

History
2629 lines (1931 loc) · 133 KB

CHANGELOG.md

File metadata and controls

2629 lines (1931 loc) · 133 KB

Embroider Changelog

Release (2024-04-18)

@embroider/compat 3.4.8 (patch) @embroider/core 3.4.8 (patch) @embroider/macros 1.16.0 (minor) @embroider/test-setup 4.0.0 (major) @embroider/webpack 4.0.0 (major)

💥 Breaking Change

  • @embroider/webpack
    • #1868 Adjusting @embroider/webpack to use @babel/preset-env to avoid critical security audit (@lupestro)

🚀 Enhancement

  • @embroider/macros, @embroider/test-fixtures
    • #1858 Add support for {{unless}} to the macroCondition macro (@Windvis)

🐛 Bug Fix

  • @embroider/core, @embroider/test-scenarios
    • #1885 Fix pre support in portable babel launcher (@ef4)

Committers: 3

Release (2024-04-10)

@embroider/addon-dev 4.3.1 (patch)

🐛 Bug Fix

  • @embroider/addon-dev, @embroider/test-scenarios
    • #1874 with namespace in publicAssets don't include path (@mansona)

Committers: 1

Release (2024-04-10)

@embroider/addon-dev 4.3.0 (minor) @embroider/compat 3.4.7 (patch) @embroider/core 3.4.7 (patch) @embroider/macros 1.15.1 (patch) @embroider/shared-internals 2.6.0 (minor) @embroider/webpack 3.2.3 (patch)

🚀 Enhancement

  • @embroider/addon-dev, @embroider/shared-internals, @embroider/test-scenarios
  • @embroider/addon-dev, @embroider/test-scenarios
    • #1867 add a namespace option for public-assets plugin (@mansona)

🏠 Internal

  • Other
  • @embroider/compat, @embroider/test-scenarios
    • #1806 resolver transform to emit imports for helper and modifiers that need… (@void-mAlex)

Committers: 3

Release (2024-03-07)

@embroider/compat 3.4.6 (patch) @embroider/core 3.4.6 (patch) @embroider/macros 1.15.0 (minor) @embroider/util 1.13.0 (minor)

🚀 Enhancement

  • @embroider/macros, @embroider/util

🐛 Bug Fix

  • @embroider/macros
    • #1838 make sure @embroider/macros doesn't try to load a babel config (@mansona)

Committers: 2

Release (2024-02-28)

@embroider/compat 3.4.5 (patch) @embroider/core 3.4.5 (patch) @embroider/macros 1.14.0 (minor)

🚀 Enhancement

🏠 Internal

Committers: 2

Release (2024-02-05)

@embroider/addon-dev 4.2.1 (patch)

🐛 Bug Fix

Committers: 1

Release (2024-02-01)

@embroider/addon-dev 4.2.0 (minor) @embroider/compat 3.4.4 (patch) @embroider/core 3.4.4 (patch) @embroider/macros 1.13.5 (patch) @embroider/shared-internals 2.5.2 (patch) @embroider/webpack 3.2.2 (patch)

🚀 Enhancement

  • @embroider/addon-dev, @embroider/test-scenarios
    • #1785 Backport #1760 to stable: Add exclude option to appReexports and publicEntrypoints rollup plugins (@simonihmig)
    • #1777 Backport #1642 to stable: Allow for more flexible addon-dev appReexports (@simonihmig)

🐛 Bug Fix

  • @embroider/core, @embroider/shared-internals, @embroider/test-scenarios
    • #1762 Fix incorrect ownerOfFile at root of filesystem (@ef4)
  • @embroider/shared-internals
    • #1758 Make template-colocation-plugin idempotent (@ef4)

🏠 Internal

  • @embroider/test-scenarios

Committers: 2

Release (2023-12-23)

@embroider/compat 3.4.3 (patch)

🐛 Bug Fix

  • @embroider/compat, @types/ember-cli
    • #1743 Don't rely on htmlbars internals (@ef4)

🏠 Internal

Committers: 2

Release (2023-12-13)

@embroider/compat 3.4.2 (patch)

🐛 Bug Fix

  • @embroider/compat
    • #1717 Always load ember-testing package eagerly (@ef4)

Committers: 1

  • Edward Faulkner (@ef4)

Release (2023-12-13)

@embroider/addon-dev 4.1.3 (patch) @embroider/compat 3.4.1 (patch) @embroider/core 3.4.3 (patch) @embroider/macros 1.13.4 (patch)

🐛 Bug Fix

  • @embroider/macros
  • @embroider/compat
    • #1706 Support engine's lazyLoading boolean config (@fengb)
  • @embroider/addon-dev

🏠 Internal

Committers: 5

Release (2023-11-28)

@embroider/compat 3.4.0 (minor) @embroider/reverse-exports 0.1.0 (minor) @embroider/router 2.1.6 (patch)

🚀 Enhancement

  • reverse-exports
  • compat
    • #1673 allow apps to disable the decorator transforms (@ef4)

🐛 Bug Fix

  • router
    • #1684 Workaround typescript regression in router package (@ef4)
  • reverse-exports
    • #1676 fix single asterisk replacement in reverse-exports (@mansona)

🏠 Internal

Committers: 3

Release (2023-11-16)

@embroider/core 3.4.2 (patch)

🐛 Bug Fix

Committers: 1

Release (2023-11-15)

@embroider/compat 3.3.1 (patch) @embroider/core 3.4.1 (patch)

🐛 Bug Fix

  • core
    • #1664 reorder extension precedence when searching app-js and fastboot-js trees (@ef4)
    • #1661 Fix html clearing on rebuild (@ef4)

🏠 Internal

  • Other
    • #1666 unpin json-stable-stringify (@mansona)
    • #1662 Workaround ember-cli-fastboot misuse of json-stable-stringify (@ef4)
  • compat, core
    • #1663 adjust moved-package-target for namespaced packages (@ef4)

Committers: 2

Release (2023-11-11)

@embroider/addon-dev 4.1.2 (patch) @embroider/addon-shim 1.8.7 (patch) @embroider/babel-loader-9 3.1.1 (patch) @embroider/compat 3.3.0 (minor) @embroider/core 3.4.0 (minor) @embroider/hbs-loader 3.0.3 (patch) @embroider/macros 1.13.3 (patch) @embroider/router 2.1.5 (patch) @embroider/shared-internals 2.5.1 (patch) @embroider/test-setup 3.0.3 (patch) @embroider/util 1.12.1 (patch) @embroider/vite 0.2.0 (minor) @embroider/webpack 3.2.1 (patch)

🚀 Enhancement

🐛 Bug Fix

📝 Documentation

🏠 Internal

Committers: 7

Release (2023-10-06)

@embroider/compat 3.2.3 (patch)

🐛 Bug Fix

  • compat
    • #1622 use realpath of engine's route when building resolver.json (@mansona)

🏠 Internal

Committers: 2

Release (2023-09-29)

@embroider/addon-dev 4.1.1 (patch) @embroider/babel-loader-9 3.1.0 (minor) @embroider/compat 3.2.2 (patch) @embroider/core 3.3.0 (minor) @embroider/macros 1.13.2 (patch) @embroider/router 2.1.4 (patch) @embroider/shared-internals 2.5.0 (minor) @embroider/test-setup 3.0.2 (patch) @embroider/vite 0.1.3 (patch) @embroider/webpack 3.2.0 (minor)

🚀 Enhancement

  • shared-internals
    • #1612 performance: cache existsSync results in PackageCache.ownerOfFile (@raycohen)
    • #1608 performance: cache realpathSync access in package-cache.get (@raycohen)
  • core
    • #1611 performance: avoid paying decodeFastbootSwitch regex cost unless needed (@raycohen)
  • babel-loader-9, webpack

🐛 Bug Fix

  • webpack
    • #1597 Fix HTML content failing to update (@ef4)
  • shared-internals
    • #1609 Fix WrappedPackage caching for app (@ef4)
  • addon-dev
    • #1600 Fix relative import path of assets for non-entrypoint modules (@simonihmig)
  • compat
    • #1582 ember-source compat adapter should not use an app-provided babel config if one is present (@void-mAlex)
    • #1580 stop ember-composable-helpers searching for babel configs (@mansona)

📝 Documentation

🏠 Internal

  • addon-dev, compat, core, macros, router, shared-internals, test-setup, vite, webpack
  • Other

Committers: 6

Release (2023-08-02)

@embroider/addon-dev 4.1.0 (minor) @embroider/vite 0.1.2 (patch)

🚀 Enhancement

  • addon-dev
    • #1448 Add the ability to customise rollup-plugin-clean's config (@mansona)

🏠 Internal

Committers: 1

Release (2023-08-02)

@embroider/addon-dev 4.0.0 (major) @embroider/babel-loader-8 3.0.1 (patch) @embroider/compat 3.2.1 (patch) @embroider/core 3.2.1 (patch) @embroider/macros 1.13.1 (patch) @embroider/shared-internals 2.4.0 (minor) @embroider/vite 0.1.1 (patch) @embroider/webpack 3.1.5 (patch)

💥 Breaking Change

  • addon-dev
    • #1558 Simplification of gjs and hbs handling in addon-dev (@ef4)

🚀 Enhancement

🐛 Bug Fix

  • compat
  • babel-loader-8, core, macros, shared-internals
    • #1560 Fix rewritten package cache encapsulation (@ef4)
  • vite
    • #1550 Initial test of vite integration (@ef4)

📝 Documentation

  • #1559 Fix link to dependenciesMeta.*.injected (@gossi)

🏠 Internal

Committers: 5

Release (2023-07-20)

@embroider/addon-dev 3.2.0 (minor) @embroider/compat 3.2.0 (minor) @embroider/core 3.2.0 (minor) @embroider/hbs-loader 3.0.2 (patch) @embroider/macros 1.13.0 (minor) @embroider/shared-internals 2.3.0 (minor) @embroider/util 1.12.0 (minor) @embroider/vite 0.1.0 (minor) @embroider/webpack 3.1.4 (patch)

🚀 Enhancement

  • addon-dev
    • #1518 add a basic implementation of the gjs rollup plugin (@mansona)
  • util, vite
    • #1550 Initial test of vite integration (@ef4)
  • compat, core, macros, shared-internals
    • #1548 optional ES-module compatibility setting (@ef4)
  • compat
  • compat, core, shared-internals

🐛 Bug Fix

  • core, webpack
    • #1547 Rehome moved requests to real on-disk files (@ef4)
  • compat
    • #1544 Bugfix: contextual staticHelpers in subexpression position (@ef4)
  • compat, shared-internals
    • #1542 Refuse to accept v1 addons as invalid peerDeps (@ef4)
  • Other
    • #1541 Create peer-dependency-resolution-issues.md (@ef4)
  • macros
  • compat, core, shared-internals, webpack
    • #1536 Generate per-package implicit-modules imports (@ef4)
  • core

🏠 Internal

  • Other
  • core
  • compat, core, macros, shared-internals
  • compat, hbs-loader, webpack

Committers: 6

Release (2023-07-13)

@embroider/addon-dev 3.1.2 (patch) @embroider/addon-shim 1.8.6 (patch) @embroider/compat 3.1.5 (patch) @embroider/core 3.1.3 (patch) @embroider/hbs-loader 3.0.1 (patch) @embroider/macros 1.12.3 (patch) @embroider/router 2.1.3 (patch) @embroider/shared-internals 2.2.3 (patch) @embroider/util 1.11.2 (patch) @embroider/webpack 3.1.3 (patch)

🐛 Bug Fix

  • shared-internals
    • #1516 Move @embroider/macros from emberVirtualPackages to emberVirtualPeerDeps (@ef4)
    • #1513 Add @glimmer/reference as a virtual package (@chancancode)
    • #1528 Restore older node support (@ef4)
  • core
    • #1524 Fix the EMBROIDER_CONCAT_STATS build error (@Windvis)
    • #1509 All addons may need emberVirtualPeerDep handling (@ef4)
  • addon-dev, macros
    • #1520 use transform babel plugins instead of proposal (@mansona)

📝 Documentation

  • macros

🏠 Internal

  • compat
    • #1522 format resolver.json more nicely (@ef4)
  • Other
  • addon-dev, addon-shim, compat, core, hbs-loader, macros, router, shared-internals, util, webpack
  • router
    • #1510 Replace rollup-plugin-ts with @rollup/plugin-typescript (@ef4)

Committers: 6

Release (2023-07-01)

@embroider/compat 3.1.4 (patch) @embroider/core 3.1.2 (patch) @embroider/macros 1.12.2 (patch) @embroider/shared-internals 2.2.2 (patch) @embroider/webpack 3.1.2 (patch)

🐛 Bug Fix

  • core
    • #1504 fix inter-package relative imports in addon's app-js (@ef4)
  • shared-internals

🏠 Internal

Committers: 1

  • Edward Faulkner (@ef4)

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)

Release (2023-06-29)

@embroider/compat 3.1.2 (patch)

🐛 Bug Fix

  • compat
    • Previous release was published incorrectly.

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

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

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

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

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)

@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

  • router
  • Other
  • addon-dev, addon-shim, babel-loader-8, compat, core, hbs-loader, macros, router, shared-internals, util, webpack
    • #1422 Use pnpm workspace protocol everywhere (@ef4)
  • 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

Committers: 12

Release 2023-01-25.0

@embroider/compat, @embroider/core, @embroider/test-setup, @embroider/webpack 2.1.0 -> 2.1.1

  • BUGFIX: Support ember-cli-babel >= 8 1334
  • INTERNAL: Upgrade resolver tests 1321

Release 2023-01-24.0

@embroider/compat 2.0.2 -> 2.1.0

  • BUGFIX: hash current env into the temp workspace dir path 1318
  • BUGFIX: add .hbs.js to the list of resolvable extensions by webpack 1307
  • BUGFIX: Resolver transform fixes 1308
  • BUGFIX: handle special case where rootURL is empty string 1285
  • BUGFIX: tmpdir handling for @glimmer/tracking compat adapter 1302

@embroider/core 2.0.2 -> 2.1.0

  • INTERNAL: Split resolution decisions out of babel-plugin-adjust-specifiers 1309

@embroider/test-setup 2.0.2 -> 2.1.0

  • BUGFIX: test-setup: use caret version modifier for Embroider dependencies 1328

@embroider/util 1.9.0 -> 1.10.0

  • FEATURE: Make ensureSafeComponent usable with Glint 1301

@ember/webpack 2.0.2 -> 2.1.0

  • BUGFIX: fix css livereload 1317

Release 2022-11-30.0

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

  • BUGFIX: detect ember-template-compliation plugin correctly when other plugins are preventing parallelization 1299

Release 2022-11-28.0

@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

@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.

Release 2022-10-06.0

@embroider/core 1.8.3 -> 1.9.0 minor

@embroider/compat 1.8.3 -> 1.9.0 minor

  • Fix an order bug in linkNonCopiedDeps, #1256 (@ef4)
  • Use consistent separator on windows, #1248 (@ef4)
  • fix a rebuild crash in dummy apps on windows, #1247 (@ef4)
  • Support TypeScript without ember-cli-typescript, #1236 (@NullVoxPopuli)
  • Add unique-id helper to builtInHelpers list, #1239 & #1241 (@jakesjews)

@embroider/addon-dev 1.8.3 -> 2.0.0 major

  • Extensions in addon-dev's rollup plugin are now all normalized to .js, #1223 (@NullVoxPopuli)

    Previously, when addonEntrypoints would include .{js,ts}, these entries should no only say .js. All files are in terms of "the outputs", which are JavaScript.

    Also in #1223, this PR fixes an issue where components authored in typescript could not be used

  • Default 'hoiseTransitiveImports' to 'false', #1233 (@NullVoxPopuli)

    Module load optimzations are an app concern, rather than an addon/library concern. This also resolves the issue that is described in babel-plugin-ember-template-compilation#7

  • Default sourcemap: true for the rollup output defaults, #1234 (@NullVoxPopuli)

    These are very hi-fi sourcemaps -- for example, in TypeScript projects, you see TypeScript in the dev tools. Because rollup/webpack/etc output can be really hard for humans to read, enabling sourcemaps as a default should hopefully help folks debug their addons more easily.

  • Run the clean plugin as late as possible, #1229 (@simonihmig)

    Previously the cleanup would happen at the earliest point in time, at buildStart, making the time window large enough for Ember CLI to see the transient build output in an inconsistent state. Now it happens at the latest possible time, at generateBundle right before files are written, making the time window small enough to not cause any problems in practice.

@embroider/macros 1.8.3 -> 1.9.0 minor

  • Do not use absolute path in vendor files, #1245 (@stevcooo)

internals

  • upgrading some github actions, #1250 (@ef4)
  • Port file assertions to qunit, #1240 (@ef4)
  • Upgrade yarn and use volta.extends for all the things (@ef4)

=== Below this point, all packages were released in lockstep

v1.8.3 (2022-07-04)

🐛 Bug Fix

  • compat
    • #1231 Followup to "Detect addons with customized treeForMethod names" (@ef4)

🏠 Internal

  • #1232 regression test coverage for #1231 (@ef4)

Committers: 1

  • Edward Faulkner (@ef4)

v1.8.2 (2022-07-04)

🐛 Bug Fix

  • compat, shared-internals
    • #1230 Detect addons with customized treeForMethod names (@ef4)

Committers: 1

  • Edward Faulkner (@ef4)

v1.8.1 (2022-07-01)

🐛 Bug Fix

  • addon-dev
    • #1227 add-dev: HBS files were not watched for rebuilds (@ef4)
  • compat
    • #1224 Don't apply the ember-get-config compat adapter when >= v2.1.0 (@bertdeblock)
  • macros

📝 Documentation

  • #1225 docs: Add lazy loaded engines EmbroiderRouter details to README (@richgt)

Committers: 4

v1.8.0 (2022-06-09)

🚀 Enhancement

  • addon-dev, core, shared-internals
    • #1199 Add babel plugin for preprocessing templates with ast transforms (@wondersloth)

🐛 Bug Fix

Committers: 4

v1.7.1 (2022-05-24)

🐛 Bug Fix

  • core
    • #1210 fastboot should not try to load through publicAssetURL (@ef4)
  • webpack

Committers: 1

  • Edward Faulkner (@ef4)

v1.7.0 (2022-05-23)

🚀 Enhancement

  • addon-dev
    • #1202 Accept optional mapFilename config for rollup-app-reexports (@dfreeman)
  • macros
    • #1168 Add message to clarify error for non-serializable configs (@jkeen)

🐛 Bug Fix

📝 Documentation

🏠 Internal

Committers: 6

v1.6.0 (2022-04-07)

🚀 Enhancement

  • addon-dev, compat, core, hbs-loader, shared-internals, webpack
    • #1010 template compilation improvements (@ef4)

🐛 Bug Fix

  • compat
    • #1170 Ensure self-references within a dummy apps work for @ resolution. (@rwjblue)
  • addon-dev

📝 Documentation

🏠 Internal

  • #1186 Fix tests under ember-data 4.x (@ef4)
  • #1167 register node tests with scenario-tester (@ef4)

Committers: 5

v1.5.0 (2022-03-08)

🚀 Enhancement

  • util
    • #1155 Turn ensureSafeComponent into a no-op for class values on Ember 3.25+ (@Windvis)

🐛 Bug Fix

  • macros
    • #1156 fix exception in macros babel plugin (@ef4)
  • compat

Committers: 2

v1.4.0 (2022-03-07)

🚀 Enhancement

🐛 Bug Fix

  • core
  • compat

Committers: 2

v1.3.0 (2022-03-04)

🚀 Enhancement

  • webpack
  • compat
    • #1120 Add support for the helper helper (@Windvis)
    • #1130 Only apply ember-power-select compat adapter when using ember-power-select < 5.0.1 (@betocantu93)

🐛 Bug Fix

  • core, webpack
  • core
    • #1149 Update externals stubs atomically (@ef4)
  • compat, core
    • #1145 Ensure addon app trees are merged in the correct order (@eoneill)
  • compat

📝 Documentation

🏠 Internal

  • Other
    • #1144 Remove a workaround that is trying fix an old bug in volta (@krisselden)
  • router, util
    • #1141 Drive the test suite from scenario-tester (@ef4)
  • compat

Committers: 10

v1.2.0 (2022-02-10)

🚀 Enhancement

  • compat
    • #1124 improving ember-data compatibility & test coverage (@ef4)
  • macros
    • #1119 Reuse the loc of the macroMaybeAttrs hashes for the created attributes (@Windvis)

📝 Documentation

🏠 Internal

Committers: 3

v1.1.0 (2022-02-08)

🚀 Enhancement

  • compat
    • #1085 Updates for LTS 3.28 including ember-data (@ef4)
    • #1115 Use broccoli memoization by default (@ef4)
  • addon-dev
  • macros
    • #1083 Throw error when setting non-serializable macro config (@mydea)

🐛 Bug Fix

📝 Documentation

  • Other
  • addon-dev
  • macros
    • #1096 Add section on package requirements to importSync documentation (@jrjohnson)

🏠 Internal

Committers: 9

v1.0.0 (2022-01-19)

Declaring this as 1.0 to signifiy general level of stability and to give us more flexibility to distinguish minor and patch releases.

:internal: Internal

  • Renamed default branch from master to main.

🐛 Bug Fix

  • macros
    • #1081 fix importSync scope collision (@ef4)

Committers: 1

  • Edward Faulkner (@ef4)

v0.50.2 (2022-01-14)

🐛 Bug Fix

  • compat, macros
    • #1076 add non-es6-compat to importSync (@ef4)
  • core, macros
    • #1075 native v2 addons can always import from NPM (@ef4)

Committers: 1

  • Edward Faulkner (@ef4)

v0.50.1 (2022-01-12)

🐛 Bug Fix

  • core
    • #1074 Ensure babelFilter config comes from fully qualified @embroider/core path in Stage 2 (@krisselden)
  • compat, core, macros, shared-internals
    • #1070 Ensure dependencySatisfies only considers actual dependencies (includes a fix for invalid results within monorepo scenarios) (@NullVoxPopuli)

Committers: 2

v0.50.0 (2022-01-08)

🚀 Enhancement

  • addon-shim, core, shared-internals
    • #1069 Make addon-shim a non-ember-addon (@ef4)

🐛 Bug Fix

  • compat
    • #1068 Widen the node_modules exclude pattern when copying v2 addons (@ef4)
    • #1064 Fix unsafe reuse of broccoli trees in OneShot (@ef4)

Committers: 1

  • Edward Faulkner (@ef4)

v0.49.0 (2021-12-21)

🚀 Enhancement

  • webpack
    • #1055 Accept custom css-loader and style-loader config in @embroider/webpack (@dfreeman)
  • addon-shim

🐛 Bug Fix

🏠 Internal

Committers: 6

v0.48.1 (2021-12-08)

🐛 Bug Fix

  • compat
    • #1042 Fix ember-cli-babel optimization (@ef4)

Committers: 1

  • Edward Faulkner (@ef4)

v0.48.0 (2021-12-07)

🚀 Enhancement

  • compat, core, router

🐛 Bug Fix

  • compat
    • #1029 Don't resolve built-in components when used with the component helper (@Windvis)
    • #1030 fix the ember-get-config compat adapter (@ef4)
    • #1035 Optimize ember-cli-babel handling (@ef4)

📝 Documentation

  • macros
    • #1031 Add isTesting and isDevelopingApp to readme (@mydea)

🏠 Internal

  • router
    • #1027 @embroider/router Ember 4 CI job compatibility (@Windvis)

Committers: 3

v0.47.2 (2021-11-11)

🐛 Bug Fix

  • compat
    • #1017 Ensure components + helpers can work from this paths with staticComponents = true & staticHelpers = true (@thoov)
  • addon-dev
    • #1015 Address misleading warnings from rollup about externals (@ef4)

📝 Documentation

Committers: 2

v0.47.1 (2021-10-25)

🚀 Enhancement

🐛 Bug Fix

  • compat
    • #1009 Apply compileStyles to custom treeForAddonStyles (@ef4)
  • compat, core
    • #1007 Fix exclusion of the hbs file of the pod components when podModulePrefix === '' (@dcyriller)

📝 Documentation

  • addon-shim

Committers: 4

v0.47.0 (2021-10-14)

🚀 Enhancement

  • compat, core, macros, shared-internals
    • #893 Support strict mode templates (@ef4)

Committers: 1

  • Edward Faulkner (@ef4)

v0.46.2 (2021-10-11)

🐛 Bug Fix

  • addon-dev
    • #1003 addon-dev: list published files explicitly (@ef4)

Committers: 1

  • Edward Faulkner (@ef4)

v0.46.1 (2021-10-11)

🐛 Bug Fix

  • addon-dev
    • #1002 addon-dev needs a prepare script (@ef4)

Committers: 1

  • Edward Faulkner (@ef4)

v0.46.0 (2021-10-11)

💥 Breaking Change

  • addon-dev, addon-shim, compat, core, shared-internals

🚀 Enhancement

  • addon-dev, addon-shim, compat, core, shared-internals

🐛 Bug Fix

  • core
    • #974 Production fastboot builds were incorrectly getting server code in the browser (@thoov)
  • macros
    • #990 Invalidate @embroider/macro's babel cache when addon version's change without mutating lock file (e.g. linking) (@thoov)

📝 Documentation

  • router
    • #930 add note on route splitting with pods in readme (@mydea)

🏠 Internal

  • core
    • #989 use babel-import-util (@ef4)
    • #988 Remove leftover Babel 6 compatibility code (@ef4)

Committers: 3

v0.45.0 (2021-09-30)

💥 Breaking Change

  • compat
    • #976 Restructure workspaceDir logic (@thoov). This removes an (undocumented) feature for the workspace dir from the build, it's unlikely to break in any normal usage.

🚀 Enhancement

  • addon-shim

🐛 Bug Fix

  • core
    • #985 Fix an erroneous assertion in v2 addons (@ef4)

🏠 Internal

  • compat
    • #976 Restructure workspaceDir logic (@thoov)
    • #980 Convert stage-1 tests to test-scenarios (@thoov)
  • Other
    • #986 Ensure static test runs in production mode (@thoov)

Committers: 2

v0.44.2 (2021-09-26)

🐛 Bug Fix

  • compat, core, router, shared-internals, util
    • #978 backing out ember real-modules mode (fixes some edge cases on ember 3.27 and 3.28) (@ef4)

🏠 Internal

  • Other
  • compat, router, util
  • addon-shim, compat, core, hbs-loader, macros, shared-internals, util, webpack

Committers: 3

v0.44.1 (2021-09-07)

🚀 Enhancement

  • addon-shim, compat, router, util

🐛 Bug Fix

  • compat
    • #958 Add allowEmpty to __COMPILED_STYLES__ funnel (@thoov)

🏠 Internal

Committers: 2

v0.44.0 (2021-09-02)

💥 Breaking Change

🚀 Enhancement

  • compat
    • #941 Add support for ember-cli addon proxy (bundle caching) (@eoneill)

🐛 Bug Fix

  • compat
    • #953 fixes: Local helpers not resolved in tests #894 (@lifeart)
    • #948 Disable compat adapter for ember-inflector >= 4.0.0 (since it is not needed) (@stefanpenner)
    • #934 Ensure style compilation works properly with ember-cli >= 3.18 (@stefanpenner)
    • #924 Fix caching of template AST plugins (follow caching protocol of ember-cli-htmlbars) (@eoneill)
    • #928 Update custom package rules for ember-basic-dropdown (@mydea)
  • router
    • #929 Use @ember/test-waiters in @embroider/router (@mydea)

📝 Documentation

  • #923 Add documentation how to use safe components in tests (@mydea)

🏠 Internal

Committers: 5

v0.43.5 (2021-08-09)

🚀 Enhancement

  • compat
    • #918 Add needsCache and persistentOutput to internal broccoli-plugins. (@rwjblue)

🐛 Bug Fix

  • core, macros, shared-internals
    • #913 Ensure dependencySatisfies invalidates when installed packages change (@thoov)

🏠 Internal

Committers: 3

v0.43.4 (2021-08-03)

🚀 Enhancement

  • compat
    • #915 Reduce memory pressure from compat layer by disabling Heimdall node gathering during OneShotPlugin (@rwjblue)

Committers: 2

v0.43.3 (2021-07-30)

🐛 Bug Fix

  • compat
    • #910 Fix arguments to preprocessCss (to match classic build) (@thoov)
    • #880 Fix compatibility with ember-data@3.27+ (@ef4)
  • webpack
    • #914 Remove transitive loader-utils dependency from @embroider/webpack (@mydea)

Committers: 3

v0.43.2 (2021-07-29)

🚀 Enhancement

  • compat, core

🐛 Bug Fix

  • hbs-loader
    • #831 Replace loader-utils with built-in webpack 5 functionality (@mydea)

🏠 Internal

  • router
    • #911 Upgrade ember-qunit to address canary deprecations (@ef4)

Committers: 3

v0.43.1 (2021-07-28)

🚀 Enhancement

🐛 Bug Fix

  • core
    • #899 support inert TemplateLiteral in hbs plugin (@eoneill)
  • compat
    • #900 Only patch ember-cli-deprecation-workflow releases before 2.0.0 (@alexlafroscia)
    • #904 Fix ember-test-selectors custom adapter for 6.x (@mydea)

Committers: 5

v0.43.0 (2021-07-13)

💥 Breaking Change

  • macros
    • #888 Expose sourceOfConfig to macro config mergers (@mydea)
  • babel-loader-7, compat, core, macros, shared-internals, webpack
    • #890 Drop support for apps that use babel 6 (@ef4)

🐛 Bug Fix

  • macros
    • #886 undefined does not serialize with broccoli-babel-transpiler (@thoov)
  • core, shared-internals, webpack
    • #881 Fix race condition finding the owning package of a given file when using multiple workers (@ef4)

Committers: 3

v0.42.3 (2021-06-28)

🚀 Enhancement

🐛 Bug Fix

  • macros
    • #865 Enable parallelization of @embroider/macros in non-Embroider builds (@thoov)
  • core
    • #872 Template compiler plugin not removed due to bad path comparison on Windows (@thoov)
  • compat, core, shared-internals, webpack

🏠 Internal

  • compat
  • Other
    • #874 Convert sample-lib to new test infra (@thoov)

Committers: 3

v0.42.2 (2021-06-23)

🐛 Bug Fix

  • babel-loader-8, webpack
    • #868 Fix issue with thread-loader + babel-loader performance (@krisselden)

🏠 Internal

  • Other
  • addon-shim, util

Committers: 2

v0.42.1 (2021-06-18)

🚀 Enhancement

  • webpack
    • #860 Ensure all errors are reported when an error occurs in webpack (@rwjblue)

🐛 Bug Fix

  • util
  • compat
    • #853 Better error message when an asset cannot be found in entry file (@thoov)

🏠 Internal

  • Other
    • #861 Remove test-packages: macro-test and funky-sample-addon (@thoov)
    • #859 Convert macro-test to new test structure (@thoov)
    • #858 Remove ember-engines version pin (@thoov)
    • #854 Convert engines-host-app to new test structure (@thoov)
  • compat
    • #856 Remove eager-engine, lazy-engine, and engine-host-app (@thoov)

Committers: 3

v0.42.0 (2021-06-15)

💥 Breaking Change

  • addon-shim, babel-loader-7, compat, core, hbs-loader, macros, router, shared-internals, test-setup, util, webpack

🐛 Bug Fix

  • core
    • #851 Fix missing exports in @embroider/core package.json (@thoov)
    • #841 Ensure babel transpilation cache is invalided when changing versions of babel plugins or AST transforms (@stefanpenner)
  • compat, core, macros
  • addon-shim

🏠 Internal

  • addon-shim, compat, core, hbs-loader, macros, shared-internals, test-setup, util, webpack
  • Other
  • webpack
  • addon-shim
    • #820 Add @embroider/addon-shim repository data to package.json (@rwjblue)

Committers: 4

v0.41.0 (2021-05-20)

🚀 Enhancement

🐛 Bug Fix

  • addon-shim, compat, core, util
  • compat
  • test-setup
    • #792 Install webpack alongside @embroider/webpack when using @embroider/test-setup (@alexlafroscia)
  • webpack

📝 Documentation

  • addon-shim
    • #804 Fix installation instructions in @embroider/addon-shim (@rwjblue)
  • util
    • #807 Add repository entry for the @embroider/util package (@mansona)
  • Other
    • #789 Update README for webpack install requirement (@bendemboski)
    • #782 docs: for setting publicAssetUrl in non-production environments (@timiyay)

🏠 Internal

Committers: 9

v0.40.0 (2021-04-24)

💥 Breaking Change

  • compat, core, hbs-loader, shared-internals, webpack
    • #652 webpack 5 (@ef4).
      • If you have customized webpack config, you may need to update it for webpack 5.
      • webpack is now a peerDependency of @embroider/webpack so you have more direct control over its version and can import any plugins out of it that you might need

🚀 Enhancement

  • compat
    • #754 compatibility with ember-cli-htmlbars serialization for improved build performance (@ef4)
    • #763 Add Compat Adapter for @html-next/vertical-collection (@alexlafroscia)
  • addon-shim, shared-internals, util

🐛 Bug Fix

  • compat
    • #728 Avoid building excessive copies of addons that appear in peerDependencies (@charlespierce)
  • compat, core, router, shared-internals, util, webpack

📝 Documentation

🏠 Internal

  • Other
  • router
    • #756 Leverage test-scenarios from ember-auto-import (@thoov)

Committers: 6

v0.39.1 (2021-03-31)

🐛 Bug Fix

Committers: 1

v0.39.0 (2021-03-31)

🚀 Enhancement

  • core, shared-internals
    • #749 exposing some features for browser-based build tools (@ef4)

Committers: 1

  • Edward Faulkner (@ef4)

v0.38.0 (2021-03-31)

🚀 Enhancement

  • compat, core, shared-internals, util
  • compat, core, macros, shared-internals
    • #748 Supporting more build environments (@ef4)
    • #737 reduce deps in macros and util packages (@ef4)
  • compat, core, test-setup, util, webpack
    • #740 Use "real modules" for ember-source when possible (3.27+) (@ef4)
  • core
    • #736 silence warning about babel formatting while patching template compiler (@ef4)
  • compat
    • #721 easier stage2-only config (@ef4)
    • #715 support EMBROIDER_REBUILD_ADDONS for pure v2 addons (@ef4)
  • webpack
    • #720 Improve error message when module cannot be found in webpack (@thoov)

🐛 Bug Fix

  • core, shared-internals
  • compat
    • #747 Add better support for skipping Stage 1 transforms that are not needed (@ef4)
  • hbs-loader
    • #735 fixing a typo in peerDep range in hbs-loader (@ef4)

📝 Documentation

🏠 Internal

  • #743 Migrate from rwjblue/setup-volta to volta-cli/action. (@rwjblue)

Committers: 4

v0.37.0 (2021-03-08)

🚀 Enhancement

  • core
    • #713 Avoid monkey patching template compiler for 3.24.3 and 3.25.2+. (@rwjblue)
    • #705 Avoid patching the template compiler on Ember 3.26. (@rwjblue)
    • #700 TemplateCompiler fixes / improvements (avoid monkey patch for Ember 3.27+) (@rwjblue)
  • macros
    • #712 Allow macroCondition inside modifier (@simonihmig)
    • #694 Run importSync transform later, so ember-auto-import can support importSync (@simonihmig)

🐛 Bug Fix

  • compat
    • #710 Fix case where autoRun is false but no other addon set content into the {{content-for 'app-boot'}} (@thoov)
    • #674 adjust paths seen by css preprocessors (@ef4)
    • #702 Handle case where node_modules are symlinked (@thoov)
    • #690 Exclude 'babel-plugin-compact-reexports' during Stage 1 build (@charlespierce)
    • #687 Strip main field from v1 addons' package.json once they are rewritten as V2 (@ef4)
  • compat, core
  • core
    • #686 Prevent accidental duplication of babel plugin during rebuilds (@ef4)

🏠 Internal

  • compat
    • #706 Remove ember-cli-htmlbars dependency in @embroider/compat. (@rwjblue)
  • Other
    • #711 Add release automation setup. (@rwjblue)
    • #704 Avoid running CI jobs on both push and pull_request events. (@rwjblue)
    • #697 Refactor suite-setup-util to avoid knock on errors. (@rwjblue)
  • core, macros
  • router, util
    • #703 Add 3.20 and 3.24 to list of matrix tests. (@rwjblue)

Committers: 5

0.36.0 (2021-01-21)

  • BUGFIX: fix non-legacy CSS handling in production builds when using @embroider/webpack
  • DOCS: fix a bug in ensureSafeComponent docs, by @patocallaghan
  • HOUSEKEEPING: upgrade terser by @GCheung55

0.35.1 (2021-01-11)

  • BUGFIX: don't try to read nonexistent package.json when combining multiple v1 package instances, by @mattmcmanus.

0.35.0 (2020-12-20)

  • BUGFIX: support disabled in-repo addons.
  • COMPAT: implement insertRuntimeErrors option on the hbs inline compiler
  • BUGFIX: conditionally import lazy engine css by @thoov
  • HOUSEKEEPING: split hbs-loader into its own package (so ember-auto-import can also use it)
  • COMPAT: updates to @embroider/util to follow latest ember canary

0.34.0 (2020-12-09)

  • ENHANCEMENT: add publicAssetURL option to @embroider/webpack to support CDN deploys (the built-in webpack options for this didn't let you manipulate your index.html, since we take care of that directly in @embroider/webpack).
  • COMPAT: update @embroider/util to follow internal refactoring on ember canary.
  • HOUSEKEEPING: broccoli-related dependency updates
  • DOCS: split the "Replacing the Component Helper" guide into its own document and expanded the use cases.

0.33.0 (2020-11-25)

  • ENHANCEMENT: new staticAppPaths option
  • ENHANCEMENT: fingerprint legacy scripts and styles in production by @simonihmig
  • COMPAT: added packageRules for several more popular addons
  • BUGFIX: don't include node-only types in @embroider/macros main entrypoint
  • BUGFIX: correctly apply packageRules inside co-located templates
  • ENHANCEMENT: add types for @embroider/util
  • HOUSEKEEPING: eslint update

0.32.0 (2020-11-24)

  • ENHANCEMENT: added a new allowUnsafeDynamicComponents option to support testing of apps that are partially-working under staticComponents mode
  • BUGFIX: Fix ensureSafeComponent to not reuse registered component across owners by @simonihmig
  • ENHANCEMENT: added a new pluginHints option that lets you achieve parallel builds even if some of your babel or htmlbars plugins are misbehaved
  • HOUSEKEEPING: refactored plugin portability system to make pluginHints practical
  • HOUSEKEEPING: updated to use broccoli-node-api types
  • ENHANCEMENT: test coverage for ensureSafeComponent stability
  • ENHANCEMENT: minimize CSS in prod by @thoov
  • ENHANCEMENT: fix REUSE_WORKSPACE for in-repo-addons
  • COMPAT: update @embroider/util usage of private API for ember 3.24 compatibility
  • ENHANCEMENT: configure @babel/plugin-transform-runtime by default, making all apps smaller, especially if they support IE11.
  • HOUSEKEEPING: update to released version of fixturify-project by @rwjblue

0.31.0 (2020-11-11)

  • BREAKING: renamed the new @embroider/addon package to @embroider/util because it was misleading: apps are encouraged use these utilities too.
  • COMPAT: allow code in addon's treeForApp to resolve dependencies from both the app and the addon
  • ENHANCEMENT: respect the ensure-safe-component helper when statically analyzing templates
  • BUGFIX: don't accidentally cache addon broccoli tree output that is not cacheable
  • ENHANCEMENT: support pods layout for route-based code splitting by @simonihmig
  • ENHANCEMENT: added new invokes rule for annotating dynamic component behavior
  • BUGFIX: component snippet resolution had a regression in previous release
  • ENHANCEMENT: expose TS types for @embroider/router by @simonihmig
  • ENHANCEMENT: lazily load CSS from lazy engines by @thoov
  • ENHANCEMENT: improvements to thoroughness of the embroider-compat-audit command
  • BUGFIX: pin the embroider package versions added by @embroider/test-setup to newest by @simonihmig

0.30.0 (2020-11-03)

  • BUGFIX: fix unnecessary inclusion of co-located templates
  • COMPAT: support component helper invocations with '@'
  • BREAKING: when using staticComponents: true, unsafe usage of the {{component}} helper has changed from a warning to an error. The warning was really not safe to ignore, because it's likely to cause runtime failures.
  • ENHANCEMENT: @embroider/compat provides a new embroider-compat-audit command. With your app configured to build with Embroider, run yarn embroider-compat-audit or npm run embroider-compat-audit.

0.29.0 (2020-10-27)

  • BUGFIX: dependencySatisfies macro fixes by @rwjblue

0.28.0 (2020-10-21)

  • BUGFIX: fastboot hostWhiteList support by @simonihmig
  • ENHANCEMENT: new @embroider/addon utility package
  • HOUSEKEEPING: multiple dependency upgrades by @rwjblue
  • DOCS: updated macros examples by @thoov
  • DOCS: add timestamps to changelog by @sandstrom
  • COMPAT: declare node versions by @rwjblue
  • HOUSEKEEPING: faster and more reliable test suite infrastructure
  • COMPAT: support a different form of _super call in treeFor, by @thoov
  • BUGFIX: rule-defined extra imports were getting module namespace vs default wrong, by @thoov
  • COMPAT: support the most common special-cases of customized treeFor
  • COMPAT: guard against stringly broccoli trees
  • ENHANCEMENT: @embroider/test-setup can now force either classic or embroider mode without altering the project's deps
  • BUGFIX: make runtime getConfig macro work as a class field initializer by @simonihmig

0.27.0 (2020-10-01)

  • HOUSEKEEPING: linter upgrades
  • COMPAT: add compatAdapter for ember-cli-addon-docs by @thoov
  • ENHANCEMENT: created new @embroider/test-setup package to aid CI-testing of apps and addons

0.26.0 (2020-09-29)

  • BUGFIX: don't include d.ts files from the app into the actual build
  • COMPAT: support own-imports imports in code that came from treeForApp
  • HOUSEKEEPING: updating the versions of babel used in our own test suite
  • DOCS: add ember-try instructions to addon author guide by @thoov
  • ENHANCEMENT: unresolved dynamic imports are now runtime errors, not build time errors, by @thoov
  • COMPAT: fix loader.js compatibility issue by disabling its makeDefaultExport option by @simonihmig
  • ENHANCEMENT: prevent cryptic errors when a (potentially optional) dependency isn't present by @thoov

0.25.0 (2020-09-22)

  • BUGFIX: fix live rebuilding the owning addon when running a dummy app
  • HOUSEKEEPING: upgrades for eslint by @simonihmig
  • COMPAT: add packageRules for ember-element-helper by @simonihmig
  • COMPAT: support ember-cli-typescript 4.x by @jamescdavis
  • HOUSEKEEPING: upgrade typescript by @simonihmig
  • COMPAT: avoid Testem.hookIntoTestFramework by @rwjblue
  • BUGFIX: ensure macros package works in apps using staticComponents & staticHelpers

0.24.1

  • BUGFIX: the 0.24.0 release introduced an accidental dependency change

0.24.0

  • HOUSEKEEPING: add missing repository fields by @Turbo87
  • ENHANCEMENT: support the component helper in rule snippets by @patricklx
  • HOUSEKEEPING: sort package.json contents by @Turbo87
  • BUGFIX: avoid duplication of the macros babel plugin
  • BUGFIX: avoid duplication of the nullish-coalescing and optional-chaining babel plugins

0.23.0

  • COMPAT: add compat adapter for ember-exam by @thoov
  • BUGFIX: use renamed-packages for module name definitions by @thoov
  • BUGFIX: use renamed-packages for template meta moduleName by @thoov

0.22.0

  • COMPAT: add the newer public in-element helper to the built-in helpers list by @josemarluedke
  • COMPAT: use runtime loader for tests

0.21.0

  • ENHANCEMENT: make it easier for addons to emit macros into their consuming packages in classic builds
  • COMPAT: patch a bug in ember-template-compiler so we can support all active LTS versions of ember-source
  • COMPAT: avoid interactions with addons that manipulate the value of window.require over time

0.20.0

  • COMPAT: remote our adapter for ember-window-mock because upstream now has an embroider-compatible solution
  • ENHANCEMENT: added isTesting, isDevelopingApp, and isDevelopingThisPackage macros
  • BUGFIX: handle addons with a customized ember-addon.main that use stock trees
  • COMPAT: make customized tree detection robust enough to catch addons that mutate other addon instances
  • COMPAT: support customized treeForAddonStyles
  • BUGFIX: make our babel plugin order match classic builds by @thoov
  • HOUSEKEEPING: use volta extends within our monorepo by @thoov
  • BUGFIX: fix renamed-modules when used with languages that transpile to js
  • COMPAT: follow template compiler changes in ember 3.17+ by @GCheung55
  • DOCS: remove addon package publishing warning by @GavinJoyce

0.19.0

  • HOUSEKEEPING: Updating some babel-related deps to avoid upstream bugs
  • ENHANCEMENT: implement a build-variants system to begin supporting multiple simultaneous flavors of builds in stage3 packagers.
  • BUGFIX: use the build-variants system to fix optimized production fastboot builds
  • COMPAT: added a compat-adapter for ember-cli-fastboot-testing
  • BUGFIX: make engine configs fastboot-friendly
  • BUGFIX: preload webpack's lazy chunks in fastboot
  • HOUSEKEEPING: update volta pinning on all packages in monorepo

0.18.0

  • COMPAT: updated to new proposed fastboot v5 format (ember-fastboot/fastboot#272)
  • COMPAT: avoid spurious testem error when running tests directly in browser
  • ENHANCEMENT: support static resolution of components named like foo/index.js as opposed to foo.js, by @NullVoxPopuli

0.17.0

  • COMPAT: tolerate broken in-repo-addons for compatibility with ember-cli by @thoov
  • ENHANCEMENT: add data-fastboot-ignore to scripts that shouldn't run in fastboot by @thoov

0.16.1

  • BUGFIX: addons that return undefined from treeForFastboot caused a build-time exception
  • BUGFIX: apps with sufficiently modern preset-env configuration saw webpack parse errors

0.16.0

  • BUGFIX: improved support for in-repo addons, including in-repo addons inside in-repo addons
  • ENHANCEMENT: full fastboot support (depends on upstream changes in fastboot that are still in a PR)
  • ENHANCEMENT: addon rebuilding improvements
  • BUGFIX: make @embroider/router coexist correctly with ember-engines

0.15.0

  • ENHANCEMENT: lazy engines' own JS is now loaded lazily by @thoov
  • HOUSEKEEPING: updated to node 12 by @SparshithNR
  • ENHANCEMENT: apps with ember-engines can now build and run correctly
  • ENHANCEMENT: macro system can now evaluate many more kinds of expressions, and supports optional chaining syntax, by @SparshithNR
  • BUGFIX: support running test suites via ember s, not just ember test
  • COMPAT: support in-repo-addons inside other addons, by @thoov
  • HOUSEKEEPING: switch to github actions for our own CI, by @thoov

0.14.0

  • ENHANCEMENT: multiple additions and bugfixes to the macro system by @simonihmig
  • COMPAT: ast transforms in stage1 didn't see the same moduleNames as under stock ember-cli, by @SparshithNR
  • COMPAT: always define runningTests by @thoov
  • COMPAT: resolve ambiguous addon merges in the same order as stock ember-cli by @thoov
  • COMPAT: more progress on engines support
  • COMPAT: more progress on fastboot support by @SparshithNR
  • BUGFIX: correctly handle ember-auto-import's dynamic import()
  • DOCS: add info about disabling the webpack bundle analyzer browser by @ohcibi

0.13.0

  • COMPAT: follow the stock build's special-case behavior that forbids "template.hbs" as a template-only component
  • ENHANCEMENT: add support for apps with custom app-boot content by @dnalagatla
  • ENHANCEMENT: allow explicitly declared relative externals, which makes it easier to workaround some badly-behaved addons
  • BUGFIX: fixed a bug in the way we make module paths relative
  • COMPAT: support ember-cli 3.16, which dropped a function we were calling.

0.12.0

  • ENHANCEMENT: support for Octane's component template colocation.

0.11.1

  • BUGFIX: the previous release broke CSS rebuilding if you were using the experimental BROCCOLI_ENABLED_MEMOIZE feature flag due to the way ember-cli constructs the app styles tree that Embroider relies on. This release includes a workaround.

0.11.0

  • ENHANCEMENT: support rebuilding of linked addons when using the BROCCOLI_ENABLED_MEMOIZE feature flag

0.10.0

  • BUGFIX: make TemplateCompiler's isParallelSafe flag survive clone()
  • COMPAT: support ember-cli-htmlbars>=4, which has native support for inline hbs
  • BUGFIX: fix CSS ordering between certain kinds of addon CSS by @kandhavivekraj
  • COMPAT: updated compat adapter for ember-data 3.15 by @jenweber

0.9.0

  • DOCS: improved README example code by @jenweber
  • PERFORMANCE: memoize template compiler, by @kratiahuja and @stefanpenner
  • BUGFIX: fix implicit-modules in apps with NPM scoped names
  • BUGFIX: keep json and wasm as default resolvable extensions
  • COMPAT: short-circuit template compilation to be compatible with addons with broken template preprocessors but no templates

0.8.0

  • HOUSEKEEPING: upgrade css-loader.
  • BUGFIX: include nested CSS files from addons that use no preprocessor
  • ENHANCEMENT: support addons that customize treeForStyles and don't call super, by @simonihmig.
  • DOCS: improvement to README by @simonihmig
  • HOUSEKEEPING: update for compatibility with newest ember-cli-htmlbars

0.7.1

  • BUGFIX: changes to CSS and public assets were not always reflected after rebuilds

0.7.0

  • HOUSEKEEPING: multiple fixes and improvements by @stefanpenner
  • ENHANCEMENT: treat dotfiles the same way ember-cli does by @thoov
  • HOUSEKEEPING: upgrade babel plugin-debug-macros by @k-fish
  • ENHANCEMENT: compatibility with app.import from node_modules with outputFile option
  • ENHANCEMENT: build performance improvement by caching v2tree by @tmquinn
  • ENHANCEMENT: allow interactive rebuilds of addons by @thoov
  • ENHANCEMENT: fastboot compatibility improves by @dnalagatla
  • ENHANCEMENT: support node's mjs extension by @knownasilya
  • ENHANCEMENT: usage of getOrCreate cleaned up by @2hu12
  • ENHANCEMENT: add support for nested angle components by @josemarluedke
  • ENHANCEMENT: add support for pod module prefix by @josemarluedke
  • ENHANCEMENT: add support for ember's new on and fn by @josemarluedke
  • ENHANCEMENT: add compatibility rules for ember-basic-dropdown v2 by @josemarluedke
  • DOCS: improved readme code samples by @efx

0.6.0

  • BUGFIX: make renamed implicit-modules work
  • ENHANCEMENT: expose outputPath from the standard build pipeline
  • ENHANCEMENT: fix a build error when building ember engines
  • BUGFIX: fix template compiler serialization during rebuilds
  • ENHANCEMENT: improved test coverage of app.import with prepend, by @stefanpenner
  • ENHANCEMENT: add support for app.import with the destDir argument, by @balinterdi
  • ENHANCEMENT: teach resolver about Ember's component invocation dot rules
  • ENHANCEMENT: teach resolver about more of Ember's built-ins

0.5.1

  • COMPAT: tolerate addons that overwrite their own files

0.5.0

  • COMPAT: added a compatAdapter for ember-svg-jar
  • ENHANCEMENT: apps that use ember-cli-typescript are now supported
  • BUGFIX: respect the app's custom babel config (this was a regression)
  • COMPAT: try to match ember-cli's file-smooshing priority more closely when an addon is consumed multiple times
  • BUGFIX: don't mess with bare require in non-Ember packages.
  • COMPAT: adjust compatibility adapter for ember-data 3.11
  • BUGFIX: correctly handled a renamed module inside a renamed package by @stefanpenner
  • ENHANCEMENT: implement the outputFile option to app.import, by @stefanpenner
  • BUGFIX: windows path handling by @lifeart
  • ENHANCEMENT: skip the OneShot optimization on broccoli versions that don't need it, by @thoov
  • BUGFIX: error message formatting on windows by @lifeart
  • BUGFIX: don't leak the full filesystem path in compiled templates, by @lifeart
  • BUGFIX: support a blank pod prefix by @lifeart
  • BUGFIX: ignore new built-in angle-bracket components: Input, LinkTo, TextArea. By @cyk.
  • HOUSEKEEPING: module name cleanup by @lifeart
  • ENHANCEMENT: allow unresolved style by @lifeart
  • HOUSEKEEPING: upgrade macro test fixtures by @stefanpenner
  • ENHANCEMENT: invoke ember-cli-babel to get its latest default babel config, by @stefanpenner

v0.4.3

  • BUGFIX: nested files were missing from previous published packages

v0.4.2

  • BUGFIX: changing so we only publish compiled artifacts. Making our own TS compile cleanly when consumed by arbitrary other TS packages is not simple.

v0.4.1

  • BUGFIX: typings for dependencies should also be dependencies, not devDependencies. This fixes consumption by other TS packages.

v0.4.0

  • BUGFIX: windows path handling fixes by @lifeart
  • ENHANCEMENT: apply babel to all directly-imported, third-party packages, unless explicitly opted out.
  • ENHANCEMENT: implement the importSync macro as public API for synchronous dynamic imports
  • ENHANCEMENT: support classic addons that stubbornly emit AMD despite our best efforts to disable their internal babel module transpilation, by @stefanpenner
  • BUGFIX: correct the way we copy shared options objects on classic addon instances by @2hu12
  • ENHANCEMENT: integrate with Ember's test system so that settled waits for lazy routes to load
  • BUGFIX: compatibility with master ember-cli, which stopped filtering out non-JS files from trees like treeForAddon
  • BUGFIX: don't automagically include node polyfills. A similar change was made in ember-auto-import for consistency.
  • ENHANCEMENT: switch to using ember-cli-babel's public API to avoid compatibility issues, now that it provides serializable plugin configs, by @stefanpenner
  • ENHANCEMENT: resolve dependencies in treeForApp relative to the addon that authored the module, not the app itself
  • ENHANCEMENT: support non-typical addons that do their own extensions to the ember-cli-provided Addon base class
  • ENHANCEMENT: improve ember-template-compiler loading for compat with a broader range of ember versions.
  • DOCS: instructions on how to analyze build output, by @efx
  • ENHANCEMENT: ensure that all active classic addons can always resolve each other, even when that would not normally be possible via node_modules resolution
  • BUGFIX: don't double-handle renaming at both the package and module levels, by @jenweber
  • BUGFIX: implicitly-included templates were registered under the wrong name, by @jenweber
  • ENHANCEMENT: refer to modules by shorter relative paths whenever possible
  • ENHANCEMENT: added compat adapter for ember-inflector
  • ENHANCEMENT: smarter merging of package.json as part of in-progress fastboot support, by @dnalagatla
  • ENHANCEMENT: support classic addons that need renaming of a single module without renaming a whole package
  • ENHANCEMENT: support classic addons that mix two different formats ("/modules" and no "/modules" filesystem structure) in treeForAddon
  • ENHANCEMENT: support customized rootURL

v0.3.5

  • BUGFIX: fixed a bug in the new externals system that was introduced in v0.3.4.
  • ENHANCEMENT: added failBuild macro for providing late build-time errors from addons.
  • BUGFIX: handle addons that fail to call super in treeForAddon and emit files into nonstandard namespaces.
  • BUGFIX: support addons that emit a single JS file, rather than a directory, in their test-support tree.
  • DOCS: some updates to SPEC.md
  • BUGFIX: fixed an infinite recursion bug when addons have a cycle
  • BUGFIX: added a clear warning when symlinks contain nonsense, by @stefanpenner.
  • BUGFIX: support addons that make this.options a function rather than a POJO, by @patocallaghan.

v0.3.4

  • BUGFIX: we now correctly handle all known imports of hbs files, including "pods-like" addons that kepts their templates in nonstandard places.
  • BUGFIX: warning printer output was incorrect
  • BUGFIX: the dependencySatisfies macros now behave as expected when a prerelease version is present

v0.3.3

  • BUGFIX: lock our webpack version to workaround an upstream bug

v0.3.2

  • BUGFIX: support static component & helper resolution inside inline hbs
  • BUGFIX: better compatibility with addons that depend on other addons implicitly
  • BUGFIX: move extraImports to very start of the module they're inside
  • BUGFIX: always use correct babel config and major version when parsing for imports
  • BUGFIX: always use correct babel major verison in stage3

v0.3.1

  • BUGFIX: addons with CSS preprocessors would result in missing implicit-styles dependency errors

v0.3.0

  • route-based code splitting
  • build performance improvements
  • bugfix when npm-linking namespaced packages
  • support in-repo addons and addon dummy apps

v0.2.0

  • allow template compiler parallelization in @embroider/webpack
  • improved options for benchmarking core vs compat separately
  • bugfixes to portable plugin config that allow more apps to use parallel babel
  • test & linting system improvements by @Turbo87

v0.1.0

  • first release of the 0.1.0 series (there were 12 0.0.x releases already, which were too unstable to bother putting in a changelog.
  • includes full support for statically resolving components and helpers