Skip to content

Release 0.7.0 - #44

Merged
phaedryx merged 2 commits into
mainfrom
release-0.7.0
Jul 3, 2026
Merged

Release 0.7.0#44
phaedryx merged 2 commits into
mainfrom
release-0.7.0

Conversation

@phaedryx

@phaedryx phaedryx commented Jul 3, 2026

Copy link
Copy Markdown
Member

No description provided.

phaedryx added 2 commits July 2, 2026 21:32
…rsion bump

- rfc_9457: as: symbols with underscores now dasherize consistently
  (as: :user_profile -> type "user-profile-ok", title "User profile ok")
- rfc_9457: drop Integer/Float from PRIMITIVE_CLASSES (covered by Numeric)
- Bump version to 0.7.0 and update Gemfile.lock; fold CHANGELOG [Unreleased]
  into [0.7.0] dated 2026-07-02 (the 2026-06-29 entry never shipped)
- response-formatters.md: Default format docs described the pre-0.5.0
  unwrapped-body behavior; rewritten to match the { data: } envelope
- README.md: JSON:API example type is singular ("user", not "users")
- custom-formatters.md: generated helpers delegate with errors: nil and
  forward **extras; align intro with the 0.7 contract note
- action_figure.rb: resolve deprecation-comment placeholder (remove in 0.8.0)
- rfc_9457_test.rb: remove stale stub comment
Misspelled constant shipped through 0.6.0, aliased with deprecate_constant
in 0.6.1 for one release; 0.7.0 removes it. Drops the alias, its RBS
signature, and the alias resolution test.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Release prep for ActionFigure 0.7.0, updating versioning and documentation, removing a deprecated constant alias, and refining RFC 9457 formatter behavior/documentation.

Changes:

  • Bump gem version to 0.7.0 and update release notes / lockfile metadata.
  • Remove the deprecated IndeterminantEntryPointError alias (and related tests/signatures).
  • Improve RFC 9457 success derivation for underscored as: names and refresh formatter documentation examples.

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/action_figure/formatters/rfc_9457_test.rb Adds coverage for as: :user_profile dasherization; simplifies error_response test setup.
test/action_figure/core_test.rb Removes deprecated alias test helpers.
sig/action_figure.rbs Removes the deprecated alias type entry.
README.md Fixes JSON:API example type output to match serializer behavior.
lib/action_figure/version.rb Bumps VERSION to 0.7.0.
lib/action_figure/formatters/rfc_9457.rb Treats underscored as: names as dash-separated for derived type/title; cleans primitive list.
lib/action_figure.rb Removes deprecated IndeterminantEntryPointError alias and deprecation hook.
Gemfile.lock Updates locked local gem version references to 0.7.0.
docs/response-formatters.md Updates Default formatter docs to reflect { "data": ... } envelope behavior.
docs/custom-formatters.md Updates custom formatter docs re: generated error helper forwarding and error_response expectations.
CHANGELOG.md Finalizes 0.7.0 release entry and notes removal of deprecated alias.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CHANGELOG.md

### Changed

- **Formatter contract shrank from 8 methods to 4**: `Ok`, `Created`, `Accepted`, and the new `error_response(errors:, status:)`. Named error helpers (`NotFound`, `Conflict`, …) are generated from the registry and delegate to `error_response`; a hand-defined named helper on a formatter still wins.
@phaedryx
phaedryx merged commit bdf0744 into main Jul 3, 2026
6 checks passed
@phaedryx
phaedryx deleted the release-0.7.0 branch July 3, 2026 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants