omniauth-identity
omniauth-identity copied to clipboard
Update mongoid requirement from ~> 7 to ~> 8
Updates the requirements on mongoid to permit the latest version.
Release notes
Sourced from mongoid's releases.
8.0.1
Mongoid 8.0 is a feature release with the following significant new functionality:
- MONGOID-4627 Callback behavior during persistence operations fixed
- MONGOID-4641 Ability to store BigDecimal fields as decimal128 in the database
- MONGOID-5332 Consistent mongoization, demongoization and evolution of unconvertable values
- MONGOID-5428 Ability to set driver options in mongoid.yml
- MONGOID-5365 Change #attributes return value to Hash with a flag
The following additional improvements were made:
- MONGOID-4547 Implement #take / #take! for AR feature parity
- MONGOID-5270 Implement .tally method for Mongoid#Criteria
- MONGOID-4998 Support limit argument in #first and #last, :id_sort option removed
- MONGOID-5351 Implement Dots and Dollars in Mongoid
- MONGOID-5098 Mongoize Range endpoints + support begin-less/end-less ranges
- MONGOID-5003 Delegate Model#find with block argument to Enumerable#find
- MONGOID-5180 Rails parity: Add #pick method (equivalent to pluck.first)
- MONGOID-5315 Accept formatted strings in Date/Time/DateTime.demongoize
- MONGOID-5217 Add attribute_previously_was helpers
- MONGOID-5390 #pluck in memory should return nil values (non-compacted)
- MONGOID-5402 In-memory pluck, distinct should support dot-notation for field path traversal
- MONGOID-5404 Populate attributes_before_type_cast on read from database
- MONGOID-3267 Allow associations to be used inside defaults
- MONGOID-4500 Mongoid::Contextual::Aggregable::Memory should ignore nil and non-numeric values
The following minor improvements were made:
- MONGOID-5376 Use exists? or any? instead of count to determine existence of any document
- MONGOID-5306 Use pluck instead of only to avoid projecting when referencing association _ids
- MONGOID-5353 Change "taken" error message text to match ActiveRecord / Rails I18n
- MONGOID-5327 Prohibit using undefined string/symbol types when declaring fields
The following functionality was deprecated:
The following functionality was removed:
- MONGOID-5414 Remove criteria/contextual caching
- MONGOID-4686 Remove Document#to_a
- MONGOID-5302 Remove update_values method from Hash and Array extensions
- MONGOID-5323 Remove deprecated Mongoid::Errors::EagerLoad
- MONGOID-5341 Remove drop_dup options from index macro
- MONGOID-5322 Remove deprecated geo_spacial method
- MONGOID-5324 Remove deprecated constants
- MONGOID-5426 Remove pluck behavior from map
The following issues were fixed:
... (truncated)
Changelog
Sourced from mongoid's changelog.
Overview
For instructions on upgrading to newer versions, visit mongoid.org.
As of version 5.0.2, please refer to the github releases for change logs.
5.0.1
Resolved Issues
- MONGOID-3020 Test added to show it's no longer an issue.
- MONGOID-3025 Test added to show it's no longer an issue.
- MONGOID-3061 No longer an issue.
- MONGOID-3073 Test added to show it's no longer an issue.
- MONGOID-3085 Test added to show it's no longer an issue.
- MONGOID-3101 No longer an issue.
- MONGOID-3160 No longer an issue.
- MONGOID-3176 No longer an issue.
- MONGOID-3214 Test added to show it's no longer an issue.
- MONGOID-3296 Add update callback for counter_cache.
- MONGOID-3326 Test added to show it's no longer an issue.
- MONGOID-3361 No longer an issue.
- MONGOID-3365 Test added to show it's no longer an issue.
- MONGOID-3402 Apply persistence options to parent.
- MONGOID-3524 No longer an issue.
- MONGOID-3529 Test exists already showing it's not an issue.
- MONGOID-3543 Test exists already showing it's not an issue.
- MONGOID-3611 Test added to show it's no longer an issue.
- MONGOID-3650 No longer an issue.
- MONGOID-3826, MONGOID-4109 Fix Timelessness leaks.
- MONGOID-3946 Test added to show it's no longer an issue.
- MONGOID-3969 Test added to show it's no longer an issue.
- MONGOID-3971 Not an issue.
- MONGOID-3979 Not an issue, tests exist already.
- MONGOID-3985 Not an issue.
- MONGOID-4078 Behavior is intended.
- MONGOID-4079 Not an issue.
- MONGOID-4088 Account for sub-document dot notation with #pluck results.
- MONGOID-4098 Fixed by a change to the Ruby driver. See RUBY-1029.
- MONGOID-4101 Not an issue.
- MONGOID-4106 Not an issue.
- MONGOID-4110 Not an issue.
- MONGOID-4119 Ensure that criteria selector becomes pipeline operator value.
- MONGOID-4121 Not an issue.
- MONGOID-4123 Fixed as a result of MONGOID-4159.
- MONGOID-4125 Make sure none scopes referenced in procs are applied.
- MONGOID-4132 Not an issue.
- MONGOID-4157 Fixed by version 2.1.2 of the Ruby driver.
- MONGOID-4162 Adapt index option mappings to new driver. (
@Nielsomat)
... (truncated)
Commits
a07173bRelease 8.0.1f03200bDepend on driver 2.18.0 or higher6e78094Release 8.0.0401b00dUse Debian 11 for releasing to get a newer Ruby version388214dOrganize 8.0 release notes865b6a1Fix capitalization1097717Add missing newlinesc82ae85Annotate breaking changes2b90077Spelling fix66306e5MONGOID-5426 add map as pluck deprecation to release notes- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)