Version Packages#21
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
July 12, 2026 02:10
803ab6a to
2020c25
Compare
Jerome Leclanche (jleclanche)
pushed a commit
that referenced
this pull request
Jul 12, 2026
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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-auth@0.12.1
Patch Changes
createAuthHelpers: memoize the validated session read per request with Reactcache(). A render fanning out manygetUser()/requireUser()calls now validates the session against the database once per request instead of once per call (measured 9 → 1 on a financica page). Caveat: mutating the session mid-request and re-reading it through the helpers returns the pre-mutation snapshot; readauth.api.getSessiondirectly in that case.@ingram-tech/nk-db@1.3.1
Patch Changes
createPoolno longer throws when no connection string is configured — itreturns a pool that constructs cleanly and defers the "set DATABASE_URL" error
to first use. Constructing the pool happens at module load in every app's
lib/db, so importing that module (and thereforenext buildcollecting pagedata, a unit test, or a CLI tool that never queries) must stay side-effect-free;
a hard throw at construction broke DB-less builds. A process that then runs a
real query without a URL still fails fast and legibly — the env is fixed at
process start, so this is never a transient miss. The deferred rejection is
async (a macrotask, like real connection I/O) so Next.js partial prerendering
sees a pending promise and postpones the segment, instead of a synchronous
render error. A present-but-invalid
DATABASE_URLstill throws eagerly.@ingram-tech/nk-seo@0.6.1
Patch Changes
createRobotsnow throws if adisallowentry would block/_next. Crawlersmust fetch the JS/CSS under
/_nextto render pages, so disallowing it silentlydegrades indexing — Next.js does not block it by default and neither should a
site. The guard is a prefix check (
/_next,/_next/,_next/static, …); anunrelated prefix like
/_previewis unaffected.