Changelog
*Sourced from [guardian's changelog](https://github.com/ueberauth/guardian/blob/master/CHANGELOG.md).*
> ## v2.0.0
>
> ### Enhancement
>
> * Improve `Dialyzer` [572](https://github-redirect.dependabot.com/ueberauth/guardian/pull/572)
> * Allow ability to verify token in custom header location [597](https://github-redirect.dependabot.com/ueberauth/guardian/pull/597)
>
> ### Bug Fix
>
> * Fix `cookie_options` configuration overrides [#570](https://github-redirect.dependabot.com/ueberauth/guardian/pull/570)
>
> ### Breaking Change
>
> * Improved `Guardian.Permissions`. Now `Guardian.Permissions` accepts multiple
> encoders. The interface is defined in `Guardian.Permissions.PermissionEncoding`. [585](https://github-redirect.dependabot.com/ueberauth/guardian/pull/585)
>
> To fix the breaking changes, do something as follow.
>
> 1. Find `use Guardian.Permissions.Bitwise`
> 2. Replace with `use Guardian.Permissions, encoding: Guardian.Permissions.BitwiseEncoding`
>
> Notice that we added a key called `encoding`, this key will allow you pass
> the encoding strategy that fit yours needs.
>
> Check the list of supported encoding.
>
> * `Guardian.Permissions.BitwiseEncoding`
> * `Guardian.Permissions.AtomEncoding`
> * `Guardian.Permissions.TextEncoding`
>
> * Moved `Guardian.Phoenix.Socket` to [guardian_phoenix](https://github.com/ueberauth/guardian_phoenix).
> You should be install `guardian_phoenix` and it should work as today.
>
> ## v1.1.0
>
> * JWT secret fetcher behaviour added
> * Let Guardian plug call :revoke on sign_out [#458](https://github-redirect.dependabot.com/ueberauth/guardian/pull/458)
> * Fix an issue where Guardian.Plug tries to clear the wrong keys from the conn [#476](https://github-redirect.dependabot.com/ueberauth/guardian/pull/476)
>
> ## v1.0.0
>
> * Allow for multiple Guardian setups in a single applications
> * Adds pipelines
> * Significantly updates Guardian api to be more consistent
> * Make Phoenix an optional dependency
> * Make Plug an optional dependency
> * Permissions as an optional add-in
> * Deprecates Hooks in favour of callbacks on particular implementations
> * Removes Phoenix macros in favour of plain functions
>
> ... (truncated)
Commits
- [`576997d`](https://github.com/ueberauth/guardian/commit/576997d3701306ccfa40b42e18b1bec5a6ac98a7) Update README.md ([#604](https://github-redirect.dependabot.com/ueberauth/guardian/issues/604))
- [`dfb7772`](https://github.com/ueberauth/guardian/commit/dfb77728a44c35b8b929a874a41d8e20aa0aa69e) Update changelog ([#588](https://github-redirect.dependabot.com/ueberauth/guardian/issues/588))
- [`fc8855a`](https://github.com/ueberauth/guardian/commit/fc8855ab371076c3847d4bd4314bf4c3a3901f06) Change `clear_remember_me` to put an immediately expiring cookie (instead of ...
- [`5965dfe`](https://github.com/ueberauth/guardian/commit/5965dfe1e260bfc612f03d2d931d9b49344edf7e) Allow ability to verify token in custom header location ([#597](https://github-redirect.dependabot.com/ueberauth/guardian/issues/597))
- [`b8d3ea2`](https://github.com/ueberauth/guardian/commit/b8d3ea245c10cc04407d45fc79d7aca3fc35fb82) Minor fixes to start tutorial ([#591](https://github-redirect.dependabot.com/ueberauth/guardian/issues/591)) ([#593](https://github-redirect.dependabot.com/ueberauth/guardian/issues/593))
- [`61998c2`](https://github.com/ueberauth/guardian/commit/61998c2ea1b5d989cfb02e34699822e376d54632) Fix controller example. Change route resource name. ([#592](https://github-redirect.dependabot.com/ueberauth/guardian/issues/592))
- [`5663cfa`](https://github.com/ueberauth/guardian/commit/5663cfa94bdabe33474accb7b49052ca12ea4ea5) Improve Permissions ([#590](https://github-redirect.dependabot.com/ueberauth/guardian/issues/590))
- [`3fef64e`](https://github.com/ueberauth/guardian/commit/3fef64e08bdf3d4a18e531e7e78be269826ff1bc) Update README.md ([#587](https://github-redirect.dependabot.com/ueberauth/guardian/issues/587))
- [`b7a6128`](https://github.com/ueberauth/guardian/commit/b7a6128ca4d0ffb7f7df5219dd982304ff9d6802) New permission types ([#585](https://github-redirect.dependabot.com/ueberauth/guardian/issues/585))
- [`82c1f5c`](https://github.com/ueberauth/guardian/commit/82c1f5cdb462b46da07c6755ba1f75c60a6b22f5) Remove `!` from UserManager.get_user! ([#586](https://github-redirect.dependabot.com/ueberauth/guardian/issues/586))
- Additional commits viewable in [compare view](https://github.com/ueberauth/guardian/compare/v1.2.1...v2.0.0)
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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it
- `@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](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps guardian from 1.2.1 to 2.0.0.
Changelog
*Sourced from [guardian's changelog](https://github.com/ueberauth/guardian/blob/master/CHANGELOG.md).* > ## v2.0.0 > > ### Enhancement > > * Improve `Dialyzer` [572](https://github-redirect.dependabot.com/ueberauth/guardian/pull/572) > * Allow ability to verify token in custom header location [597](https://github-redirect.dependabot.com/ueberauth/guardian/pull/597) > > ### Bug Fix > > * Fix `cookie_options` configuration overrides [#570](https://github-redirect.dependabot.com/ueberauth/guardian/pull/570) > > ### Breaking Change > > * Improved `Guardian.Permissions`. Now `Guardian.Permissions` accepts multiple > encoders. The interface is defined in `Guardian.Permissions.PermissionEncoding`. [585](https://github-redirect.dependabot.com/ueberauth/guardian/pull/585) > > To fix the breaking changes, do something as follow. > > 1. Find `use Guardian.Permissions.Bitwise` > 2. Replace with `use Guardian.Permissions, encoding: Guardian.Permissions.BitwiseEncoding` > > Notice that we added a key called `encoding`, this key will allow you pass > the encoding strategy that fit yours needs. > > Check the list of supported encoding. > > * `Guardian.Permissions.BitwiseEncoding` > * `Guardian.Permissions.AtomEncoding` > * `Guardian.Permissions.TextEncoding` > > * Moved `Guardian.Phoenix.Socket` to [guardian_phoenix](https://github.com/ueberauth/guardian_phoenix). > You should be install `guardian_phoenix` and it should work as today. > > ## v1.1.0 > > * JWT secret fetcher behaviour added > * Let Guardian plug call :revoke on sign_out [#458](https://github-redirect.dependabot.com/ueberauth/guardian/pull/458) > * Fix an issue where Guardian.Plug tries to clear the wrong keys from the conn [#476](https://github-redirect.dependabot.com/ueberauth/guardian/pull/476) > > ## v1.0.0 > > * Allow for multiple Guardian setups in a single applications > * Adds pipelines > * Significantly updates Guardian api to be more consistent > * Make Phoenix an optional dependency > * Make Plug an optional dependency > * Permissions as an optional add-in > * Deprecates Hooks in favour of callbacks on particular implementations > * Removes Phoenix macros in favour of plain functions > > ... (truncated)Commits
- [`576997d`](https://github.com/ueberauth/guardian/commit/576997d3701306ccfa40b42e18b1bec5a6ac98a7) Update README.md ([#604](https://github-redirect.dependabot.com/ueberauth/guardian/issues/604)) - [`dfb7772`](https://github.com/ueberauth/guardian/commit/dfb77728a44c35b8b929a874a41d8e20aa0aa69e) Update changelog ([#588](https://github-redirect.dependabot.com/ueberauth/guardian/issues/588)) - [`fc8855a`](https://github.com/ueberauth/guardian/commit/fc8855ab371076c3847d4bd4314bf4c3a3901f06) Change `clear_remember_me` to put an immediately expiring cookie (instead of ... - [`5965dfe`](https://github.com/ueberauth/guardian/commit/5965dfe1e260bfc612f03d2d931d9b49344edf7e) Allow ability to verify token in custom header location ([#597](https://github-redirect.dependabot.com/ueberauth/guardian/issues/597)) - [`b8d3ea2`](https://github.com/ueberauth/guardian/commit/b8d3ea245c10cc04407d45fc79d7aca3fc35fb82) Minor fixes to start tutorial ([#591](https://github-redirect.dependabot.com/ueberauth/guardian/issues/591)) ([#593](https://github-redirect.dependabot.com/ueberauth/guardian/issues/593)) - [`61998c2`](https://github.com/ueberauth/guardian/commit/61998c2ea1b5d989cfb02e34699822e376d54632) Fix controller example. Change route resource name. ([#592](https://github-redirect.dependabot.com/ueberauth/guardian/issues/592)) - [`5663cfa`](https://github.com/ueberauth/guardian/commit/5663cfa94bdabe33474accb7b49052ca12ea4ea5) Improve Permissions ([#590](https://github-redirect.dependabot.com/ueberauth/guardian/issues/590)) - [`3fef64e`](https://github.com/ueberauth/guardian/commit/3fef64e08bdf3d4a18e531e7e78be269826ff1bc) Update README.md ([#587](https://github-redirect.dependabot.com/ueberauth/guardian/issues/587)) - [`b7a6128`](https://github.com/ueberauth/guardian/commit/b7a6128ca4d0ffb7f7df5219dd982304ff9d6802) New permission types ([#585](https://github-redirect.dependabot.com/ueberauth/guardian/issues/585)) - [`82c1f5c`](https://github.com/ueberauth/guardian/commit/82c1f5cdb462b46da07c6755ba1f75c60a6b22f5) Remove `!` from UserManager.get_user! ([#586](https://github-redirect.dependabot.com/ueberauth/guardian/issues/586)) - Additional commits viewable in [compare view](https://github.com/ueberauth/guardian/compare/v1.2.1...v2.0.0)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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it - `@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](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.