Skip to content
This repository has been archived by the owner on Jun 2, 2021. It is now read-only.

Bump pow from 1.0.21 to 1.0.24 #135

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

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps pow from 1.0.21 to 1.0.24.

Release notes

Sourced from pow's releases.

v1.0.24

Enhancements

  • [Pow.Store.Backend.MnesiaCache] Now accepts extra_db_nodes: {module, function, arguments} to fetch nodes when MnesiaCache starts up #615
  • [PowEmailConfirmation.Phoenix.Messages] Added PowEmailConfirmation.Phoenix.Messages.invalid_token/1 #618
  • [Pow.Store.CredentialsCache] Now outputs an IO warning when a :ttl longer than 30 minutes is used #619

Bug fixes

  • [Pow.Store.Backend.MnesiaCache] Now handles initialization errors #616

v1.0.23

Enhancements

  • [Pow.Ecto.Context] No longer automatically reloads the struct after insert or update #600
  • [PowInvitation.Ecto.Schema] Added PowInvitation.Ecto.Schema.invitation_token_changeset/1 #596
  • [PowInvitation.Ecto.Schema] Added PowInvitation.Ecto.Schema.invited_by_changeset/2 #596
  • [Pow.Ecto.Schema.Password.Pbkdf2] Now uses :crypto.mac/4 if available to support OTP 24 #602
  • [PowEmailConfirmation.Phoenix.ControllerCallbacks] Now returns :info instead of :error #612

Bug fixes

  • [Pow.Store.Backend.MnesiaCache] No longer triggers Elixir 1.11 dependency warnings #606

v1.0.22

This release introduces a deprecation for the default API guide implementation. Please check migration section below.

Enhancements

  • [PowPersistentSession.Plug.Cookie] Now stores the user struct instead of clauses #392
  • [PowPersistentSession.Plug.Base] Now includes :pow_config in the store config #392
  • [PowResetPassword.Plug] Now includes :pow_config in the store config #392
  • [Pow.Plug.Base] Now includes :pow_config in the store config #392
  • [Pow.Operations] Added Pow.Operations.reload/2 to reload structs #392
  • [PowPersistentSession.Store.PersistentSessionCache] Update PowPersistentSession.Store.PersistentSessionCache.get/2 to reload the user using Pow.Operations.reload/2 #392
  • [Pow.Store.CredentialsCache] Now support reload: true configuration so once fetched from the cache the user object will be reloaded through the context module #392

Documentation

  • Updated the API guide as it's no longer necessary to load the user struct #574

Migration

If you've used an API setup for previous version, you'll see the warning PowPersistentSession.Store.PersistentSessionCache.get/2 call without `:pow_config` in second argument is deprecated, refer to the API guide.. It's recommended to replace your APIAuthPlug with the updated version in the API guide.

The larger refactor of cache setup in Pow v1.0.22 means that user struct is always expected to be passed in and returned by the stores, so it is no longer necessary to load the user in the API plug. The PowPersistentSession.Store.PersistentSessionCache has fallback logic to handle the deprecated clauses keyword list, and will load the user correctly.

Changelog

Sourced from pow's changelog.

v1.0.24 (2021-05-27)

Enhancements

  • [Pow.Store.Backend.MnesiaCache] Now accepts extra_db_nodes: {module, function, arguments} to fetch nodes when MnesiaCache starts up
  • [PowEmailConfirmation.Phoenix.Messages] Added PowEmailConfirmation.Phoenix.Messages.invalid_token/1
  • [Pow.Store.CredentialsCache] Now outputs an IO warning when a :ttl longer than 30 minutes is used

Bug fixes

  • [Pow.Store.Backend.MnesiaCache] Now handles initialization errors

v1.0.23 (2021-03-22)

Enhancements

  • [Pow.Ecto.Context] No longer automatically reloads the struct after insert or update
  • [PowInvitation.Ecto.Schema] Added PowInvitation.Ecto.Schema.invitation_token_changeset/1
  • [PowInvitation.Ecto.Schema] Added PowInvitation.Ecto.Schema.invited_by_changeset/2
  • [Pow.Ecto.Schema.Password.Pbkdf2] Now uses :crypto.mac/4 if available to support OTP 24
  • [PowEmailConfirmation.Phoenix.ControllerCallbacks] Now returns :info instead of :error message for when the user has to confirm their email

Bug fixes

  • [Pow.Store.Backend.MnesiaCache] No longer triggers Elixir 1.11 dependency warnings

v1.0.22 (2021-01-27)

This release introduces a deprecation for the default API guide implementation. Please check migration section below.

Enhancements

  • [PowPersistentSession.Plug.Cookie] Now stores the user struct instead of clauses
  • [PowPersistentSession.Plug.Base] Now includes :pow_config in the store config
  • [PowResetPassword.Plug] Now includes :pow_config in the store config
  • [Pow.Plug.Base] Now includes :pow_config in the store config
  • [Pow.Operations] Added Pow.Operations.reload/2 to reload structs
  • [PowPersistentSession.Store.PersistentSessionCache] Update PowPersistentSession.Store.PersistentSessionCache.get/2 to reload the user using Pow.Operations.reload/2
  • [Pow.Store.CredentialsCache] Now support reload: true configuration so once fetched from the cache the user object will be reloaded through the context module

Documentation

  • Updated the API guide as it's no longer necessary to load the user struct

Migration

If you've used an API setup for previous version, you'll see the warning PowPersistentSession.Store.PersistentSessionCache.get/2 call without `:pow_config` in second argument is deprecated, refer to the API guide.. It's recommended to replace your APIAuthPlug with the updated version in the API guide.

The larger refactor of cache setup in Pow v1.0.22 means that user struct is always expected to be passed in and returned by the stores, so it is no longer necessary to load the user in the API plug. The PowPersistentSession.Store.PersistentSessionCache has fallback logic to handle the deprecated clauses keyword list, and will load the user correctly.

Commits
  • 38742ab Roll version
  • 6f74d33 Merge pull request #626 from danschultzer/otp-24
  • 6129c8f Test with OTP 24 and Elixir 1.12.0
  • 1ca7735 Merge pull request #621 from danschultzer/prepare-otp-24-elixir-1.12
  • 88b9090 Fix missing :app for mix.exs in tests
  • b02fa7a Use bxor instead of ^^^
  • 2ebeec6 Update deps
  • 57c489e Better handling of flakey mnesia test due to slow node upstart
  • 61b0731 Merge pull request #620 from danschultzer/mnesia-tests
  • f033756 Prevent flakey tests by testing too early
  • 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)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [pow](https://github.com/danschultzer/pow) from 1.0.21 to 1.0.24.
- [Release notes](https://github.com/danschultzer/pow/releases)
- [Changelog](https://github.com/danschultzer/pow/blob/master/CHANGELOG.md)
- [Commits](pow-auth/pow@v1.0.21...v1.0.24)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants