Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Glimmer.js to the latest #102

Merged
merged 1 commit into from
Mar 25, 2021
Merged

Conversation

pzuraq
Copy link
Member

@pzuraq pzuraq commented Mar 25, 2021

Updates Glimmer.js to the latest, and also updates a number of APIs:

Breaking Changes

  • Removes @glimmerx/babel-plugin-component-templates, replaces it with
    @glimmerx/babel-preset which wraps @glimmer/babel-preset. This
    uses babel-plugin-htmlbars-inline-precompile, which is the same
    inline precompiler used by Ember.js now, so we are synced between the
    two frameworks.
  • Removes support for Ember < 3.25, @glimmerx/component will only work
    with versions of Ember that support strict mode.
  • Adds @glimmerx/webpack-loader, which is now required to run before
    the Babel loader.
  • Removes TemplateArgs export as a type.

Other Changes

  • Adds support for .gts and .gjs
  • Re-exports fn and on from Ember for usage in the Ember version of
    the addons
  • Implements helper() for use in defining helpers in Ember

@pzuraq pzuraq force-pushed the update-to-latest-glimmer-js branch 2 times, most recently from 36d61b4 to cc9f840 Compare March 25, 2021 20:20
packages/@glimmerx/blueprint/files/webpack.config.js Outdated Show resolved Hide resolved
packages/@glimmerx/component/package.json Outdated Show resolved Hide resolved
packages/@glimmerx/webpack-loader/index.js Outdated Show resolved Hide resolved
@pzuraq pzuraq force-pushed the update-to-latest-glimmer-js branch 3 times, most recently from 9cc7ca1 to 3e34394 Compare March 25, 2021 21:55
Updates Glimmer.js to the latest, and also updates a number of APIs:

\## Breaking Changes

- Removes `@glimmerx/babel-plugin-component-templates`, replaces it with
  `@glimmerx/babel-preset` which wraps `@glimmer/babel-preset`. This
  uses `babel-plugin-htmlbars-inline-precompile`, which is the same
  inline precompiler used by Ember.js now, so we are synced between the
  two frameworks.
- Removes support for Ember < 3.25, `@glimmerx/component` will only work
  with versions of Ember that support strict mode.
- Adds `@glimmerx/webpack-loader`, which is now required to run before
  the Babel loader.
- Removes `TemplateArgs` export as a type.

\## Other Changes

- Adds support for `.gts` and `.gjs`
- Re-exports `fn` and `on` from Ember for usage in the Ember version of
  the addons
- Implements `helper()` for use in defining helpers in Ember
@pzuraq pzuraq force-pushed the update-to-latest-glimmer-js branch from 3e34394 to c32ca4b Compare March 25, 2021 22:03
@pzuraq pzuraq merged commit df81557 into master Mar 25, 2021
@pzuraq pzuraq deleted the update-to-latest-glimmer-js branch March 25, 2021 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants