Hi, here's a new version of Alba, v3.2.0. There are two additions in this release.
Now we have a Rails "controller" integration! serialize and render_serialized_json methods are available in Rails controllers, making it easier to use Alba with Rails. It's inspired by Layered Design for Ruby on Rails Applications book mentioning Alba and its usage. Thank you!
Another feature is transform_keys! that enables to change key transformation type after defining a resource/serializer class. It helps when there are so many classes that are almost equivalent. Note that this feature is experimental.
The documentation for the new Rails controller integration is here and the documentation for transform_keys! can be found here.Enjoy!
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show 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 alba from 3.1.0 to 3.2.0.
Release notes
Sourced from alba's releases.
Changelog
Sourced from alba's changelog.
Commits
569bc30
[Release] Bumm version to 3.2.015b9f90
[Release] Keep a changelog: version 3.2.0e53c127
[Doc] Mention new Rails integrations0c25a60
Merge pull request #370 from okuramasafumi/rails-controller-integration81c6c80
[Test] Rails controller integration232947e
Merge pull request #372 from okuramasafumi/transform-keys-modificationece8005
[Feat] Modification API:transform_keys!
0a6b2e1
[Refactor] setup code74fbd1b
[Chore] Do not bundleruby-lsp
5cd67d8
[Feat] Rails controller integrationDependabot 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show