Releases: salesforce/eslint-plugin-lwc
Releases · salesforce/eslint-plugin-lwc
v3.0.0-beta.1
Breaking Changes
- feat!: update dependency to eslint v9, drop support for eslint v8 and older @W-17445058 by @ravijayaramappa in #176
Full Changelog: v2.0.0...v3.0.0-beta.1
v2.0.0
Breaking change
- feat!: @W-17529338 reformat SSR rules to support eslint v9 by @abhagta-sfdc in #180
- The ssr related rule names have been renamed from @lwc/lwc/ssr/no-xxx to @lwc/lwc/ssr-no-xxx. For example:
ssr/no-unsupported-properties
tossr-no-unsupported-properties
. This aligns the rule names with ESLint recommendation not to use/
character in rule names. Not making this change will make the rule incompatible with ESLint v9's flat config format.
- The ssr related rule names have been renamed from @lwc/lwc/ssr/no-xxx to @lwc/lwc/ssr-no-xxx. For example:
- feat!: major release v2.0.0 by @ravijayaramappa in #182
What's Changed
Full Changelog: v1.9.0...v2.0.0
v1.9.0
What's Changed
- chore(deps): bump braces from 3.0.2 to 3.0.3 by @dependabot in #155
- fix: bug in valid-graphql-wire-adapter-callback-parameters rule by @emanchan in #162
- Update @lwc/lwc/valid-api eslint for data by @Templarian in #161
- New rule 'no-unguarded-host-mutation' by @Shinoni in #165
- New rule 'no unsupported Node APIs in SSR-able components' by @Shinoni in #167
- @W-15205324 New rule - disallow import of scoped modules by @Shinoni in #164
- @W-17014785 new format for SSR rules by @abhagta-sfdc in #170
- chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 by @dependabot in #172
- @W-17070457 Allow multi conditional !import.meta.env.SSR statements by @a-chabot in #171
New Contributors
- @Templarian made their first contribution in #161
- @Shinoni made their first contribution in #165
- @abhagta-sfdc made their first contribution in #170
- @a-chabot made their first contribution in #171
Full Changelog: v1.8.2...v1.9.0
v1.8.0
What's Changed
- chore: dependencies update by @ravijayaramappa in #143
- chore: update non-breaking dependencies by @nolanlawson in #145
- chore(deps): bump semver from 6.3.0 to 7.6.0 by @dependabot in #146
- chore: node v20 by @ekashida in #147
- feat: add valid graphql wire adapter callback parameters rule by @emanchan in #144
New Contributors
Full Changelog: v1.7.2...v1.8.0
v1.7.2
What's Changed
- fix: use node v18 while deploying by @abdulsattar in #140
- feat: update rule
no-browser-globals-during-ssr
to be more open by @seckardt in #138
Full Changelog: v1.7.0...v1.7.2
v1.7.0
What's Changed
- chore(deps): bump @babel/traverse from 7.20.13 to 7.23.2 by @dependabot in #131
- chore: node v18 by @ekashida in #128
- feat: update rule
no-unsupported-ssr-properties
to reflect SSR best practices @W-14387292 by @seckardt in #133 - feat: enforce
import.meta
guard due to LWC compiler behavior @W-14387292 by @seckardt in #134 - chore: update dependencies and resolve deprecation warnings by @jye-sf in #135
Full Changelog: v1.6.4...v1.7.0
v1.6.4
What's Changed
- chore(deps-dev): bump semver from 7.3.8 to 7.5.2 by @dependabot in #123
- chore: specify node 16 for CI by @ravijayaramappa in #125
- chore: routine dependencies update by @ravijayaramappa in #124
- feat: add no node env ssr rule by @khangsfdc in #130
- feat: update rule
no-restricted-browser-globals-during-ssr
to reflect best practices @W-14336890 by @seckardt in #132
New Contributors
- @khangsfdc made their first contribution in #130
Full Changelog: v1.6.3...v1.6.4
v1.6.3
What's Changed
- fix: allow
import.meta.env.SSR
check by @abdulsattar in #122
Full Changelog: v1.6.2...v1.6.3
v1.6.2
v1.6.1
What's Changed
- chore(deps): bump json5 from 2.2.1 to 2.2.3 by @dependabot in #111
- chore: update deps by @abdulsattar, @jye-sf, @jmsjtu
- feat: add eslint rules for SSR by @abdulsattar in #107
New Contributors
Full Changelog: v1.5.1...v1.6.1