Skip to content

Conversation

@jaimevelaz
Copy link

Summary

Relaxes version constraints for Faraday middleware dependencies to allow more flexibility in dependency resolution while still respecting semantic versioning boundaries.

Changes

Gem Before After
faraday-follow_redirects ~> 0.3.0 (only 0.3.x) >= 0.3.0, < 1.0 (any 0.x)
faraday-multipart ~> 1.0.4 (only 1.0.x) >= 1.0.4, < 2.0 (any 1.x)

Motivation

The previous constraints were overly restrictive, only allowing patch-level updates. This blocks dependency upgrades required to support Ruby 4.0.0, as newer versions of these gems include necessary compatibility fixes.

The new constraints follow semantic versioning principles:

  • Allow any minor/patch updates within the same major version
  • Exclude the next major version where breaking changes may occur

Allow any 0.x version >= 0.3.0 instead of only 0.3.x to provide more
flexibility for dependency resolution while still excluding potential
breaking changes in 1.0.
Allow any 1.x version >= 1.0.4 instead of only 1.0.x to provide more
flexibility for dependency resolution while still excluding potential
breaking changes in 2.0.
@sonarqubecloud
Copy link

@jaimevelaz
Copy link
Author

👋🏼 @armando-rodriguez-cko, could you take a look at this?

Do you need anything else I can help with to move this forward?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant