mint-lang / mint-website-rails

Source code of Mint Language website
https://mint-lang.com
BSD 3-Clause "New" or "Revised" License
9 stars 33 forks source link

Bump omniauth, rack-cors, rails and omniauth-github #124

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps omniauth, rack-cors, rails and omniauth-github. These dependencies needed to be updated together. Updates omniauth from 1.9.2 to 2.1.1

Release notes

Sourced from omniauth's releases.

v2.1.0

This release adds Ruby 3.0+ support.

Due to kwarg changes in ruby 3, we have bumped the minimum required version of Rack to 2.2.3, which is where ruby3 support was added.

Releasing as a minor as dependency resolution should fail at install if an application is locked to a rack below new minimum.

Full Changelog: https://github.com/omniauth/omniauth/compare/v2.0.4...v2.1.0

v2.0.4

This release removes unnecessary warning logging when accessing GET routes that are not related to the OmniAuth request path.

Thanks to @​charlie-wasp and @​sponomarev at Evil Martians for the bug find and subsequent PR.

Fix rescuing of application errors when call_app! is used.

As a consequence of the changes that were merged in #689, errors thrown by strategies that utilize other_phase (or more specifically call_app!), would be caught by omniauth, causing headaches for folks looking to have those errors handled by their application. This should allow for errors that come from the app to pass through, while passing errors that come from the authentication phases to the fail! handler.

Resolves #1030

Fix for incorrect order of request_validation_phase in test_mode.

@​jsdalton gave an awesome report of the issue present in test_mode in #1033

The current implementation of mock_call was verifying the token for all requests, regardless of whether the current path is on the omniauth request path. The change was introduced recently in 1b784ff. See #1032 for details.

This creates two problems:

  1. When test mode is on, the authenticity verification logic is run inappropriately against requests where this may not even be wanted.
  2. The behavior varies from actual production behavior, potentially allowing bugs to be introduced by unwary developers.

Note that this bug was only present when OmniAuth was configured for test_mode and using the mock_call phases.

Allow passing rack-protection configuration to default request_validation_phase

This release now properly allows an instance of OmniAuth::AuthenticityTokenProtection (with passed in rack-protection configuration) to be used as the request_validation_phase.

Thanks @​jkowens #1027

If you haven't already read the release notes for v2.0.0, you should do so.

v2.0.0

Version 2.0 of OmniAuth includes some changes that may be breaking depending on how you use OmniAuth in your app.

Many thanks to the folks who contributed in code and discussion for these changes.

OmniAuth now defaults to only POST as the allowed request_phase method.

Hopefully, you were already doing this as a result of the warnings due to CVE-2015-9284.

... (truncated)

Commits
  • d2fd0fc v2.1.1 release
  • f66dd2d Merge pull request #1092 from shreyakurian02/fix_nil_error_in_callback_path
  • dece21b Fixed nil error in callback_path
  • 7d90ba2 Update SECURITY.md
  • 66110da Merge pull request #1070 from HoneyryderChuck/patch-1
  • 7413f4f Added docs showing how to integrate omniauth with rack_csrf
  • f35c0bb Fix badges
  • 1df974b Merge pull request #1065 from omniauth/new-CI-workflows
  • 56b369f Update badges
  • dce31d7 Separate jruby and truffle ruby workflows
  • Additional commits viewable in compare view


Updates rack-cors from 1.1.1 to 2.0.0

Changelog

Sourced from rack-cors's changelog.

2.0.0 - 2023-02-14

Changed

  • Refactored codebase
  • Support declaring custom protocols in origin
  • Lowercased header names as defined by Rack spec
  • Fix issue with duplicate headers because of header name case
Commits
  • 97882eb Support custom protocols as origins
  • 70f9126 README: Exampe for start & end string anchors
  • 908ea29 Remove incorrect wildcard usage from README
  • b718a19 Update Rails6 example
  • 3b6b5af Update rack example
  • a37c33e Update Rails5 example
  • d83baa7 Link to SO about testing CORS
  • 47af8a8 Updates to note common issues.
  • 43a1882 Update .travis.yml
  • b528e2b Update README.md
  • Additional commits viewable in compare view


Updates rails from 6.0.3.6 to 6.1.7.2

Release notes

Sourced from rails's releases.

v6.1.7.2

Active Support

  • No changes.

Active Model

  • No changes.

Active Record

  • No changes.

Action View

  • No changes.

Action Pack

  • Fix domain: :all for two letter TLD

    This fixes a compatibility issue introduced in our previous security release when using domain: :all with a two letter but single level top level domain domain (like .ca, rather than .co.uk).

Active Job

  • No changes.

Action Mailer

  • No changes.

Action Cable

... (truncated)

Commits
  • f0c5e60 Preparing for 6.1.7.2 release
  • 3e0c1a5 Version 6.1.7.2
  • 1e5011d Merge pull request #47087 from jhawthorn/cookie_domain
  • c443466 Version 6.1.7.1
  • 3db858c Make sanitize_as_sql_comment more strict
  • 8dc4595 Avoid regex backtracking on If-None-Match header
  • a7cda7e Avoid regex backtracking in Inflector.underscore
  • 90e8a90 Use string#split instead of regex for domain parts
  • 4f44aa9 Added integer width check to PostgreSQL::Quoting
  • 9ab3375 Version 6.1.7
  • Additional commits viewable in compare view


Updates omniauth-github from 1.4.0 to 2.0.1

Release notes

Sourced from omniauth-github's releases.

Require OmniAuth 2.0.0

As of v2.0.0 of this gem, it will require OmniAuth 2.0.0. This is due to changes that came with OmniAuth that required a breaking change in this gem. Because we changed the strategy's code, you should not need to change any omniauth-github specific code.

You should refer to OmniAuth's v2.0.0 release and/or the v2.0 upgrade guide when upgrading OmniAuth to v2.0.

Commits
  • 0ac46b5 Release 2.0.1
  • fa3e9cf Merge pull request #102 from jessieay/master
  • 684a74a Upgrade omniauth-oauth2 dependency
  • 1633cbb Merge pull request #100 from petergoldstein/feature/add_modern_rubies
  • 23cfa75 Add Ruby 2.7, 3.0, and 3.1 to the CI matrix
  • d2d9e01 Merge pull request #96 from gogainda/patch-1
  • 4ac10c7 Update ruby.yml
  • f4e28d9 Update ruby.yml
  • 027b861 Update ruby.yml
  • 1f77226 Merge pull request #95 from BobbyMcWho/chores-2020-01-12
  • 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 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 You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/mint-lang/mint-website-rails/network/alerts).