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

Deprecate array and string type initialization #183

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

Conversation

halostatue
Copy link
Member

  • 2 deprecations:

    • Array-based MIME::Type initialization
    • String-based MIME::Type initialization

    Use of these these will result in deprecation warnings.

  • Added logger to the gemspec to suppress a bundled gem warning with
    Ruby 3.3.5. This warning should not be showing up until Ruby 3.4.0 is
    released and will be suppressed in Ruby 3.3.6.

@halostatue halostatue force-pushed the mime-types-3.6-deprecations branch 2 times, most recently from 79019cb to 70e85b4 Compare September 18, 2024 18:47
- 2 deprecations:

  - Array-based MIME::Type initialization
  - String-based MIME::Type initialization

  Use of these these will result in deprecation warnings.

- Added `logger` to the gemspec to suppress a bundled gem warning with
  Ruby 3.3.5. This warning should not be showing up until Ruby 3.4.0 is
  released and will be suppressed in Ruby 3.3.6.

- Reworked the deprecation message code to be somewhat more flexible and
  allow for outputting certain warnings once. Because there will be
  at least one other release after 3.6, we do not need to make the
  type initialization deprecations frequent with this release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant