Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rails and active_model_serializers #1300

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 5, 2023

Bumps rails and active_model_serializers. These dependencies needed to be updated together.
Updates rails from 7.0.8 to 7.1.0

Release notes

Sourced from rails's releases.

7.1.0

Active Support

  • Fix AS::MessagePack with ENV["RAILS_MAX_THREADS"].

    Jonathan Hefner

  • Add a new public API for broadcasting logs

    This feature existed for a while but was until now a private API. Broadcasting log allows to send log message to difference sinks (STDOUT, a file ...) and is used by default in the development environment to write logs both on STDOUT and in the "development.log" file.

    Basic usage:

    stdout_logger = Logger.new(STDOUT)
    file_logger = Logger.new("development.log")
    broadcast = ActiveSupport::BroadcastLogger.new(stdout_logger, file_logger)
    broadcast.info("Hello!") # The "Hello!" message is written on STDOUT and in the log file.

    Adding other sink(s) to the broadcast:

    broadcast = ActiveSupport::BroadcastLogger.new
    broadcast.broadcast_to(Logger.new(STDERR))

    Remove a sink from the broadcast:

    stdout_logger = Logger.new(STDOUT)
    broadcast = ActiveSupport::BroadcastLogger.new(stdout_logger)
    broadcast.stop_broadcasting_to(stdout_logger)

    Edouard Chin

  • Fix Range#overlap? not taking empty ranges into account on Ruby < 3.3

    Nobuyoshi Nakada, Shouichi Kamiya, Hartley McGuire

  • Use Ruby 3.3 Range#overlap? if available

    Yasuo Honda

... (truncated)

Commits
  • d39db5d Preparing for 7.1.0 release
  • 4cc7947 Merge pull request #49491 from tnir/tn-date-rails71
  • d206e8c Release notes are not in work in progress anymore
  • 60393bb Merge pull request #49493 from skipkayhil/hm-no-backticks
  • 9826678 Add corrected release month for Rails 7.1
  • 525b09c Add release month for Rails 7.1
  • b6842b2 Merge pull request #49391 from ipc103/transaction-tracking-on-reconnect
  • 311f639 Merge pull request #49487 from yawboakye/clarify-login-procedure-expectation
  • f05e283 Merge pull request #49484 from hachi8833/fix_heading_migration_guide
  • 4280a03 Merge pull request #49480 from hachi8833/add_doc_db_prepare
  • Additional commits viewable in compare view

Updates active_model_serializers from 0.10.13 to 0.10.0

Changelog

Sourced from active_model_serializers's changelog.

v0.10.0 (2016-05-17)

Breaking changes:

Features:

  • #1677 Add assert_schema, assert_request_schema, assert_request_response_schema. (@​bf4)
  • #1697 Include actual exception message with custom exceptions; Test::Schema exceptions are now Minitest::Assertions. (@​bf4)
  • #1699 String/Lambda support for conditional attributes/associations (@​mtsmfm)
  • #1687 Only calculate _cache_digest (in cache_key) when skip_digest is false. (@​bf4)
  • #1647 Restrict usage of serializable_hash options to the ActiveModel::Serialization and ActiveModel::Serializers::JSON interface. (@​bf4)

Fixes:

  • #1700 Support pagination link for Kaminari when no data is returned. (@​iamnader)
  • #1726 Adds polymorphic option to association definition which includes association type/nesting in serializer (@​cgmckeever)

Misc:

v0.10.0.rc5 (2016-04-04)

Breaking changes:

Features:

  • #1645 Transform keys referenced in values. (@​remear)
  • #1650 Fix serialization scope options scope, scope_name take precedence over serialization_scope in the controller. Fix tests that required tearing down dynamic methods. (@​bf4)
  • #1644 Include adapter name in cache key so that the same serializer can be cached per adapter. (@​bf4 via #1346 by @​kevintyll)
  • #1642 Prefer object.cache_key over the generated cache key. (@​bf4 via #1346 by @​kevintyll)
  • #1637 Make references to 'ActionController::Base.cache_store' explicit in order to avoid issues when application controllers inherit from 'ActionController::API'. (@​ncuesta)
  • #1633 Yield 'serializer' to serializer association blocks. (@​bf4)
  • #1616 SerializableResource handles no serializer like controller. (@​bf4)
  • #1618 Get collection root key for empty collection from explicit serializer option, when possible. (@​bf4)
  • #1574 Provide key translation. (@​remear)
  • #1494 Make serializers serializalbe (using the Attributes adapter by default). (@​bf4)
  • #1550 Add Rails url_helpers to SerializationContext for use in links. (@​remear, @​bf4)
  • #1004 JSON API errors object implementation.

... (truncated)

Commits
  • b6d4ec0 Bump to v0.10.0
  • 660e982 Merge pull request #1726 from cgmckeever/nesting-polymorphs
  • 5e35b7b adds mac files to .gitignore (#1728)
  • ec23518 adds prompt for version script and a little more documentation (#1729)
  • bbed128 adds polymorphic option to association definition which includes association ...
  • 6c321cd Assert Schema (#1677)
  • 9f59398 Merge pull request #1732 from remear/jsonapi-renderer
  • 7fcac0c Merge pull request #1697 from bf4/minitest_assertion_exception
  • 7356071 Include ControllerSupport on ActiveSupport on_load action_controller
  • 93cad82 Include actual exception message with custom exceptions
  • 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 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 <dependency name> 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)

@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Oct 5, 2023
@github-actions
Copy link

github-actions bot commented Oct 5, 2023

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

Bumps [rails](https://github.com/rails/rails) and [active_model_serializers](https://github.com/rails-api/active_model_serializers). These dependencies needed to be updated together.

Updates `rails` from 7.0.8 to 7.1.0
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](rails/rails@v7.0.8...v7.1.0)

Updates `active_model_serializers` from 0.10.13 to 0.10.0
- [Release notes](https://github.com/rails-api/active_model_serializers/releases)
- [Changelog](https://github.com/rails-api/active_model_serializers/blob/master/CHANGELOG-0-10.md)
- [Commits](rails-api/active_model_serializers@v0.10.13...v0.10.0)

---
updated-dependencies:
- dependency-name: rails
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: active_model_serializers
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/bundler/rails-and-active_model_serializers-7.1.0 branch from 5cca1d1 to cf61127 Compare October 9, 2023 08:41
@robinjam
Copy link
Contributor

Trello card

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 11, 2023

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Oct 11, 2023
@dependabot dependabot bot deleted the dependabot/bundler/rails-and-active_model_serializers-7.1.0 branch October 11, 2023 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant