[PR #3557] [MERGED] Introduce changesets #4882

Closed
opened 2026-03-13 12:02:56 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3557
Author: @frectonz
Created: 7/23/2025
Status: Merged
Merged: 7/26/2025
Merged by: @Bekacru

Base: mainHead: chore/changesets


📝 Commits (10+)

  • 491c98b chore: consistent package names
  • 29a7d49 chore: init changesets
  • ba68019 chore: update contribution doc to include generating a changeset
  • 7567d33 chore: configure all better auth packages to always have the same version number
  • 22514c0 chore: update nextjs demo package name
  • 2e083cf chore(changesets): ignore all private packages
  • a79a8ad chore(changesets): check for changesets in CI
  • e798c88 chore(changesets): install chagesets cli
  • 7d36a03 chore(changesets): use orgin as main
  • ed5025d chore(changesets): fix typo

📊 Changes

19 files changed (+444 additions, -61 deletions)

View changed files

.changeset/README.md (+8 -0)
.changeset/cold-sloths-laugh.md (+5 -0)
.changeset/config.json (+27 -0)
📝 .github/workflows/ci.yml (+6 -4)
📝 CONTRIBUTING.md (+5 -0)
📝 demo/nextjs/package.json (+2 -2)
📝 dev/bun/package.json (+3 -2)
📝 dev/cloudflare/package.json (+3 -2)
📝 docs/package.json (+2 -2)
📝 examples/astro-example/package.json (+2 -2)
📝 examples/browser-extension-example/package.json (+2 -2)
📝 examples/expo-example/package.json (+2 -2)
📝 examples/nextjs-mcp/package.json (+2 -2)
📝 examples/nuxt-example/package.json (+2 -2)
📝 examples/svelte-kit-example/package.json (+2 -2)
📝 examples/tanstack-example/package.json (+3 -2)
📝 package.json (+4 -2)
📝 packages/stripe/src/index.ts (+2 -2)
📝 pnpm-lock.yaml (+362 -31)

📄 Description

This PR has the following changes to allow us to use changesets in future releases of Better Auth,

  • Initialize a .chagesets directory
  • Update the contribution doc to inform contributors to include a changeset.
  • Ignore all other packages except better-auth, @better-auth/cli, @better-auth/expo, @better-auth/sso, @better-auth/stripe.
  • Check that a changeset has been included in CI
  • Setup CI to publish new version of Better Auth via a chageset.

Summary by cubic

Added Changesets to manage versioning and releases, updated package names for consistency, and updated the contribution guide to require changesets for relevant changes.

  • Dependencies
    • Added .changeset directory and config files.
    • Renamed packages in all package.json files for a consistent naming scheme.
    • Updated CONTRIBUTING.md to include steps for creating a changeset.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/3557 **Author:** [@frectonz](https://github.com/frectonz) **Created:** 7/23/2025 **Status:** ✅ Merged **Merged:** 7/26/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `chore/changesets` --- ### 📝 Commits (10+) - [`491c98b`](https://github.com/better-auth/better-auth/commit/491c98b9db3bcd4e4d76a2ae6515823d888356ea) chore: consistent package names - [`29a7d49`](https://github.com/better-auth/better-auth/commit/29a7d4942bd371967cf1dbefd0e25923ae1196df) chore: init changesets - [`ba68019`](https://github.com/better-auth/better-auth/commit/ba68019323ec296d7ed2660c772b3d316785421a) chore: update contribution doc to include generating a changeset - [`7567d33`](https://github.com/better-auth/better-auth/commit/7567d336fe2d875a75ff940a1be9ffd817220a0e) chore: configure all better auth packages to always have the same version number - [`22514c0`](https://github.com/better-auth/better-auth/commit/22514c0d187ce0f9a55cfec2fb1c890cf9705238) chore: update nextjs demo package name - [`2e083cf`](https://github.com/better-auth/better-auth/commit/2e083cf24d742918abc3287d40546a691770797b) chore(changesets): ignore all private packages - [`a79a8ad`](https://github.com/better-auth/better-auth/commit/a79a8adc806c24b68e08ec7efd5a47a51e2e30f3) chore(changesets): check for changesets in CI - [`e798c88`](https://github.com/better-auth/better-auth/commit/e798c8881ec9374d572326612d774e8243ef8e2f) chore(changesets): install chagesets cli - [`7d36a03`](https://github.com/better-auth/better-auth/commit/7d36a03f7c14f6e67f0d1a1d914651ea8963a945) chore(changesets): use orgin as main - [`ed5025d`](https://github.com/better-auth/better-auth/commit/ed5025d3a7388879a87ec2f24e99eb9f4b74b7a1) chore(changesets): fix typo ### 📊 Changes **19 files changed** (+444 additions, -61 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/README.md` (+8 -0) ➕ `.changeset/cold-sloths-laugh.md` (+5 -0) ➕ `.changeset/config.json` (+27 -0) 📝 `.github/workflows/ci.yml` (+6 -4) 📝 `CONTRIBUTING.md` (+5 -0) 📝 `demo/nextjs/package.json` (+2 -2) 📝 `dev/bun/package.json` (+3 -2) 📝 `dev/cloudflare/package.json` (+3 -2) 📝 `docs/package.json` (+2 -2) 📝 `examples/astro-example/package.json` (+2 -2) 📝 `examples/browser-extension-example/package.json` (+2 -2) 📝 `examples/expo-example/package.json` (+2 -2) 📝 `examples/nextjs-mcp/package.json` (+2 -2) 📝 `examples/nuxt-example/package.json` (+2 -2) 📝 `examples/svelte-kit-example/package.json` (+2 -2) 📝 `examples/tanstack-example/package.json` (+3 -2) 📝 `package.json` (+4 -2) 📝 `packages/stripe/src/index.ts` (+2 -2) 📝 `pnpm-lock.yaml` (+362 -31) </details> ### 📄 Description This PR has the following changes to allow us to use changesets in future releases of Better Auth, - [x] Initialize a `.chagesets` directory - [x] Update the contribution doc to inform contributors to include a changeset. - [x] Ignore all other packages except `better-auth`, `@better-auth/cli`, `@better-auth/expo`, `@better-auth/sso`, `@better-auth/stripe`. - [x] Check that a `changeset` has been included in CI - [ ] Setup CI to publish new version of Better Auth via a `chageset`. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Added Changesets to manage versioning and releases, updated package names for consistency, and updated the contribution guide to require changesets for relevant changes. - **Dependencies** - Added `.changeset` directory and config files. - Renamed packages in all `package.json` files for a consistent naming scheme. - Updated CONTRIBUTING.md to include steps for creating a changeset. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:02:57 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#4882