diene_problems 0.1.1 copy "diene_problems: ^0.1.1" to clipboard
diene_problems: ^0.1.1 copied to clipboard

RFC 9457 problem-details for Dart: envelope with the `data` extension, one type-URI builder, a typed registry, LocalError wrapping, and per-endpoint catalog export.

Changelog #

All notable changes are generated by the release pipeline.

0.1.1 #

Supersedes the bootstrap 0.1.0, which was published from rejected content and is retracted (R-E24a). 0.1.0 is never reused; this is the first release built from accepted content, and it stays additive within the ^0.1.0 range consumers already declare.

  • Bind the generated Problem contract and JSON projections to the authenticated neutral c0-fixtures-r2 release (superseding r1), with deterministic digest-compare drift gates.
  • Enforce the R-E14 wire-id law in the single-source type-URI builder: the WIRE problem id must match ^[a-z][a-z0-9_]*$, the same pattern the published @atomicloud/diene.problems builder enforces, so a wire id minted by one language family is accepted by all four. Version segments must match ^v[0-9]+$, and portal hosts are validated as canonical hosts.
  • Re-spell every shipped wire id as snake_case accordingly: validation_error, entity_not_found, invalid_json, local_error. Definition and factory names are unchanged.
  • Ship the package as the packages/diene_problems member of the dart-lib publishable-workspace shape.

0.1.0 #

  • Initial release of diene_problems.
  • RFC 9457 problem envelope with the data extension and recoverable flag.
  • Single-source problem type-URI builder (C0 §2).
  • Typed ProblemRegistry with the portable generic catalog.
  • fromObject error → Problem transformer.
  • LocalError wrapping for unexpected client exceptions.
  • Per-endpoint catalog EXPORT (C0 §14 Problem CR content).
  • Dependency-light test_helper.dart sub-library with a meta tier.
  • Add generated Problem contract and JSON projections from the authenticated neutral c0-fixtures-r1 release, with deterministic drift gates.
0
likes
160
points
1.81k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

RFC 9457 problem-details for Dart: envelope with the `data` extension, one type-URI builder, a typed registry, LocalError wrapping, and per-endpoint catalog export.

Repository (GitHub)
View/report issues

Topics

#rfc-9457 #problem-details #errors #api

License

MIT (license)

More

Packages that depend on diene_problems