Repository navigation
Release Platform packages - #36
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@codelitdev/oauth-server-kit@0.10.0
Minor Changes
15e6f2c: Add hardened Better Auth defaults.
@codelitdev/oauth-server-kit/better-authexportssecureCookieOptions(__Host-session cookies over https,__Secure-with cross-subdomain cookies, plain over http, optional client-IP header),sessionCookieName,secureSessionOptions(no session cookie cache),secureEmailAndPasswordOptions(password sign-up off; opting in also requires a verified email before sign-in) andisRecentlyAuthenticated. Session identities now carryauthenticatedAt.@codelitdev/oauth-server-kit/expressexportsparseTrustProxy,DEFAULT_TRUST_PROXYandcreateClientIpMiddleware.Requires Better Auth 1.7.16 or later (
better-authand@better-auth/oauth-providerpeer floor^1.7.16; tested on 1.7.22), which carries fixes for GHSA-fvxx-76fc-893x, GHSA-2f9c-7xj7-gh55 and GHSA-9hm7-xhfp-cx58. A product's resource client must be bound to its real Better Auth instance (optionsand a$contextresolvingbaseURL), as newer@better-auth/oauth-providerrequires.Product changes for this release
Upgrade
better-authand every@better-auth/*package together (1.7.22 needs@better-auth/utils0.5.1,better-call1.4.5 and@better-fetch/fetch1.3.3; mismatched copies break plugin types). If your database ran Better Auth 1.7.0–1.7.2, makeaccount.issuernullable and dropaccount_issuer_accountId_uidx(see Better Auth's 1.7 upgrade guide).Spread
secureCookieOptions({ baseURL, cookiePrefix, clientIpHeader })intoadvanced,secureSessionOptions()intosession, and setemailAndPassword: secureEmailAndPasswordOptions(). Switching to__Host-renames the session cookie, so users sign in once more; select credentials withsessionCookieName(advanced).Set
app.set("trust proxy", parseTrustProxy(process.env.TRUST_PROXY))and mountcreateClientIpMiddlewarebefore Better Auth's handler.Under
__Host-the OAuth provider's RP-initiated logout confirmation cookie is rejected by browsers; use cross-subdomain mode if you need that step.@codelitdev/mcp-server-kit@0.10.0
Patch Changes
@codelitdev/platform@0.10.0
Patch Changes
@codelitdev/platform-conformance@0.10.0
Patch Changes
@codelitdev/billing@0.10.0
No changes in this release.
@codelitdev/design-system@0.10.0
No changes in this release.
@codelitdev/observability@0.10.0
No changes in this release.
@codelitdev/platform-cli@0.10.0
No changes in this release.