Skip to content

Updated @glimmer/syntax to v0.97 - #372

Merged
ijlee2 merged 1 commit into
ijlee2:mainfrom
johanrd:chore/glimmer-syntax-range
Oct 22, 2026
Merged

ijlee2 merged 1 commit into
ijlee2:mainfrom
johanrd:chore/glimmer-syntax-range

Conversation

@johanrd

@johanrd johanrd commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Updates @codemod-utils/ast-template to @glimmer/syntax 0.97.0, which caches newline offsets in Source (emberjs/ember.js#21314, about 20–35% faster template transforms in ember-content-mapper). It is also the first release since 0.95 with types: 0.96.0 shipped without them.

The lockfile only swaps the @glimmer/syntax entries. The tests of ast-template (151) and ast-template-tag (87) pass.

🤖 Generated with Claude Code

Comment thread packages/ast/template/package.json Outdated
},
"dependencies": {
"@glimmer/syntax": "^0.95.0"
"@glimmer/syntax": ">= 0.95.0"

@ijlee2 ijlee2 Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, I'd prefer writing down the latest version. Would it better to write ^0.97.0 instead (would having multiple copies of @glimmer/syntax be an issue in the end-consumer's project)? I skimmed the changelog and didn't see something resembling a breaking change.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, sure. For a codemod the ecosystem compat of having two versions doesn't matter as much. Changed now.

Comment thread pnpm-lock.yaml
Comment on lines -3065 to -3070
'@glimmer/syntax@0.95.0':
'@glimmer/syntax@0.97.0':
dependencies:
'@glimmer/interfaces': 0.94.6
'@glimmer/util': 0.94.8
'@glimmer/wire-format': 0.94.8
'@handlebars/parser': 2.2.2

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice to see fewer dependencies (these had been moved to devDependencies in emberjs/ember.js#21560).

@ijlee2 ijlee2 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@johanrd Thanks for following up on your contributions to @glimmer/syntax. Just have a question regarding whether to specify ^0.97.0, >= 0.97.0, or >= 0.95.0.

If you have time, can you set up a signature verification? I can still merge the pull request without, but would prefer to see one. Once you have set it up, you may need to recreate your commit (e.g. with git reset --hard HEAD~1 followed by git cherry-pick c94ea92) so that the Verified label appears in the Commits tab.

An example

@johanrd
johanrd force-pushed the chore/glimmer-syntax-range branch from c94ea92 to 5cbb301 Compare October 22, 2026 07:19
@johanrd johanrd changed the title Widened the range of @glimmer/syntax to >= 0.95.0 Updated @glimmer/syntax to v0.97 Oct 22, 2026
@johanrd

johanrd commented Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

If you have time, can you set up a signature verification?

Thanks, done.

@ijlee2 ijlee2 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appreciate your help!

@ijlee2
ijlee2 merged commit 4e43cfb into ijlee2:main Oct 22, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants