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 rack-contrib from 2.0.1 to 2.2.0 #85

Closed

Conversation

dependabot-preview[bot]
Copy link

Bumps rack-contrib from 2.0.1 to 2.2.0.

Release notes

Sourced from rack-contrib's releases.

Stuck at home? Why not release your favourite collection of Rack contributions!

A healthy crop of fixes and new features in this release. Thanks to everyone who contributed, and welcome to Andrew Konchin, as the newest recipient of a commit bit.

  • New middleware Rack::JSONBodyParser: a better-designed replacement for Rack::PostBodyContentTypeParser, with a more appropriate name (given that they both only handle JSON natively, having JSON in the name seems like a good idea), and with a better set of default behaviours and knobs. It is also significantly faster than PostBodyContentTypeParser.

  • Rack::PostBodyContentTypeParser: this middleware's interface is a bit of a mess, which makes it nearly impossible to improve in a backwards-compatible manner. As a result, its use has been deprecated, in favour of Rack::JSONBodyParser.

  • Several middlewares that set Content-Length headers were fixed to use String#bytesize, instead of String#size, which makes multibyte characters much happier. (Chris Frank)

  • Rack::ResponseCache: Make header detection case-insensitive. (Chris Frank)

  • A lot of broken tests and deprecation warnings in the test suite were fixed. (Andrew Konchin)

  • Rack::Locale: significant correctness fixes, including q=0 handling, case insensitivity where appropriate, and better handling of whitespace. (Andrew Konchin)

  • Rack::StaticCache: several correctness fixes, such as setting a Date response header, use UTC in timestamps, and improving the robustness of the date rendering.

Share and enjoy!

Spring has sprung so let's make a new release

New features:

  • Rack::PostBodyContentTypeParser -- you can now pass a block to the middleware to override the default "parse me some JSON" behaviour. Thanks to Kris Dekeyser (@Kris-LEBIS) for the patch.

  • Ruby 2.5 support -- we're now running the test suite through Ruby 2.5.1, as well as the latest patch releases of all other Ruby releases supported by rack-contrib (back to 2.2, the same as Rack itself). The only "interesting" change here is that some Rack::Profiler printers no longer work, which is not our fault, but rather a problem with ruby-prof.

... (truncated)
Commits
  • 143055e Fix StaticCache middleware (#167)
  • 750cece Documentation: add usage examples for PostBodyContentTypeParser middleware (#...
  • a0f708b Make PostBodyContentTypeParser 1.5x - 10x faster (#160)
  • 0a1d14b Fix Locale middleware (#166)
  • 174f141 Merge pull request #165 from andrykonchin/fix-tests-warnings-and-failures
  • 558372e Fix failing specs
  • 9e81674 Fix warnings about global use of must_equal in tests
  • c3e6f1f Make Rack::ResponseCache headers case-insensitive
  • 4e36ecb Make bundler dep broader
  • e082dc8 Bump Ruby versions in travis
  • 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [rack-contrib](https://github.com/rack/rack-contrib) from 2.0.1 to 2.2.0.
- [Release notes](https://github.com/rack/rack-contrib/releases)
- [Commits](rack/rack-contrib@v2.0.1...v2.2.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview
Copy link
Author

Superseded by #95.

@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/rack-contrib-2.2.0 branch December 7, 2020 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants