Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.6.1
->2.8.0
2.6.1
->2.8.0
2.6.1
->2.7.1
2.6.1
->2.7.1
Release Notes
schaloner/deadbolt-2-scala
v2.8.0
Compare Source
Support for Play 2.8
Cross release for Scala 2.12 and 2.13
v2.7.1
Compare Source
v2.7.0
Compare Source
schaloner/deadbolt-2-java
v2.8.0
Compare Source
Support for Play 2.8
Cross release for Scala 2.12 and 2.13
v2.7.1
Compare Source
v2.7.0
Compare Source
See #89 for a "changelog".
v2.6.4
Compare Source
Highlights
New config
deadbolt.java.constraint-mode
can bePROCESS_FIRST_CONSTRAINT_ONLY
(the default, backward compatible),AND
(all constraint annotations of the current action composition chain have to be successful) orOR
(only one constraint annotation of the current action composition chain has to be successful) See tests added in #83 for examples@Pattern
: addedmode
attribute (can beAND
orOR
) +value
attribute takes an array nowFor examples see #88
@Repeatable
Important: Requires (at least) Play version 2.6.11!
For examples see #70
Other new features and bug fixes
deadbolt.java.cache-before-auth-check=[true | false (default) ]
Caches the result of
deadboltHandler.beforeAuthCheck(...)
for the current request (similar todeadbolt.java.cache-user
). Also see #48 (comment) and #51DeadboltHandler.beforeAuthCheck(...)
has been overloaded to also passOptional<String> content
. The original method has been deprecated and will be remove in deadbolt 2.7. See #64ExecutionContextProvider
functionalityIt still exists but does nothing. => No thread switching in deadbolt anymore!
ExecutionContextProvider
will be removed in deadbolt 2.7.@Deferrable
is not needed anymore, it has been deprecated and you can safely remove it.@DeferredDeadbolt
now also has thecontent
andhandlerKey
attributes, see #68...and maybe some smaller bug fixes I can't remember now 😉
Also check our documentation tracking ticket where you can see what was added and/or fixed but hasn't been updated in the documentation yet.
v2.6.3
Compare Source
v2.6.2
Compare Source
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you tick the rebase/retry checkbox below.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.