Skip to content

Latest commit

 

History

History
161 lines (132 loc) · 6.57 KB

CHANGELOG.md

File metadata and controls

161 lines (132 loc) · 6.57 KB

Change Log

2023-10-23

NodeJS v20 required.

Everything re-branched from upstream. All bug fixes included from upstream.

Following polyfills have been removed:

"array.prototype.findlast"
"array.prototype.toreversed"

All notable changes to this project will be documented in this file.

2023-10-23

Everything re-branched from upstream. All bug fixes included from upstream.

Following polyfills have been removed:

"array.prototype.flatmap"
"object.entries"
"object.fromentries"
"object.hasown"
"object.values"

2023-04-09

Everything re-branched from upstream. All bug fixes included from upstream.

  • [sort-prop-types]: give errors on TS types (#3615 @akulsr0)
  • [no-invalid-html-attribute]: add support for apple-touch-startup-image rel attributes in link tags (#3638 @thomashockaday)
  • [no-unknown-property]: add requireDataLowercase option (#3645 @HermanBilous)
  • [no-unknown-property]: add displaystyle on <math> (#3652 @lounsbrough)
  • [prefer-read-only-props], [prop-types], component detection: allow components to be async functions (#3654 @pnodet)
  • [no-unknown-property]: support onResize on audio/video tags (#3662 @caesar1030)

Fixed

  • [jsx-no-leaked-render]: preserve RHS parens for multiline jsx elements while fixing (#3623 @akulsr0)
  • [jsx-key]: detect conditional returns (#3630 @yialo)
  • [jsx-newline]: prevent a crash when `allowMultilines (#3633 @ljharb)

Changed

  • [Refactor] propTypes: extract type params to var (#3634 @HenryBrown0)
  • [Refactor] [boolean-prop-naming]: invert if statement (#3634 @HenryBrown0)
  • [Refactor] [function-component-definition]: exit early if no type params (#3634 @HenryBrown0)
  • [Refactor] [jsx-props-no-multi-spaces]: extract type parameters to var (#3634 @HenryBrown0)
  • [Docs] [jsx-key]: fix correct example (#3656 @developer-bandi)

7.33.2 - 2023.08.15

Fixed

  • [no-deprecated]: prevent false positive on commonjs import (#3614 @akulsr0)
  • [no-unsafe]: report on the method instead of the entire component (@ljharb)
  • [no-deprecated]: report on the destructured property instead of the entire variable declarator (@ljharb)
  • [no-deprecated]: report on the imported specifier instead of the entire import statement (@ljharb)
  • [no-invalid-html-attribute]: report more granularly (@ljharb)

7.33.1 - 2023.07.29

Fixed

  • [require-default-props]: fix config schema (#3605 @controversial)
  • [jsx-curly-brace-presence]: Revert [#3538][] due to issues with intended string type casting usage (#3611 @taozhou-glean)
  • [sort-prop-types]: ensure sort-prop-types respects noSortAlphabetically (#3610 @caesar1030)

7.33.0 - 2023.07.19

Added

  • [forbid-component-props]: add disallowedFor option (#3417 @jacketwpbb)
  • [no-unused-state]: avoid crashing on a class field function with destructured state (#3568 @ljharb)
  • [no-unused-prop-types]: allow using spread with object expression in jsx (#3570 @akulsr0)
  • Revert "[destructuring-assignment]: Handle destructuring of useContext in SFC" (#3583 [#2797][] @102)
  • [prefer-read-only-props]: add TS support (#3593 @HenryBrown0)

Changed

  • [Docs] [jsx-newline], [no-unsafe], [static-property-placement]: Fix code syntax highlighting (#3563 @nbsp1221)
  • [readme] resore configuration URL (#3582 @gokaygurcan)
  • [Docs] [jsx-no-bind]: reword performance rationale (#3581 @gpoole)
  • [Docs] [jsx-first-prop-new-line]: add missing multiprop value (#3598 @dzek69)

2023-01-22

Everything re-branched from upstream. All bug fixes included from upstream.

2022-09-11

Everything re-branched from upstream. All bug fixes included from upstream.

2022-07-26

Everything re-branched from upstream. All bug fixes included from upstream.

2022-03-07

Everything re-branched from upstream. All bug fixes included from upstream.

2022-02-19

Everything re-branched from upstream. All bug fixes included from upstream.

New rules:

  • void-dom-elements-no-children
  • no-unused-class-component-methods
  • no-namespace
  • no-arrow-function-lifecycle
  • no-invalid-html-attribute
  • iframe-missing-sandbox

2021-04-16

Everything re-branched from upstream. All bug fixes included from upstream.

2020-05-29

Everything re-branched from upstream. All bug fixes included from upstream.

2019-08-11

Everything re-branched from upstream. All bug fixes included from upstream.

New rules:

  • jsx-curly-newline

  • jsx-fragments

  • jsx-props-no-spreading

  • state-in-constructor

  • static-property-placement

  • inferno/jsx-props-class-name [no-object-type-as-default-prop]: docs/rules/no-object-type-as-default-prop.md [sort-default-props]: docs/rules/sort-default-props.md