Version Packages#9
Merged
Merged
Conversation
ef13240 to
765c260
Compare
765c260 to
cd27dbb
Compare
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
@ingram-tech/nk-db@1.0.0
Major Changes
beb294e: Drop Supabase-era compatibility. Breaking:
DATABASE_URLonly. ThePOSTGRES_URL_NON_POOLINGand
POSTGRES_URLfallbacks (the Supabase integration's autopopulated vars)are no longer read by
getDatabaseUrl/dbEnv. SetDATABASE_URL.configureTimestampsAsStrings()(and the./typesmodule). It wasa shim for Supabase-generated row types that declared timestamps as
string.On the golden path, express this per-column with Drizzle's
timestamp(..., { mode: "string" }); thepgTimestampToIso/pgNumericToNumberresponse-boundary coercions remain for strict schemas.No behavioral change to the pool, RLS helpers, or queries — only doc comments
were reworded to drop Supabase/PostgREST framing.
@ingram-tech/nk-auth@0.9.0
Minor Changes
passkeyOptionsForBaseUrl(baseURL, rpName): derives the passkey plugin'srpID(the base URL's hostname — the WebAuthn effective domain, no scheme orport) and
origin(the URL itself) from a single base URL, keeping them inlockstep. Covers the common single-origin site so consumers no longer hand-roll
new URL(baseURL).hostname. Multi-origin / parent-registrable-domain sitesstill call
makePasskeyOptionswith explicit values.Patch Changes
beb294e: Mark
bcryptPasswordas legacy support only (@deprecated): it existssolely so sites with pre-existing bcrypt hashes keep verifying. New sites should
omit it and use Better Auth's default scrypt. The README's canonical
lib/auth.tsno longer wires it, and a new "Migrating bcrypt passwords to scrypt" section
documents the path (a dual-format verifier + lazy rehash-on-login or a reset
campaign; Better Auth has the reset flow natively but no rehash-on-login and no
"must reset" gate).
bcryptPasswordstill works — no API change.Also drops the optional
@supabase/supabase-jspeer dependency (and the"Supabase RLS bridge" mention in the package description); the fleet is fully off
Supabase, and RLS now lives in
@ingram-tech/nk-db(withRls/withRlsTransaction).Updated dependencies [beb294e]
@ingram-tech/nk-api@0.2.2
Patch Changes
to describe nk-api as the alternative to an auto-generated REST API rather than
"a PostgREST-style auto API." No code change.
@ingram-tech/nk-dev@0.2.4
Patch Changes
@supabase/supabase-jsno-restricted-importsrule from the tier-boxlint config — the fleet no longer uses supabase-js, so the guardrail is moot.
The
pgPool/Clientrestriction (usecreatePoolfrom nk-db) is unchanged.@ingram-tech/nk-marketing@0.2.2
Patch Changes
@ingram-tech/newsletter(which wasSupabase-bound)" framing from the README and migration header, and remove the
stale reference to nk-db's removed
configureTimestampsAsStringshelper. No codechange.