lichess-org / lila-openingexplorer

Opening explorer for lichess.org that can handle all the variants and trillions of unique positions
http://lichess.org/analysis#explorer
GNU Affero General Public License v3.0
135 stars 34 forks source link

Bump moka from 0.11.0 to 0.12.1 #254

Closed dependabot[bot] closed 10 months ago

dependabot[bot] commented 11 months ago

Bumps moka from 0.11.0 to 0.12.1.

Changelog

Sourced from moka's changelog.

Version 0.12.1

Fixed

  • Fixed memory leak in future::Cache that occurred when get_with(), entry().or_insert_with(), and similar methods were used (#329[gh-issue-0329]).
    • This bug was introduced in v0.12.0. Versions prior to v0.12.0 do not have this bug.

Changed

  • (Performance) Micro-optimize ValueInitializer (#331[gh-pull-0331], by [@​Swatinem][gh-Swatinem]).

Version 0.12.0

Note v0.12.0 has major breaking changes on the API and internal behavior.

  • sync caches are no longer enabled by default: Please use a crate feature sync to enable it.

  • No more background threads: All cache types future::Cache, sync::Cache, and sync::SegmentedCache no longer spawn background threads.

    • The scheduled-thread-pool crate was removed from the dependency.
    • Because of this change, many private methods and some public methods under the future module were converted to async methods. You may need to add .await to your code for those methods.
  • Immediate notification delivery: The notification::DeliveryMode enum for the eviction listener was removed. Now all cache types behave as if the Immediate delivery mode is specified.

Please read the MIGRATION-GUIDE.md for more details.

Changed

  • Removed the thread pool from future cache (#294[gh-pull-0294]) and sync caches (#316[gh-pull-0316]).
  • Improved async cancellation safety of future::Cache. (#309[gh-pull-0309])

Fixed

  • Fixed a bug that an internal do_insert_with_hash method gets the current Instant too early when eviction listener is enabled. (#322[gh-issue-0322])

... (truncated)

Commits
  • 5c9dea6 Merge pull request #332 from moka-rs/prepare-v0.12.1
  • 616cb6c Merge pull request #331 from Swatinem/opt-waiterguard
  • 70f0132 Make invalidate_with_hash private
  • 546fcb2 Update the change log
  • edcc240 assert that all futures are Send
  • 9950704 Avoid a lock around replace_if
  • d1aa41f Also simplify sync implementation
  • f2bf79e Micro-optimize ValueInitializer
  • b3074fc Merge pull request #330 from moka-rs/fix-get-with-in-future-cache
  • 233e53d Update the change log
  • 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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[bot] commented 10 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.