Skip to content

Bump better-result from 2.10.0 to 3.0.0 - #65

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/better-result-3.0.0
Open

Bump better-result from 2.10.0 to 3.0.0#65
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/better-result-3.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 14, 2026

Copy link
Copy Markdown
Contributor

Bumps better-result from 2.10.0 to 3.0.0.

Release notes

Sourced from better-result's releases.

v3.0.0

better-result 3.0

better-result 3.0 strengthens typed error handling at application boundaries, improves inference, and adds first-class support for collections, retries, validated serialization, and exhaustive tagged-error matching.

Highlights

Validated Result codecs

Result.codec replaces the unvalidated serialization helpers with Standard Schema-compatible validation for both Ok and Err payloads:

const UserResultCodec = Result.codec({
  serialize: {
    ok: UserToWireSchema,
    err: ErrorToWireSchema,
  },
  deserialize: {
    ok: UserFromWireSchema,
    err: ErrorFromWireSchema,
  },
});
const encoded = await UserResultCodec.serialize(result);
const decoded = await UserResultCodec.deserialize(input);

Codecs support different domain and wire types, preserve synchronous or asynchronous schema behavior, and report validation failures as ResultSerializationError or ResultDeserializationError.

For contracts where mismatches are defects, serializeUnsafe and deserializeUnsafe remove the codec-error handling layer and throw Panic instead.

Result collections

New collection combinators make concurrent and heterogeneous Result workflows easier:

  • Result.all collects successful values or returns the first error.
  • Result.allAsync awaits inputs concurrently while preserving input-order error selection.
  • Result.partition now supports heterogeneous Results.
  • Result.partitionAsync concurrently collects both successes and errors.

Tuple inputs preserve their success types.

Better asynchronous retries

Result.tryPromise now supports:

  • AbortSignal propagation through TryPromiseContext;
  • cancellation of pending retry delays;
  • dynamic delayMs(error, context) policies;
  • configurable retry jitter;

... (truncated)

Commits
  • fe6f288 Release v3.0.0
  • a484361 Release v3.0.0-rc.5
  • 7748d7a feat: add unsafe codec methods and v3 release assets
  • cf90a50 docs: expose agent documentation discovery
  • 54d26cb Update landing page package description
  • c6ec1d0 chore: enable Workers logs and traces
  • 208a569 docs: align overview badge colors
  • 67134b1 docs: rewrite README for 3.0 (#105)
  • 41a5b9f perf: cache fingerprinted docs assets
  • 2d71cdc fix: redirect legacy introduction URL
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [better-result](https://github.com/dmmulroy/better-result) from 2.10.0 to 3.0.0.
- [Release notes](https://github.com/dmmulroy/better-result/releases)
- [Commits](dmmulroy/better-result@v2.10.0...v3.0.0)

---
updated-dependencies:
- dependency-name: better-result
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 14, 2026
@dependabot
dependabot Bot requested a review from kylemcd as a code owner August 14, 2026 04:35
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants