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

Update deadbolt.version #274

Closed
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 3, 2020

This PR contains the following updates:

Package Update Change
be.objectify:deadbolt-scala_2.12 (source) minor 2.6.1 -> 2.8.0
be.objectify:deadbolt-java_2.12 (source) minor 2.6.1 -> 2.8.0
be.objectify:deadbolt-scala_2.11 (source) minor 2.6.1 -> 2.7.1
be.objectify:deadbolt-java_2.11 (source) minor 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

  • Constraint modes
    New config deadbolt.java.constraint-mode can be PROCESS_FIRST_CONSTRAINT_ONLY (the default, backward compatible), AND (all constraint annotations of the current action composition chain have to be successful) or OR (only one constraint annotation of the current action composition chain has to be successful) See tests added in #​83 for examples
  • @Pattern: added mode attribute (can be AND or OR) + value attribute takes an array now
    For examples see #​88
  • Constraint annotations are now @Repeatable
    Important: Requires (at least) Play version 2.6.11!
    For examples see #​70

Other new features and bug fixes

  • Caching improvements: Allow caching of multiple subjects per request, see #​48
  • Faster! Removed reflection calls. This may effects you if you have high load/a lot of traffic. See #​62
  • New config deadbolt.java.cache-before-auth-check=[true | false (default) ]
    Caches the result of deadboltHandler.beforeAuthCheck(...) for the current request (similar to deadbolt.java.cache-user). Also see #​48 (comment) and #​51
  • DeadboltHandler.beforeAuthCheck(...) has been overloaded to also pass Optional<String> content. The original method has been deprecated and will be remove in deadbolt 2.7. See #​64
  • Finished removal of ExecutionContextProvider functionality
    It 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.
  • Bugfix: Action call order was wrong when deferring, see #​60
  • @DeferredDeadbolt now also has the content and handlerKey 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/deadbolt.version branch 3 times, most recently from 8883ed6 to a6ad690 Compare February 7, 2020 15:37
@renovate renovate bot changed the title Update deadbolt.version to v2.7.1 Update deadbolt.version Feb 10, 2020
@mkurz
Copy link

mkurz commented Feb 10, 2020

See #265 (comment)

@renovate renovate bot force-pushed the renovate/deadbolt.version branch 13 times, most recently from 06eef6e to 60a6654 Compare February 12, 2020 10:24
@renovate renovate bot force-pushed the renovate/deadbolt.version branch from 60a6654 to 12ffaf4 Compare February 12, 2020 11:40
@leleuj leleuj closed this Feb 13, 2020
@leleuj leleuj deleted the renovate/deadbolt.version branch February 13, 2020 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants