Skip to content

Commit eafdc35

Browse files
authored
Merge branch 'emberjs:main' into template-tag-blueprints
2 parents 142edd0 + c521894 commit eafdc35

File tree

34 files changed

+4193
-4523
lines changed

34 files changed

+4193
-4523
lines changed

.eslintrc.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,8 @@ module.exports = {
137137
'testem.js',
138138
'testem.ci-browsers.js',
139139
'testem.browserstack.js',
140-
'd8-runner.js',
141140
'broccoli/**/*.js',
142141
'ember-cli-build.js',
143-
'rollup.config.js',
144142
],
145143

146144
parserOptions: {
@@ -153,8 +151,8 @@ module.exports = {
153151
es6: true,
154152
},
155153

156-
plugins: ['node'],
157-
extends: ['plugin:node/recommended'],
154+
plugins: ['n'],
155+
extends: ['plugin:n/recommended'],
158156
rules: {
159157
// add your custom rules and overrides for node files here
160158
'no-process-exit': 'off',

CHANGELOG.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,31 @@
11
# Ember Changelog
22

3-
## v5.2.0-beta.4 (July 17, 2023)
3+
## v5.4.0-beta.1 (September 18, 2023)
44

5-
- [#20501](https://github.com/emberjs/ember.js/pull/20501) [BUGFIX] Fix the types for the mutation-methods of `NativeArray`
5+
- [#20521](https://github.com/emberjs/ember.js/pull/20521) [FEATURE] Add TypeScript support for looking up controllers in DI registry
6+
- [#20529](https://github.com/emberjs/ember.js/pull/20529) [BUGFIX] Don't rethrow string errors in handleTransitionReject
7+
- [#20210](https://github.com/emberjs/ember.js/pull/20210) [BUGFIX] Fix hanging tests caused by legacy rsvp code
8+
- [#20530](https://github.com/emberjs/ember.js/pull/20530) Upgrade the Glimmer VM to 0.84.3
69

7-
## v4.12.3 (June 30, 2023)
10+
## v5.3.0 (September 18, 2023)
811

9-
- [#20493](https://github.com/emberjs/ember.js/pull/20493) [BUGFIX] Backport more types fixes
12+
- [#20376](https://github.com/emberjs/ember.js/pull/20376) / [#20524](https://github.com/emberjs/ember.js/pull/20524) [DEPRECATION] Deprecate implicit record loading in Ember Route per [RFC #774](https://rfcs.emberjs.com/id/0774-implicit-record-route-loading).
1013

11-
## v5.2.0-beta.3 (June 30, 2023)
14+
## v5.2.0 (August 7, 2023)
1215

13-
- [#20491](https://github.com/emberjs/ember.js/pull/20491) [BUGFIX] Types: EmberComponent's `element` is an `Element`
14-
- [#20492](https://github.com/emberjs/ember.js/pull/20492) [BUGFIX] Types: EmberComponent init can have no args
16+
- [#20464](https://github.com/emberjs/ember.js/pull/20464) [FEATURE] Create public import for uniqueId helper per [RFC #659](https://rfcs.emberjs.com/id/0659-unique-id-helper).
17+
- [#20505](https://github.com/emberjs/ember.js/pull/20505) [BUGFIX] Remove use of `this.element` in `component-test` and `helper-test` blueprints
18+
- [#20501](https://github.com/emberjs/ember.js/pull/20501) [BUGFIX] Fix the types for the mutation-methods of `NativeArray`
19+
- [#20477](https://github.com/emberjs/ember.js/pull/20477) Upgrade TS and configure TS CI accordingly to test against TS 4.9, 5.0, and 5.1
1520

1621
## v5.1.2 (June 30, 2023)
1722

1823
- [#20491](https://github.com/emberjs/ember.js/pull/20491) [BUGFIX] Types: EmberComponent's `element` is an `Element`
1924
- [#20492](https://github.com/emberjs/ember.js/pull/20492) [BUGFIX] Types: EmberComponent init can have no args
2025

21-
## v5.2.0-beta.2 (June 29, 2023)
26+
## v4.12.3 (June 30, 2023)
2227

23-
- [#20480](https://github.com/emberjs/ember.js/pull/20480) [BUGFIX] Fix type dependency issues
24-
- [#20482](https://github.com/emberjs/ember.js/pull/20482) [BUGFIX] Types: Allow `store` to be injected on `Route`
25-
- [#20489](https://github.com/emberjs/ember.js/pull/20489) [BUGFIX] Fix types for Resolver contract
26-
- [#20490](https://github.com/emberjs/ember.js/pull/20490) [BUGFIX] Types: Fix model arg to a Route `serialize`
28+
- [#20493](https://github.com/emberjs/ember.js/pull/20493) [BUGFIX] Backport more types fixes
2729

2830
## v5.1.1 (June 29, 2023)
2931

@@ -36,11 +38,6 @@
3638

3739
- [#20481](https://github.com/emberjs/ember.js/pull/20481) [BUGFIX] Backport some stable type import locations
3840

39-
## v5.2.0-beta.1 (June 26, 2023)
40-
41-
- [#20464](https://github.com/emberjs/ember.js/pull/20464) [FEATURE] Create public import for uniqueId helper per [RFC #659](https://rfcs.emberjs.com/id/0659-unique-id-helper).
42-
- [#20477](https://github.com/emberjs/ember.js/pull/20477) Upgrade TS and configure TS CI accordingly to test against TS 4.9, 5.0, and 5.1
43-
4441
## v5.1.0 (June 26, 2023)
4542

4643
- [#20449](https://github.com/emberjs/ember.js/pull/20449) [FEATURE] Publish stable types for Ember per [RFC #800](https://rfcs.emberjs.com/id/0800-ts-adoption-plan).

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
1. Go to [https://github.com/emberjs/ember.js/releases](https://github.com/emberjs/ember.js/releases)
4242
1. Click on the most recent tag (2.5.0-beta.2), and then click "Edit"
4343
1. Start with `### Changelog` and copy/paste the changelog into the box
44-
1. Make the title `Ember 2.5.0-beta.2` and check "This is a prerelease" for betas
44+
1. Make the title `Ember 2.5.0-beta.2` and check "This is a pre-release" for betas
4545
1. Update [builds page](https://github.com/ember-learn/builds/tree/master/app/fixtures/ember)
4646
1. Deploy
4747

bin/build-for-publishing.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ Promise.resolve()
9393
// eslint-disable-next-line
9494
console.log('build-for-publishing failed');
9595
// failure, must manually exit non-zero
96+
// eslint-disable-next-line n/no-process-exit
9697
process.exit(1);
9798
}
9899
);

bin/changelog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env node
22

3-
/* eslint-disable no-console, node/shebang */
3+
/* eslint-disable no-console, n/shebang */
44

55
'use strict';
66

bin/publish-to-s3.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,5 @@ if (!buildInfo.isBuildForTag) {
118118

119119
function exitGracefully(err) {
120120
console.log(err); // eslint-disable-line no-console
121-
process.exit(1);
121+
process.exit(1); // eslint-disable-line n/no-process-exit
122122
}

bin/run-browserstack-tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function run(command, args = []) {
3232
]);
3333

3434
console.log('success');
35-
process.exit(0);
35+
process.exit(0); // eslint-disable-line n/no-process-exit
3636
} finally {
3737
if (process.env.GITHUB_RUN_ID) {
3838
await run('ember', ['browserstack:results']);
@@ -42,6 +42,6 @@ function run(command, args = []) {
4242
} catch (error) {
4343
console.log('error');
4444
console.log(error);
45-
process.exit(1);
45+
process.exit(1); // eslint-disable-line n/no-process-exit
4646
}
4747
})();

bin/run-tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@ function runAndExit() {
104104
runInSequence(testFunctions)
105105
.then(function () {
106106
console.log(chalk.green('Passed!'));
107-
process.exit(0);
107+
process.exit(0); // eslint-disable-line n/no-process-exit
108108
})
109109
.catch(function (err) {
110110
console.error(chalk.red(err.toString()));
111111
console.error(chalk.red('Failed!'));
112-
process.exit(1);
112+
process.exit(1); // eslint-disable-line n/no-process-exit
113113
});
114114
}
115115

broccoli/packages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ module.exports.glimmerES = function glimmerES(environment) {
274274
if (environment === 'development') {
275275
let hasGlimmerDebug = true;
276276
try {
277-
require.resolve('@glimmer/debug'); // eslint-disable-line node/no-missing-require
277+
require.resolve('@glimmer/debug'); // eslint-disable-line n/no-missing-require
278278
} catch (e) {
279279
hasGlimmerDebug = false;
280280
}

d8-app.js

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)