Skip to content

Commit

Permalink
releases/lts: add dates for no longer maintained entries
Browse files Browse the repository at this point in the history
It would be useful to show rough "Bugfix until" and "Security patches
until" dates for the no longer maintained LTS versions (similar to how
we do for the currently maintained LTS versions).

Let's make it so!
  • Loading branch information
geneukum committed Feb 11, 2024
1 parent a98a71e commit ced27d6
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 70 deletions.
87 changes: 87 additions & 0 deletions app/controllers/releases/lts.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,91 @@ export default class ReleasesLtsController extends Controller {
promotionDate: new Date('2023-05-15'),
},
];

noLongerMaintainedLTS = [
{
version: '4.8',
lastMinorVersion: '4.8.6',
lastMinorVersionDate: new Date('2023-06-12'),
promotionDate: new Date('2022-11-28'),
},
{
version: '4.4',
lastMinorVersion: '4.4.5',
lastMinorVersionDate: new Date('2023-05-04'),
promotionDate: new Date('2022-07-13'),
},
{
version: '3.28',
lastMinorVersion: '3.28.12',
lastMinorVersionDate: new Date('2023-05-04'),
promotionDate: new Date('2021-12-20'),
},
{
version: '3.24',
lastMinorVersion: '3.24.7',
lastMinorVersionDate: new Date('2022-11-02'),
promotionDate: new Date('2021-02-25'),
},
{
version: '3.20',
lastMinorVersion: '3.20.6',
lastMinorVersionDate: new Date('2020-11-11'),
promotionDate: new Date('2020-09-02'),
},
{
version: '3.16',
lastMinorVersion: '3.16.10',
lastMinorVersionDate: new Date('2020-08-05'),
promotionDate: new Date('2020-03-16'),
},
{
version: '3.12',
lastMinorVersion: '3.12.4',
lastMinorVersionDate: new Date('2020-05-21'),
promotionDate: new Date('2019-09-25'),
},
{
version: '3.8',
lastMinorVersion: '3.8.3',
lastMinorVersionDate: new Date('2019-06-28'),
promotionDate: new Date('2019-04-10'),
},
{
version: '3.4',
lastMinorVersion: '3.4.8',
lastMinorVersionDate: new Date('2019-01-22'),
promotionDate: new Date('2018-10-15'),
},
{
version: '2.18',
lastMinorVersion: '2.18.2',
lastMinorVersionDate: new Date('2018-02-14'),
promotionDate: new Date('2018-02-14'),
},
{
version: '2.16',
lastMinorVersion: '2.16.4',
lastMinorVersionDate: new Date('2018-02-14'),
promotionDate: new Date('2017-11-20'),
},
{
version: '2.12',
lastMinorVersion: '2.12.2',
lastMinorVersionDate: new Date('2017-04-27'),
promotionDate: new Date('2017-04-29'),
},
{
version: '2.8',
lastMinorVersion: '2.8.3',
lastMinorVersionDate: new Date('2016-11-01'),
promotionDate: new Date('2016-10-17'),
},
{
version: '2.4',
lastMinorVersion: '2.4.5',
lastMinorVersionDate: new Date('2016-04-11'),
promotionDate: new Date('2016-04-11'),
},
];
}
81 changes: 11 additions & 70 deletions app/templates/releases/lts.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -83,78 +83,19 @@
<th>LTS version</th>
<th>Last minor release</th>
<th>Last minor release date</th>
<th>Bugfixes until</th>
<th>Security patches until</th>
</tr>
</thead>
<tbody>
<tr>
<td>4.8</td>
<td>4.8.6</td>
<td>June 2023</td>
</tr>
<tr>
<td>4.4</td>
<td>4.4.5</td>
<td>May 2023</td>
</tr>
<tr>
<td>3.28</td>
<td>3.28.12</td>
<td>May 2023</td>
</tr>
<tr>
<td>3.24</td>
<td>3.24.7</td>
<td>November 2021</td>
</tr>
<tr>
<td>3.20</td>
<td>3.20.6</td>
<td>November 2021</td>
</tr>
<tr>
<td>3.16</td>
<td>3.16.10</td>
<td>August 2020</td>
</tr>
<tr>
<td>3.12</td>
<td>3.12.4</td>
<td>May 2020</td>
</tr>
<tr>
<td>3.8</td>
<td>3.8.3</td>
<td>June 2019</td>
</tr>
<tr>
<td>3.4</td>
<td>3.4.8</td>
<td>January 2019</td>
</tr>
<tr>
<td>2.18</td>
<td>2.18.2</td>
<td>February 2018</td>
</tr>
<tr>
<td>2.16</td>
<td>2.16.4</td>
<td>February 2018</td>
</tr>
<tr>
<td>2.12</td>
<td>2.12.2</td>
<td>April 2017</td>
</tr>
<tr>
<td>2.8</td>
<td>2.8.3</td>
<td>November 2016</td>
</tr>
<tr>
<td>2.4</td>
<td>2.4.5</td>
<td>April 2016</td>
</tr>
{{#each this.noLongerMaintainedLTS as |release|}}
<tr>
<td>{{release.version}}</td>
<td>{{release.lastMinorVersion}}</td>
<td>{{format-date-time release.lastMinorVersionDate "MMMM YYYY"}}</td>
<td>{{format-date-time (add-weeks release.promotionDate 36) "MMMM YYYY"}}</td>
<td>{{format-date-time (add-weeks release.promotionDate 54) "MMMM YYYY"}}</td>
</tr>
{{/each}}
</tbody>
</table>

0 comments on commit ced27d6

Please sign in to comment.