Skip to content

v1.0.0-alpha.4

Pre-release
Pre-release

Choose a tag to compare

@loevgaard loevgaard released this 06 Aug 09:53
· 19 commits to 1.x since this release
425bd28

Internal-quality release — no API changes and no BC impact.

Improved

  • ResponseAwareException is now fully covered (#5): the lazy stream-read parse path, getResponse(), the integer error_code cast and the non-map errors branch all gained tests, plus two behavior pins — the pre-read body winning over an already-drained (non-seekable) response stream, and the default message's query/fragment stripping asserted character-exact so the secret-leak guard cannot silently regress. Suite mutation score: MSI 80% → 85%, covered MSI 82% → 85%.
  • Consistent ResourceEndpoint helper naming (#6): update()updateOne(), operation()postOperation(), putSub()putSubResource() — every helper now follows either semanticVerb + One (typed single-resource CRUD) or httpVerb + target (transport). Internal-only: the helpers are protected and endpoint subclassing is outside the BC promise. Also fixes the class docblock's update() bullet, which said PUT while the helper sends PATCH.

Full changelog: v1.0.0-alpha.3...v1.0.0-alpha.4