Skip to content

Version Packages - #51

Merged
Jerome Leclanche (jleclanche) merged 1 commit into
mainfrom
changeset-release/main
Sep 4, 2026
Merged

Version Packages#51
Jerome Leclanche (jleclanche) merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

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-dev@0.15.0

Minor Changes

  • 69c92b6: vitest 5. The shared config and setup file are unchanged, and no test in
    nextkit needed an edit, but a site's suite may notice the new defaults:

    • mocks are cleared before every test (state no longer accumulates across
      tests unless you opt out with clearMocks: false);
    • an un-awaited expect(...).resolves/rejects now fails the test;
    • vi.mock outside a file's top level throws;
    • sequential is gone (tests are sequential unless concurrent);
    • jest-dom's toHaveTextContent is strict; use toMatchTextContent for
      substring matching;
    • report and attachment output moves under .vitest/ (add it to
      .gitignore);
    • -t uses > as the suite separator;
    • Node 22 is the floor, which nk-dev's engines already required.

Patch Changes

  • 6249081: guide: forms live at /internal/forms/<name> via nk-forms' createFormsHandler,
    never under /api. The /api vs /internal rule is now about contract, not
    caller: /api is what someone could build on; /internal is everything the app
    owns, including its own browser-called forms, which are bot-gated rather than
    worker-secret-gated.
  • c8f45bb: oxfmt 0.66. No formatting change on this repo's 306 files.
  • f31a01d: Toolchain: oxlint 1.81, knip 6.34, @ast-grep/cli 0.45.3. No new rule fires on
    this repo.

@ingram-tech/nk-forms@0.4.0

Minor Changes

  • 6249081: Add createFormsHandler + defineForm: one { GET, POST } route for every
    public form on the site, mounted at /internal/forms/[form]. The registry key
    becomes the URL, the log label and the rate-limit namespace, so adding a form is
    adding an entry instead of copying a route file. The site's limiter is a
    callback receiving { request, form, limit, windowMs } (per-form budgets
    override a handler-wide default of 5 per 10 minutes); nk-forms still owns no
    store. formEndpoint(name) / FORMS_BASE_PATH (root and /react) build the
    client URL. Forms move out of /api: it is the public API contract, and a form
    POST is not part of it. handleFormSubmission and mintFormToken remain for a
    standalone route.

Patch Changes

  • @ingram-tech/nk-email@0.6.2

@ingram-tech/nk-auth@0.16.1

Patch Changes

  • f31a01d: Raise runtime dependency floors: jose ^6.2.11 (nk-auth), stripe ^22.6.1
    (nk-billing). No API change.

@ingram-tech/nk-billing@0.3.8

Patch Changes

  • f31a01d: Raise runtime dependency floors: jose ^6.2.11 (nk-auth), stripe ^22.6.1
    (nk-billing). No API change.

@jleclanche
Jerome Leclanche (jleclanche) deleted the changeset-release/main branch September 4, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant