Skip to content

Commit 2569fa3

Browse files
committed
[compiler] Add changelog
Adds CHANGELOG.md. This entry contains changes from the very first beta `19.0.0-beta-9ee70a1-20241017` to `19.1.0-rc.1`.
1 parent 7213509 commit 2569fa3

File tree

1 file changed

+81
-0
lines changed

1 file changed

+81
-0
lines changed

compiler/CHANGELOG.md

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
## 19.1.0-rc.1 (April 21, 2025)
2+
3+
## eslint-plugin-react-hooks
4+
* Temporarily disable ref access in render validation [#32839](https://github.com/facebook/react/pull/32839) by [@poteto](https://github.com/poteto)
5+
* Fix type error with recommended config [#32666](https://github.com/facebook/react/pull/32666) by [@niklasholm](https://github.com/niklasholm)
6+
* Merge rule from eslint-plugin-react-compiler into `react-hooks` plugin [#32416](https://github.com/facebook/react/pull/32416) by [@michaelfaith](https://github.com/michaelfaith)
7+
* Add dev dependencies for typescript migration [#32279](https://github.com/facebook/react/pull/32279) by [@michaelfaith](https://github.com/michaelfaith)
8+
* Support v9 context api [#32045](https://github.com/facebook/react/pull/32045) by [@michaelfaith](https://github.com/michaelfaith)
9+
* Support eslint 8+ flat plugin syntax out of the box for eslint-plugin-react-compiler [#32120](https://github.com/facebook/react/pull/32120) by [@orta](https://github.com/orta)
10+
11+
## babel-plugin-react-compiler
12+
* Support satisfies operator [#32742](https://github.com/facebook/react/pull/32742) by [@rodrigofariow](https://github.com/rodrigofariow)
13+
* Fix inferEffectDependencies lint false positives [#32769](https://github.com/facebook/react/pull/32769) by [@mofeiZ](https://github.com/mofeiZ)
14+
* Fix hoisting of let declarations [#32724](https://github.com/facebook/react/pull/32724) by [@mofeiZ](https://github.com/mofeiZ)
15+
* Avoid failing builds when import specifiers conflict or shadow vars [#32663](https://github.com/facebook/react/pull/32663) by [@mofeiZ](https://github.com/mofeiZ)
16+
* Add Effect.ConditionallyMutateIterator [#32698](https://github.com/facebook/react/pull/32698) by [@mofeiZ](https://github.com/mofeiZ)
17+
* Add map and set constructors [#32697](https://github.com/facebook/react/pull/32697) by [@mofeiZ](https://github.com/mofeiZ)
18+
* Refactor similar CallExpression and MethodCall effect handling [#32696](https://github.com/facebook/react/pull/32696) by [@mofeiZ](https://github.com/mofeiZ)
19+
* mutableOnlyIfOperandsAreMutable does not apply when operands are globals [#32695](https://github.com/facebook/react/pull/32695) by [@mofeiZ](https://github.com/mofeiZ)
20+
* Optimize components declared with arrow function and implicit return and `compilationMode: 'infer'` [#31792](https://github.com/facebook/react/pull/31792) by [@dimaMachina](https://github.com/dimaMachina)
21+
* Don't insert hook guards in retry pipeline [#32665](https://github.com/facebook/react/pull/32665) by [@mofeiZ](https://github.com/mofeiZ)
22+
* Validate static components [#32683](https://github.com/facebook/react/pull/32683) by [@josephsavona](https://github.com/josephsavona)
23+
* Hoist dependencies from functions more conservatively [#32616](https://github.com/facebook/react/pull/32616) by [@mofeiZ](https://github.com/mofeiZ)
24+
* Implement NumericLiteral as ObjectPropertyKey [#31791](https://github.com/facebook/react/pull/31791) by [@dimaMachina](https://github.com/dimaMachina)
25+
* Detect and throw on untransformed required features [#32512](https://github.com/facebook/react/pull/32512) by [@mofeiZ](https://github.com/mofeiZ)
26+
* Clean up retry pipeline: `fireRetry` flag -> compileMode [#32511](https://github.com/facebook/react/pull/32511) by [@mofeiZ](https://github.com/mofeiZ)
27+
* Avoid bailouts when inserting gating [#32598](https://github.com/facebook/react/pull/32598) by [@mofeiZ](https://github.com/mofeiZ)
28+
* Stop bailing out early for hoisted gated functions [#32597](https://github.com/facebook/react/pull/32597) by [@mofeiZ](https://github.com/mofeiZ)
29+
* Only fail gating hoisting check for referenced identifiers [#32596](https://github.com/facebook/react/pull/32596) by [@mofeiZ](https://github.com/mofeiZ)
30+
* More shapes for mixedreadonly [#32594](https://github.com/facebook/react/pull/32594) by [@mofeiZ](https://github.com/mofeiZ)
31+
* Infer mixedReadOnly for numeric and computed properties [#32593](https://github.com/facebook/react/pull/32593) by [@mofeiZ](https://github.com/mofeiZ)
32+
* Add shape for Array.from [#32522](https://github.com/facebook/react/pull/32522) by [@mofeiZ](https://github.com/mofeiZ)
33+
* Patch array and argument spread mutability [#32521](https://github.com/facebook/react/pull/32521) by [@mofeiZ](https://github.com/mofeiZ)
34+
* Repro for object spread and Array.from with mutable iterators [#32520](https://github.com/facebook/react/pull/32520) by [@mofeiZ](https://github.com/mofeiZ)
35+
* Make CompilerError compatible with reflection [#32539](https://github.com/facebook/react/pull/32539) by [@poteto](https://github.com/poteto)
36+
* Remove invariant to account for backedges [#32417](https://github.com/facebook/react/pull/32417) by [@mofeiZ](https://github.com/mofeiZ)
37+
* Represent array accesses with PropertyLoad [#32287](https://github.com/facebook/react/pull/32287) by [@mofeiZ](https://github.com/mofeiZ)
38+
* Add simple walltime measurement [#32331](https://github.com/facebook/react/pull/32331) by [@poteto](https://github.com/poteto)
39+
* Improve error messages for unhandled terminal and instruction kinds [#32324](https://github.com/facebook/react/pull/32324) by [@inottn](https://github.com/inottn)
40+
* Handle TSInstantiationExpression in lowerExpression [#32302](https://github.com/facebook/react/pull/32302) by [@inottn](https://github.com/inottn)
41+
* Fix invalid Array.map type [#32095](https://github.com/facebook/react/pull/32095) by [@mofeiZ](https://github.com/mofeiZ)
42+
* Patch for JSX escape sequences in @babel/generator [#32131](https://github.com/facebook/react/pull/32131) by [@mofeiZ](https://github.com/mofeiZ)
43+
* `JSXText` emits incorrect with bracket [#32138](https://github.com/facebook/react/pull/32138) by [@himself65](https://github.com/himself65)
44+
* Validation against calling impure functions [#31960](https://github.com/facebook/react/pull/31960) by [@josephsavona](https://github.com/josephsavona)
45+
* Always target node [#32091](https://github.com/facebook/react/pull/32091) by [@poteto](https://github.com/poteto)
46+
* Patch compilationMode:infer object method edge case [#32055](https://github.com/facebook/react/pull/32055) by [@mofeiZ](https://github.com/mofeiZ)
47+
* Generate ts defs [#31994](https://github.com/facebook/react/pull/31994) by [@poteto](https://github.com/poteto)
48+
* Relax react peer dep requirement [#31915](https://github.com/facebook/react/pull/31915) by [@poteto](https://github.com/poteto)
49+
* Allow type cast expressions with refs [#31871](https://github.com/facebook/react/pull/31871) by [@josephsavona](https://github.com/josephsavona)
50+
* Add shape for global Object.keys [#31583](https://github.com/facebook/react/pull/31583) by [@mofeiZ](https://github.com/mofeiZ)
51+
* Context variables as dependencies [#31582](https://github.com/facebook/react/pull/31582) by [@mofeiZ](https://github.com/mofeiZ)
52+
* Optimize method calls w props receiver [#31775](https://github.com/facebook/react/pull/31775) by [@josephsavona](https://github.com/josephsavona)
53+
* Fix dropped ref with spread props in InlineJsxTransform [#31726](https://github.com/facebook/react/pull/31726) by [@jackpope](https://github.com/jackpope)
54+
* Support for non-declatation for in/of iterators [#31710](https://github.com/facebook/react/pull/31710) by [@mvitousek](https://github.com/mvitousek)
55+
* Support for context variable loop iterators [#31709](https://github.com/facebook/react/pull/31709) by [@mvitousek](https://github.com/mvitousek)
56+
* Replace deprecated dependency in `eslint-plugin-react-compiler` [#31629](https://github.com/facebook/react/pull/31629) by [@rakleed](https://github.com/rakleed)
57+
* Prune all unused array destructure items during DCE [#31619](https://github.com/facebook/react/pull/31619) by [@josephsavona](https://github.com/josephsavona)
58+
* Support enableRefAsProp in jsx transform [#31558](https://github.com/facebook/react/pull/31558) by [@jackpope](https://github.com/jackpope)
59+
* Clean up nested function context in DCE [#31202](https://github.com/facebook/react/pull/31202) by [@mofeiZ](https://github.com/mofeiZ)
60+
* Lower JSXMemberExpression with LoadLocal [#31201](https://github.com/facebook/react/pull/31201) by [@mofeiZ](https://github.com/mofeiZ)
61+
* Stop using function `dependencies` in propagateScopeDeps [#31200](https://github.com/facebook/react/pull/31200) by [@mofeiZ](https://github.com/mofeiZ)
62+
* Fix: ref.current now correctly reactive [#31521](https://github.com/facebook/react/pull/31521) by [@mofeiZ](https://github.com/mofeiZ)
63+
* Outline JSX with non-jsx children [#31442](https://github.com/facebook/react/pull/31442) by [@gsathya](https://github.com/gsathya)
64+
* Outline jsx with duplicate attributes [#31441](https://github.com/facebook/react/pull/31441) by [@gsathya](https://github.com/gsathya)
65+
* Store original and new prop names [#31440](https://github.com/facebook/react/pull/31440) by [@gsathya](https://github.com/gsathya)
66+
* Collect temporaries and optional chains from inner functions [#31346](https://github.com/facebook/react/pull/31346) by [@mofeiZ](https://github.com/mofeiZ)
67+
* Delete propagateScopeDeps (non-hir) [#31199](https://github.com/facebook/react/pull/31199) by [@mofeiZ](https://github.com/mofeiZ)
68+
* Stabilize compiler output: sort deps and decls by name [#31362](https://github.com/facebook/react/pull/31362) by [@mofeiZ](https://github.com/mofeiZ)
69+
* Rewrite scope dep/decl in inlineJsxTransform [#31431](https://github.com/facebook/react/pull/31431) by [@mofeiZ](https://github.com/mofeiZ)
70+
* Bugfix for hoistable deps for nested functions [#31345](https://github.com/facebook/react/pull/31345) by [@mofeiZ](https://github.com/mofeiZ)
71+
* Patch hoistability for ObjectMethods [#31197](https://github.com/facebook/react/pull/31197) by [@mofeiZ](https://github.com/mofeiZ)
72+
* Remove compiler runtime-compat fixture library [#31430](https://github.com/facebook/react/pull/31430) by [@poteto](https://github.com/poteto)
73+
* Wrap inline jsx transform codegen in conditional [#31267](https://github.com/facebook/react/pull/31267) by [@jackpope](https://github.com/jackpope)
74+
* Check if local identifier is a hook when resolving globals [#31384](https://github.com/facebook/react/pull/31384) by [@poteto](https://github.com/poteto)
75+
* Handle member expr as computed property [#31344](https://github.com/facebook/react/pull/31344) by [@gsathya](https://github.com/gsathya)
76+
* Fix to ref access check to ban ref?.current [#31360](https://github.com/facebook/react/pull/31360) by [@mvitousek](https://github.com/mvitousek)
77+
* InlineJSXTransform transforms jsx inside function expressions [#31282](https://github.com/facebook/react/pull/31282) by [@josephsavona](https://github.com/josephsavona)
78+
79+
## Other
80+
* Add shebang to banner [#32225](https://github.com/facebook/react/pull/32225) by [@Jeremy-Hibiki](https://github.com/Jeremy-Hibiki)
81+
* remove terser from react-compiler-runtime build [#31326](https://github.com/facebook/react/pull/31326) by [@henryqdineen](https://github.com/henryqdineen)

0 commit comments

Comments
 (0)