Skip to content

Commit a3858d7

Browse files
chore: 12.5.0 release (#25648)
1 parent facfd0d commit a3858d7

File tree

5 files changed

+16
-18
lines changed

5 files changed

+16
-18
lines changed

cli/CHANGELOG.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,23 @@
11
<!-- See the ../guides/writing-the-cypress-changelog.md for details on writing the changelog. -->
22
## 12.5.0
33

4-
_Released 01/31/2023 (PENDING)_
4+
_Released 01/31/2023_
55

66
**Features:**
77

8-
- Easily debug failed CI test runs right from your local Cypress app with the new Debug page, powered by Cypress Cloud. For more details, see the [Debug documentation](https://on.cypress.io/debug-page). Addressed in [#25488](https://github.com/cypress-io/cypress/pull/25488).
8+
- Easily debug failed CI test runs recorded to the Cypress Cloud from your local Cypress app with the new Debug page. Please leave any feedback [here](https://github.com/cypress-io/cypress/discussions/25649). Your feedback will help us make decisions to improve the Debug experience. For more details, see [our blog post](https://on.cypress.io/debug-page-release). Addressed in [#25488](https://github.com/cypress-io/cypress/pull/25488).
99

10-
**Bugfixes:**
10+
**Performance:**
1111

12-
- Fixed an issue where alternative Microsoft Edge Beta, Canary, and Dev binary versions were not being discovered by Cypress.
13-
Fixes [#25455](https://github.com/cypress-io/cypress/issues/25455).
12+
- Improved memory consumption in `run` mode by removing reporter logs for successful tests. Fixes [#25230](https://github.com/cypress-io/cypress/issues/25230).
1413

15-
**Performance:**
14+
**Bugfixes:**
1615

17-
- Improved memory consumption in `run` mode by removing reporter logs for successful tests.
18-
Fixes [#25230](https://github.com/cypress-io/cypress/issues/25230).
16+
- Fixed an issue where alternative Microsoft Edge Beta, Canary, and Dev binary versions were not being discovered by Cypress. Fixes [#25455](https://github.com/cypress-io/cypress/issues/25455).
1917

20-
**Dependency Updates:**
18+
<!-- **Dependency Updates:** // this was committed with 'fix' instead of 'dependency' -->
2119

22-
- Upgraded [`underscore.string`](https://github.com/esamattis/underscore.string/blob/HEAD/CHANGELOG.markdown) from `3.3.5` to `3.3.6` to reference rebuilt assets after security patch to fix regular expression DDOS exploit.
20+
- Upgraded [`underscore.string`](https://github.com/esamattis/underscore.string/blob/HEAD/CHANGELOG.markdown) from `3.3.5` to `3.3.6` to reference rebuilt assets after security patch to fix regular expression DDOS exploit. Fixed in [#25574](https://github.com/cypress-io/cypress/pull/25574).
2321

2422
## 12.4.1
2523

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cypress",
3-
"version": "12.4.1",
3+
"version": "12.5.0",
44
"description": "Cypress is a next generation front end testing tool built for the modern web",
55
"private": true,
66
"scripts": {

scripts/semantic-commits/parse-changelog.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async function parseChangelog (pendingRelease = true) {
4141
nextKnownLineBreak = index + 1
4242
if (pendingRelease && !/_Released \d+\/\d+\/\d+ \(PENDING\)_/.test(line)) {
4343
throw new Error(`Expected line number ${index + 1} to include "_Released xx/xx/xxxx (PENDING)_"`)
44-
} else if (!pendingRelease && !/_Released \d+\/\d+\/\d+__/.test(line)) {
44+
} else if (!pendingRelease && !/_Released \d+\/\d+\/\d+_/.test(line)) {
4545
throw new Error(`Expected line number ${index + 1} to include "_Released xx/xx/xxxx_"`)
4646
}
4747

@@ -51,7 +51,7 @@ async function parseChangelog (pendingRelease = true) {
5151
throw new Error(`Expected line number ${index + 1} to be a line break`)
5252
}
5353
} else {
54-
const result = /\*\*.+?:\*\*/.exec(line)
54+
const result = /^\*\*.+?:\*\*/.exec(line)
5555

5656
if (currentSection === '' && !result) {
5757
throw new Error(`Expected line number ${index + 1} to be a valid section header. Received ${line}. Expected one of ...\n - ${userFacingSections.join('\n - ')}`)

scripts/semantic-commits/validate-binary-changelog.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ const checkedInBinaryVersion = require('../../package.json').version
66

77
const changelog = async () => {
88
const latestReleaseInfo = await getCurrentReleaseData()
9+
let hasVersionBump = checkedInBinaryVersion !== latestReleaseInfo.version
910

1011
if (process.env.CIRCLECI) {
1112
console.log({ checkedInBinaryVersion })
1213

13-
const hasVersionBump = checkedInBinaryVersion !== latestReleaseInfo.version
14-
15-
if (process.env.CIRCLE_BRANCH !== 'develop' && process.env.CIRCLE_BRANCH !== 'emily/changelog2' && !/^release\/\d+\.\d+\.\d+$/.test(process.env.CIRCLE_BRANCH) && !hasVersionBump) {
14+
if (process.env.CIRCLE_BRANCH !== 'develop' && process.env.CIRCLE_BRANCH !== 'release-12.5.0' && !/^release\/\d+\.\d+\.\d+$/.test(process.env.CIRCLE_BRANCH) && !hasVersionBump) {
1615
console.log('Only verify the entire changelog for develop, a release branch or any branch that bumped to the Cypress version in the package.json.')
1716

1817
return
@@ -30,6 +29,7 @@ const changelog = async () => {
3029
return validateChangelog({
3130
nextVersion,
3231
changedFiles,
32+
pendingRelease: !hasVersionBump,
3333
commits,
3434
})
3535
}

scripts/semantic-commits/validate-changelog.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const _handleErrors = (errors) => {
106106
* Determines if the Cypress changelog has the correct next version and changelog entires given the provided
107107
* list of commits.
108108
*/
109-
async function validateChangelog ({ changedFiles, nextVersion, commits }) {
109+
async function validateChangelog ({ changedFiles, nextVersion, pendingRelease, commits }) {
110110
const hasUserFacingCommits = commits.some(({ semanticType }) => hasUserFacingChange(semanticType))
111111

112112
if (!hasUserFacingCommits) {
@@ -138,7 +138,7 @@ async function validateChangelog ({ changedFiles, nextVersion, commits }) {
138138
}
139139
}
140140

141-
const changelog = await parseChangelog()
141+
const changelog = await parseChangelog(pendingRelease)
142142

143143
if (nextVersion && !changelog.version === `## ${nextVersion}`) {
144144
errors.push(`The changelog version does not contain the next Cypress version of ${nextVersion}. If the changelog version is correct, please correct the pull request title to correctly reflect the change being made.`)

0 commit comments

Comments
 (0)