Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 9, 2024
1 parent 0c560bf commit 1cf5348
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 29 deletions.
11 changes: 0 additions & 11 deletions .changeset/eighty-spiders-carry.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/sour-avocados-shave.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/stupid-jokes-tan.md

This file was deleted.

23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# codemod-missing-await-act

## 0.3.1

### Patch Changes

- [#58](https://github.com/eps1lon/codemod-missing-await-act/pull/58) [`ee5204e`](https://github.com/eps1lon/codemod-missing-await-act/commit/ee5204e429f3984d42fe15c9804fee34e56a109b) Thanks [@eps1lon](https://github.com/eps1lon)! - Support `React.act`

We previously didn't consider this method as newly async.

Even though it isn't `async` yet, we should start codemodding it as if it were.
We already codemodded `unstable_act` in the same way.
`unstable_act` is renamed to `act` in React 19, so we should be ready for this change.

- [#61](https://github.com/eps1lon/codemod-missing-await-act/pull/61) [`b102b63`](https://github.com/eps1lon/codemod-missing-await-act/commit/b102b63d26e9eb886d3db6faeb83286594bb07b5) Thanks [@eps1lon](https://github.com/eps1lon)! - Log escaped bindings even if code wasn't changed

E.g. `export const myAct = scope => React.act(scope)` is newly async,
but we didn't used to log it because the code didn't change.
Now we do log it as escaped and recommend running the codemod again.

- [#60](https://github.com/eps1lon/codemod-missing-await-act/pull/60) [`f10a345`](https://github.com/eps1lon/codemod-missing-await-act/commit/f10a345d129bf785dfb63a3e75fc11e330743829) Thanks [@phryneas](https://github.com/phryneas)! - Add support for `using` syntax

Previously, the codemod couldn't be applied to files leveraging explicit resource
managmment with the `using` syntax.

## 0.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codemod-missing-await-act",
"version": "0.3.0",
"version": "0.3.1",
"bin": "bin/codemod-missing-await-act.cjs",
"repository": {
"type": "git",
Expand Down

0 comments on commit 1cf5348

Please sign in to comment.