You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/MIGRATION.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
13
13
### What Changed
14
14
15
-
Starting with version `2.XX.0` (where XX is the version where this change is released), all Supabase JavaScript libraries require **Node.js 20 or later**. The `@supabase/node-fetch` polyfill has been removed, and native fetch support is now required.
15
+
Starting with version `2.79.0`, all Supabase JavaScript libraries require **Node.js 20 or later**. The `@supabase/node-fetch` polyfill has been removed, and native fetch support is now required.
This monorepo uses a fixed release model where all packages share a single version number and are released together. There are three types of releases:
10
9
11
-
1.**Canary Releases** - Automated pre-releases on every commit to master
12
-
2.**Stable Releases** - Manual releases for production use
10
+
1.**Canary Releases** - Automated pre-releases on every conventional commit to `master`
11
+
2.**Stable Releases** - Manual releases for production use (requires maintainer permission)
13
12
3.**Preview Releases** - PR-specific releases for testing changes
14
13
15
14
## Workflows
16
15
17
16
### 🤖 Canary Releases (Automated)
18
17
19
-
**File:**`main-ci-release.yml`
20
-
**Trigger:** Every push to `master` branch
18
+
**Workflow:**`publish.yml`
19
+
**Trigger:** Every push to `master` branch (after CI passes)
20
+
**Script:**`scripts/release-canary.ts`
21
21
**Purpose:** Immediate feedback with pre-release versions
22
22
23
23
#### What it does
24
24
25
-
1.**CI Pipeline**: Runs all CI checks
26
-
2.**Version Bump**: Creates a new pre-release version using conventional commits
27
-
28
-
3.**NPM Publish**: Publishes all packages to npm with `canary` dist-tag
29
-
4.**GitHub Release**: Creates a pre-release tag on GitHub with changelog
25
+
1.**Checks for conventional commits** - Only releases if commits warrant a version bump
26
+
2.**Version Bump** - Creates a new pre-release version using `prerelease` specifier with `canary` preid
27
+
3.**Build** - Rebuilds all packages with updated versions
28
+
4.**Changelog** - Generates changelogs from conventional commits
29
+
5.**NPM Publish** - Publishes all packages to npm with `canary` dist-tag (marked as prerelease)
30
+
6.**Legacy Package** - Publishes `@supabase/gotrue-js` as legacy mirror of `auth-js`
0 commit comments