Skip to content

Version Packages - #302

Merged
bkeepers merged 1 commit into
mainfrom
changeset-release/main
Jul 28, 2026
Merged

Version Packages#302
bkeepers merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 28, 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

@neaps/api@0.7.0

Minor Changes

  • #293 4c57263 Thanks @bkeepers! - Make the API runnable on edge runtimes (e.g. Cloudflare Workers).

    • Replace the runtime express-openapi-validator with lightweight request
      validation/coercion in validate.ts. The validator relies on Ajv codegen
      (new Function), which edge runtimes disallow. It's now a dev dependency
      mounted in the test suite, so requests and responses are still validated
      against the OpenAPI spec — keeping the runtime validators in alignment with it.
    • Add a compress option to createApp (default true). The compression()
      middleware corrupts responses through the node:http bridge on Workers, which
      compress at the edge anyway — pass createApp({ compress: false }) there.
    • Declare @neaps/tide-database as a direct dependency so it's externalized
      from the build instead of bundled. Shrinks the published dist from ~30 MB to
      ~20 KB and avoids the station database being bundled twice by downstream
      bundlers.

Patch Changes

  • #292 de44633 Thanks @bkeepers! - Add s-maxage to the Cache-Control header so CDNs and edge caches (e.g. Vercel, Cloudflare) cache responses, not just browsers. Uses the same TTL as max-age (NEAPS_API_MAX_AGE, default 3600).

  • Updated dependencies [36a0b23, 4bf8c60]:

    • neaps@0.8.0

@neaps/cli@0.2.0

Minor Changes

  • #303 4bf8c60 Thanks @bkeepers! - Update @neaps/tide-database to 0.9. Station prediction data now lives in an
    off-heap pack file read per station instead of being parsed into the JS heap
    at import, dropping baseline heap usage from ~118 MB to ~36 MB.

Patch Changes

neaps@0.8.0

Minor Changes

  • #301 36a0b23 Thanks @bkeepers! - Drop the CommonJS builds; all neaps packages are now ESM-only. The CJS entries
    can't survive their dependencies going ESM-only, since they load them with
    require(). CommonJS consumers on Node 20.19+ / 22.12+ can still require()
    these packages via Node's require(esm) support.

  • #303 4bf8c60 Thanks @bkeepers! - Update @neaps/tide-database to 0.9. Station prediction data now lives in an
    off-heap pack file read per station instead of being parsed into the JS heap
    at import, dropping baseline heap usage from ~118 MB to ~36 MB.

Patch Changes

  • Updated dependencies [36a0b23]:
    • @neaps/tide-predictor@0.11.0

@neaps/react@0.2.0

Minor Changes

  • #301 36a0b23 Thanks @bkeepers! - Drop the CommonJS builds; all neaps packages are now ESM-only. The CJS entries
    can't survive their dependencies going ESM-only, since they load them with
    require(). CommonJS consumers on Node 20.19+ / 22.12+ can still require()
    these packages via Node's require(esm) support.

@neaps/tide-predictor@0.11.0

Minor Changes

  • #301 36a0b23 Thanks @bkeepers! - Drop the CommonJS builds; all neaps packages are now ESM-only. The CJS entries
    can't survive their dependencies going ESM-only, since they load them with
    require(). CommonJS consumers on Node 20.19+ / 22.12+ can still require()
    these packages via Node's require(esm) support.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from b93883d to 4a76a99 Compare July 28, 2026 23:36
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 4a76a99 to 5216c32 Compare July 28, 2026 23:37
@bkeepers
bkeepers merged commit de6a530 into main Jul 28, 2026
@bkeepers
bkeepers deleted the changeset-release/main branch July 28, 2026 23:43
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