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

Bump @glint/environment-ember-loose from 0.8.3 to 0.9.7 #35

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 24, 2022

Bumps @glint/environment-ember-loose from 0.8.3 to 0.9.7.

Release notes

Sourced from @​glint/environment-ember-loose's releases.

v0.9.7

🐛 Bug Fix

Committers: 1

v0.9.6

Overview

This Glint release fixes a handful of bugs, as well as improving the friendliness of some common error messages.

It's also the first release that includes a new @glint/scripts package for codemods and other automation to ease migration and adoption of Glint in new packages.

Notes

TS 4.8 and render()

Prior to Glint v0.9.6, calls to render() with no explicit context type parameter in Ember rendering tests would implicitly type this as never in TypeScript = 4.8. The this type in such templates will now correctly be inferred as an empty value in TS 4.8+, meaning that any tests that previously typechecked code like {{this.foo}} because this was never will now correctly have type errors.

To fix these errors, you can either provide a correct context type e.g. render<{ foo: string }>(...), or you can opt to retain the previous "anything goes" behavior by writing render<any>(...) and explicitly acknowledging that you're typing this as any in the template.

Incremental Adoption

If you're currently using include and/or exclude to limit the files in your project that Glint typechecks, consider removing those entries and using the new auto-glint-nocheck script instead!

The script automatically adds a {{! @glint-nocheck }} comment at the top of any templates that don't yet typecheck, allowing you to get editor support (hover info, go-to-definition, refactorings, etc) even in templates that aren't yet typesafe.

npx -p @glint/scripts auto-glint-nocheck '{app,tests}/**/*.{ts,hbs,gts}'

Note that even if you run auto-glint-nocheck via npx (which is recommended), you'll still need to update your project to Glint 0.9.6 first, as the script uses your project-local copy of @glint/core and relies on some interfaces that were added in this release.

Detailed Changes

🚀 Enhancement

  • core, transform
  • environment-ember-loose
  • config, core, environment-ember-template-imports, scripts, transform, vscode

🐛 Bug Fix

... (truncated)

Commits
  • d85835a Release 0.9.7
  • 2baddfa Merge pull request #435 from typed-ember/fix-missing-scripts-dep
  • 4fbcb70 Add missing glob dependency to @glint/scripts
  • 9f45855 Merge pull request #433 from typed-ember/dependabot/npm_and_yarn/mout-1.2.4
  • 43d2014 Bump mout from 1.2.3 to 1.2.4
  • 4e08461 Upgrade release-it and plugins
  • bc57a52 Release 0.9.6
  • a589ed5 Merge pull request #432 from typed-ember/diagnostic-augmentation-improvements
  • 8471806 Add specialized message for attempted direct invocation of {{component}}
  • 70d987a Add specialized diagnostic message for {{component 'nonexistent-thing'}}
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@glint/environment-ember-loose](https://github.com/typed-ember/glint) from 0.8.3 to 0.9.7.
- [Release notes](https://github.com/typed-ember/glint/releases)
- [Changelog](https://github.com/typed-ember/glint/blob/main/.release-it.yml)
- [Commits](typed-ember/glint@0.8.3...0.9.7)

---
updated-dependencies:
- dependency-name: "@glint/environment-ember-loose"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added 📝 skip Changelog | This PR SHOULD NOT be included in the changelog dependencies PR Updates a Dependency labels Oct 24, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 24, 2022

The following labels could not be found: :dart: canary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies PR Updates a Dependency 📝 skip Changelog | This PR SHOULD NOT be included in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants