chore: version packages#2
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
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
eslint-plugin-faultline@0.3.0
Minor Changes
7a010cc: Rule improvements and publish-readiness fixes.
Rules:
throw-type-mismatchnow inspects all overload signatures, not just the first — overloaded functions are fully checked for transitive error propagation.throw-type-mismatchreportsthrow <identifier>when the surrounding function declares aTypedPromiseerror type and the thrown variable's type has no resolvable_tag.uncovered-catchno longer misattributes throws inside async closures (e.g.setTimeout(async () => ...)) to the outer try's catch.LIMITATIONS.mddocumenting patterns the rules can't detect, plus an 11-pattern torture-fixture corpus guarding the rules.Packaging:
README.md(it was already listed infiles).meta.versionfrompackage.jsonat build time so it can no longer drift from the published version (was hardcoded0.1.0).prepublishOnly.faultline@0.3.0
Minor Changes
7a010cc: Add
boundary.try(error)— a non-throwing variant of a boundary that returnsResult<To, System.BoundaryViolation>instead of throwing on an unmapped tag. Boundaries usually sit at a transport edge where an uncaught throw is costly;.try()lets you handle an unexpected (untyped/foreign) error tag as a value. Exposes theBoundaryViolationErrortype.7a010cc: Redaction: support a
**globstar segment inredactPathsto redact a key at any depth (e.g.**.password). Redaction paths are matched against the serialized error structure and a non-matching path is a silent no-op (it fails open), so**.<key>is now the recommended form for sensitive keys — it can't silently miss a nested occurrence the way a brittle exact path can. Documented this behavior in the README and SECURITY.md.Also clarified (docs only, no behavior change):
attemptAsync/TaskResultcancellation is cooperative — aborting short-circuits subsequent steps and stops the caller waiting, but does not preempt in-flight work unless your function threads theAbortSignalthrough. AnddefineBoundarythrowsSystem.BoundaryViolation(preserving the original as cause) when an unmapped error tag reaches it.7a010cc: TaskResult cancellation, rejection safety, and API pruning.
Breaking changes:
TaskResult.toPromise()removed. Use.run()instead — same signature..map,.andThen,.catchTag, etc.) now widen their error union to includeSystem.Cancelled. Exhaustivematch()over a TaskResult needs a'System.Cancelled'handler or a_branch.TaskResult.fromPromisereturn type now widens to includeSystem.Unexpected. Factory rejections are no longer unhandled — they are caught and wrapped asSystem.Unexpectedwith the original throw preserved as.cause.Added:
context.signal?.abortedbetween every step. Aborting the signal mid-pipeline short-circuits the remaining steps toSystem.Cancelledinstead of running them to completion.faultline-cli@0.2.0
Minor Changes
binpoints at a builtdist/index.jswith a Node shebang (previously a raw.tsfile with abunshebang),typescriptis declared as a runtime dependency, and the package ships afilesallowlist, README, LICENSE, and full repository metadata.