Skip to content

Commit 1c7dfca

Browse files
committed
chore: add changesets and enter pre-release mode (#2050)
1 parent 8c6892e commit 1c7dfca

File tree

5 files changed

+33
-10
lines changed

5 files changed

+33
-10
lines changed

.changeset/format.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const getReleaseLine = async (changeset, _type) => {
1+
export const getReleaseLine = async (changeset, _type) => {
22
const [firstLine, ...futureLines] = changeset.summary.split('\n').map((l) => l.trimRight());
33

44
let returnVal = `- ${firstLine}`;
@@ -9,14 +9,7 @@ const getReleaseLine = async (changeset, _type) => {
99
return returnVal;
1010
};
1111

12-
const getDependencyReleaseLine = async (changesets, dependenciesUpdated) => {
12+
export const getDependencyReleaseLine = async (changesets, dependenciesUpdated) => {
1313
if (dependenciesUpdated.length === 0) return '';
1414
return `- Updated ${dependenciesUpdated[0].name} to v${dependenciesUpdated[0].newVersion}.`;
1515
};
16-
17-
const defaultChangelogFunctions = {
18-
getReleaseLine,
19-
getDependencyReleaseLine,
20-
};
21-
22-
module.exports = defaultChangelogFunctions;

.changeset/pre.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"mode": "pre",
3+
"tag": "next",
4+
"initialVersions": {
5+
"@redocly/cli": "1.34.2",
6+
"@redocly/openapi-core": "1.34.2",
7+
"@redocly/respect-core": "1.34.2"
8+
},
9+
"changesets": []
10+
}

.changeset/tame-pillows-flash.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"@redocly/respect-core": major
3+
"@redocly/openapi-core": major
4+
"@redocly/cli": major
5+
---
6+
7+
Removed support for the legacy Redocly API registry in favor of the new Reunite platform.
8+
Reunite provides improved API management capabilities and better integration with Redocly's tooling ecosystem.
9+
Migrated the `login` and `push` commands to work exclusively with Reunite.
10+
Removed the `preview-docs` command as part of platform modernization.
11+
Use the `preview` command instead.

.changeset/unlucky-meals-hunt.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"@redocly/respect-core": major
3+
"@redocly/openapi-core": major
4+
"@redocly/cli": major
5+
---
6+
7+
Migrated the codebase to ES Modules from CommonJS, bringing improved code organization and better support for modern JavaScript features.
8+
Update to Node.js version 20.19.0+, 22.12.0+, or 23+.

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ jobs:
6868
images: |
6969
redocly/cli
7070
ghcr.io/redocly/cli
71+
# FIXME: replace `next` with `latest` before GA
7172
tags: |
7273
${{ steps.get_version.outputs.value }}
73-
latest
74+
next
7475
7576
- name: Set up QEMU
7677
uses: docker/setup-qemu-action@v1

0 commit comments

Comments
 (0)