Version Packages - #302
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
2 times, most recently
from
July 28, 2026 23:36
b93883d to
4a76a99
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
July 28, 2026 23:37
4a76a99 to
5216c32
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
@neaps/api@0.7.0
Minor Changes
#293
4c57263Thanks @bkeepers! - Make the API runnable on edge runtimes (e.g. Cloudflare Workers).express-openapi-validatorwith lightweight requestvalidation/coercion in
validate.ts. The validator relies on Ajv codegen(
new Function), which edge runtimes disallow. It's now a dev dependencymounted in the test suite, so requests and responses are still validated
against the OpenAPI spec — keeping the runtime validators in alignment with it.
compressoption tocreateApp(defaulttrue). Thecompression()middleware corrupts responses through the
node:httpbridge on Workers, whichcompress at the edge anyway — pass
createApp({ compress: false })there.@neaps/tide-databaseas a direct dependency so it's externalizedfrom the build instead of bundled. Shrinks the published
distfrom ~30 MB to~20 KB and avoids the station database being bundled twice by downstream
bundlers.
Patch Changes
#292
de44633Thanks @bkeepers! - Adds-maxageto theCache-Controlheader so CDNs and edge caches (e.g. Vercel, Cloudflare) cache responses, not just browsers. Uses the same TTL asmax-age(NEAPS_API_MAX_AGE, default 3600).Updated dependencies [
36a0b23,4bf8c60]:@neaps/cli@0.2.0
Minor Changes
4bf8c60Thanks @bkeepers! - Update @neaps/tide-database to 0.9. Station prediction data now lives in anoff-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
4c57263,de44633,36a0b23,4bf8c60]:neaps@0.8.0
Minor Changes
#301
36a0b23Thanks @bkeepers! - Drop the CommonJS builds; all neaps packages are now ESM-only. The CJS entriescan't survive their dependencies going ESM-only, since they load them with
require(). CommonJS consumers on Node 20.19+ / 22.12+ can stillrequire()these packages via Node's
require(esm)support.#303
4bf8c60Thanks @bkeepers! - Update @neaps/tide-database to 0.9. Station prediction data now lives in anoff-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
36a0b23]:@neaps/react@0.2.0
Minor Changes
36a0b23Thanks @bkeepers! - Drop the CommonJS builds; all neaps packages are now ESM-only. The CJS entriescan't survive their dependencies going ESM-only, since they load them with
require(). CommonJS consumers on Node 20.19+ / 22.12+ can stillrequire()these packages via Node's
require(esm)support.@neaps/tide-predictor@0.11.0
Minor Changes
36a0b23Thanks @bkeepers! - Drop the CommonJS builds; all neaps packages are now ESM-only. The CJS entriescan't survive their dependencies going ESM-only, since they load them with
require(). CommonJS consumers on Node 20.19+ / 22.12+ can stillrequire()these packages via Node's
require(esm)support.