Skip to content

Commit

Permalink
Merge pull request #1062 from ember-learn/5-3-release-pages
Browse files Browse the repository at this point in the history
Update 5.3 release pages
  • Loading branch information
jaredgalanis authored Sep 22, 2023
2 parents 1da1dee + 2c97031 commit ef79269
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 16 deletions.
4 changes: 0 additions & 4 deletions app/controllers/releases/lts.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,5 @@ export default class ReleasesLtsController extends Controller {
version: '4.8',
promotionDate: new Date('2022-11-28'),
},
{
version: '4.4',
promotionDate: new Date('2022-07-13'),
},
];
}
5 changes: 5 additions & 0 deletions app/templates/releases/lts.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@
</tr>
</thead>
<tbody>
<tr>
<td>4.4</td>
<td>4.4.5</td>
<td>May 2023</td>
</tr>
<tr>
<td>3.28</td>
<td>3.28.11</td>
Expand Down
4 changes: 2 additions & 2 deletions data/project/ember/beta.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ filter:
- /ember\./
- /ember-template-compiler/
repo: emberjs/ember.js
lastRelease: 5.3.0-beta.1 # Manually update See https://libraries.io/npm/ember-source throughout
lastRelease: 5.4.0-beta.1 # Manually update See https://libraries.io/npm/ember-source throughout
channel: beta
date: 2023-08-07 # Manually update, get date for `initialVersion`
date: 2023-09-18 # Manually update, get date for `initialVersion`
changelogPath: CHANGELOG.md
debugFileName: .debug.js
ignoreFiles:
Expand Down
4 changes: 2 additions & 2 deletions data/project/ember/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ filter:
- /ember\./
- /ember-template-compiler/
repo: emberjs/ember.js
lastRelease: 5.2.0 # Manually update, see https://libraries.io/npm/ember-source throughout
lastRelease: 5.3.0 # Manually update, see https://libraries.io/npm/ember-source throughout
channel: release
date: 2023-08-07 # Manually update, is today's date
date: 2023-09-18 # Manually update, is today's date
changelogPath: CHANGELOG.md
debugFileName: .debug.js
ignoreFiles:
Expand Down
4 changes: 2 additions & 2 deletions data/project/emberData/beta.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ baseFileName: ember-data
filter:
- /ember-data\./
repo: emberjs/data
lastRelease: 5.3.0-beta.0 # Manually update, see https://libraries.io/npm/ember-data throughout
lastRelease: 5.4.0-beta.0 # Manually update, see https://libraries.io/npm/ember-data throughout
channel: beta
date: 2023-08-17 # Manually update, get date for `lastRelease`
date: 2023-09-19 # Manually update, get date for `lastRelease`
changelogPath: CHANGELOG.md
debugFileName: .js
ignoreFiles:
Expand Down
4 changes: 2 additions & 2 deletions data/project/emberData/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ baseFileName: ember-data
filter:
- /ember-data\./
repo: emberjs/data
lastRelease: 5.2.0 # Manually update https://libraries.io/npm/ember-data throughout
lastRelease: 5.3.0 # Manually update https://libraries.io/npm/ember-data throughout
channel: release
date: 2023-08-17 # Manually update, is today's date
date: 2023-09-18 # Manually update, is today's date
changelogPath: CHANGELOG.md
debugFileName: .js
---
Expand Down
8 changes: 4 additions & 4 deletions tests/integration/components/releases/how-to-install-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,24 @@ module('Integration | Component | releases/how-to-install', function (hooks) {
.dom('[data-test-terminal-code]')
.hasText(
[
'# Install Ember Data 5.2.0:',
'npm install --save-dev ember-data@~5.2.0',
'# Install Ember Data 5.3.0:',
'npm install --save-dev ember-data@~5.3.0',
].join(' '),
'We see the correct code.'
);

assert
.dom('[data-test-field="More Information"]')
.hasText(
'Read the changelog for Ember Data 5.2.0.',
'Read the changelog for Ember Data 5.3.0.',
'We see the correct description for more information.'
);

assert
.dom('[data-test-link="Changelog"]')
.hasAttribute(
'href',
'https://github.com/emberjs/data/blob/v5.2.0/CHANGELOG.md',
'https://github.com/emberjs/data/blob/v5.3.0/CHANGELOG.md',
'We see the correct URL for the changelog.'
);
});
Expand Down

0 comments on commit ef79269

Please sign in to comment.