-
Notifications
You must be signed in to change notification settings - Fork 238
Closed
Description
Planned changes for v4
- Add
exportsto package.json to restrict access to private internals #2208- Expose
generateRuleTestsas named export in public NodeJS API #2209 - Should we expose
lib/helpers/create-error-message(used here)? For now, decided no.
- Expose
- Convert to ESM #2262
- Require Node
^12.22.0 || ^14.17.0 || >=16.0.0#2176 - Remove deprecated CLI options
- Remove deprecated properties / behavior
-
// TODO: add a deprecation for accessing _filePath -
The _moduleName property used in the '${this.ruleName}' rule has been removed. Please use _filePath instead.
-
- Update core linting / rule reporting behavior
- Remove deprecated rules
- Update rule configs
- Update rule behavior
- Update
no-invalid-link-titlerule to check for link title being substring of link text #1881 - Update
no-invalid-link-textrule to setallowEmptyLinksoption default tofalse#2195 - Update
no-bare-stringsrule to check the arguments to{{page-title ...}}helper #2089 - Update
no-bare-stringsrule options to augment instead of replace the default config #2241 - Update
no-element-event-actionsrule to setrequireActionHelperoption default tofalse#2278 - Rename and narrow rule
no-down-event-bindingtono-pointer-down-event-binding#2054 (only will be included if PR gets finished)
- Update
- Update test behavior
- Testing: Disallow unexpected properties in rule test cases #2216
- Testing: Require auto-fixable test cases to assert the fixed template #2217
- Testing: Only fixable test cases are allowed to assert
fixedTemplate#2230 - Testing: Disallow identical
templateandfixedTemplatein a test case #2240 - Testing: Disallow duplicate test cases #2279
- Remove
pendinginternals - Update core TODO functionality
- Update config file behavior
- Update non-ESM dependencies
- Update ESM dependencies
- Update chalk to v5 #2292 (dependency)
- Update execa to v6 #2295 (dev-dependency)
- Upgrade
find-upto v6 #2293 (dependency) - Upgrade
get-stdinto v9 #2294 (dependency) - Upgrade
globbyto v6 #2296 (dependency)
- New features unblocked in v4
- Add v4 migration guide #2297
Future changes for v5
- Require rules with options to provide a JSON Schema in
meta.optionslike ESLint. This is a large feature and requires themetaproperty for rules to be implemented.
Pre-release checklist:
- Release a minor/patch version ahead of the major release for any non-breaking changes
- Test with Ember v4
- Test on large codebases
- Advertise in Ember Times newsletter: Add
ember-template-lint v4section toNo. 192 - November 28th 2021ember-learn/ember-blog#1061
Post-release checklist:
- Advertise in Ember Times newsletter: Add
ember-template-lint v4section to No. 194 ember-learn/ember-blog#1086 - Upgrade to
ember-template-lintv4 in blueprint ember-cli/ember-cli#9753
Pre-release versions:
- v4.0.0-beta.3 (2021-12-29)
- v4.0.0-beta.2 (2021-12-23)
- v4.0.0-beta.1 (2021-12-15)
- v4.0.0-beta.0 (2021-12-03)
- v4.0.0-alpha.0 (2021-11-24)
See the migration guide for a summary.
Please edit this list directly or reply in a comment to suggest additional changes to include or provide feedback about existing changes. Help with testing or implementing changes/fixes is welcome!
For reference, V3 was released 2021-03-02 (#1315).
Release command for betas:
EDITOR=vim yarn release --preReleaseId=beta --npm.tag=next --github.preRelease
lifeart, dcyriller, bertdeblock and SergeAstapov