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.1 #110

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 7, 2022

Bumps active_type from 2.1.2 to 2.3.1.

Changelog

Sourced from active_type's changelog.

2.3.1 (2022-10-06)

  • Fixed: Fixed an issue (#168) when change_association is called with a scope proc only. Thanks to @​foobear.

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.

... (truncated)

Commits
  • eb2770f release version 2.3.1
  • 18006da Issue #168: Fix change_association with only a scope proc
  • cef4599 Update all Gemfiles to the recent version
  • 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
  • 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.1.
- [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.1)

---
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 Oct 7, 2022
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