Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Bump active_type from 2.1.2 to 2.3.0 #107

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 12, 2022

Bumps active_type from 2.1.2 to 2.3.0.

Changelog

Sourced from active_type's changelog.

2.3.0 (2022-07-21)

  • Fixed: Fixed an issue when certain keywords are used as attribute names. Thanks to @​tom-kuca.
  • Fixed: Original Rails #attribute method now aliased as #ar_attribute correctly. Thanks to @​sudoremo.
  • Fixed: ActiveType::Object#serializable_hash includes virtual attributes.

2.2.0 (2022-06-02)

  • Fixed: ActiveType now actually works for Rails 7. Sorry for that. Thanks to @​atcruice.

2.1.1 (2021-12-22)

  • Fixed: Ruby compiler warning and suboptimal attribut name validation. Thanks to @​remofrizsche.

2.1.0 (2021-12-22)

  • Fixed: ActiveType now works for Rails 7.

2.0.0 (2021-11-24)

  • Added: Casting is prevented when the base record has changes in its already loaded associations, because those would be lost. Option force: true can be used to override this and still do the cast (this is not recommended).
  • Added: After casting, the base record will not be usable any more. The base record and the newly created casted record share state which is unexpected. Option force: true can be used to override this, so the base record is still usable (this is not recommended).

1.10.1 (2021-10-19)

  • Removed: When casting an unsaved record, the new record will no longer have the same associations as the base record. This was introduced with version 1.8.0 and lead to issues (#147 and #148). Therefore the change was rolled back.

1.10.0 (2021-08-11)

  • Removed: Tests for Ruby 2.4 and ActiveRecord 3.2.

1.9.1 (2021-06-29)

  • Fixed: Retain #mutations_from_database when using ActiveType.cast (Rails 5.2+). Thanks to @​unrooty-infinum.

1.9.0 (2021-05-20)

  • Fixed: Extended records now use their own I18n namespace when looking up translations for models or attributes. (introduced in 1.4.0)

    There was an issue (#142) when extending an already extended records again. Now the I18n lookup will fall back fall back correctly to the extended record's or even the base record's namespace.

1.8.0 (2021-04-27)

  • Added: When casting an unsaved record, the new record will have the same associations as the base record.

1.7.0 (2021-04-27)

  • Added: Support for Ruby 3.0.

... (truncated)

Commits
  • 9bee844 release version 2.3.0
  • 833f16a Merge pull request #167 from makandra/tk/fix_serialized_attributes
  • 12a72fa attribute_names returns virtual attributes [fixes #163]
  • 8fc5d6c Merge pull request #165 from tom-kuca/keyword-attribute-patch
  • 95e7783 Merge pull request #164 from sudoremo/ar_attribute_method_fix
  • 9ec81be Support attributes that are also a keyword
  • 962b5e3 Fix aliassing ar_attribute method
  • 20778b9 Merge pull request #162 from makandra/fix-add-errors-to-parent
  • f3457be do not test Rails 7 on unsupported Ruby 2.6
  • e48a9bf Merge remote-tracking branch 'origin/master' into fix-add-errors-to-parent
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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 [active_type](https://github.com/makandra/active_type) from 2.1.2 to 2.3.0.
- [Release notes](https://github.com/makandra/active_type/releases)
- [Changelog](https://github.com/makandra/active_type/blob/master/CHANGELOG.md)
- [Commits](makandra/active_type@v2.1.2...v2.3.0)

---
updated-dependencies:
- dependency-name: active_type
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the Dependencies Pull requests that update a dependency file label Aug 12, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 7, 2022

Superseded by #110.

@dependabot dependabot bot closed this Oct 7, 2022
@dependabot dependabot bot deleted the dependabot/bundler/active_type-2.3.0 branch October 7, 2022 11:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants