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

Bump cachex from 3.6.0 to 4.0.0 in /app #4160

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 30, 2024

Bumps cachex from 3.6.0 to 4.0.0.

Release notes

Sourced from cachex's releases.

v4.0.0

Cachex v4.0.0 is a large release which includes many new features and breaking changes.

Please see the migration guide if you need any assistance in upgrading your application to the latest version.

If you're interested, you can read the corresponding blog post.

Fixes:

  • Fixed another round of Dialyzer warnings
  • Fixed a case where the Courier service could hang
  • Fixed a case where hooks were not storing modified state
  • Fixed an issue where fetching could run multiple times simultaneously
  • Fixed an issue where Janitor runs would broadcast hooks twice

Features:

  • Added new Cachex.Limit.Accessed hook to enable LRU caching
  • Added new Cachex.Router behaviour and functionality
  • Added new Cachex.Router.Ring router for distributed caches
  • Added new Cachex.prune/3 to enable manual cache pruning
  • Added new Cachex.warm/2 to enable manual cache warming
  • Added new lazy initialized to cache janitors
  • Added new query support inside Cachex.Query
  • Combined Cachex.count/2 and Cachex.size/2
  • Rewritten all documentation for readability

Improvements:

  • Added new service to centralize provisioning of hooks
  • Added support for provisioning warmers and services
  • Added support for :ordered tables in cache options
  • Cleaned up the Janitor service for improved performance
  • Cleaned up limit application and removed policies
  • Cleaned up vague naming inside cache entries
  • Cleaned up various poor naming choices for options
  • Enabled local only actions to be called with local: true
  • Enabled custom name registration for cache warmers
  • Enabled triggering cache hooks from cache warmers
  • Raised the minimum Elixir requirement to v1.7
  • Reduced documentation noise from internal modules
  • Removed all use of :qlc with simple :ets operations
  • Removed several deprecated APIs (finally!)
  • Removed unnecessary macro complexity from Cachex.Router
  • Renamed Cachex.dump/2 to Cachex.save/3
  • Renamed Cachex.load/2 to Cachex.restore/3
  • Updated CI infrastructure and tested versions
  • Updated test infrastructure, structure and helpers
  • Updated benchmarking suite for better performance metrics

... (truncated)

Commits
  • ff5e6ae Bump to v4.0.0
  • 7be46a3 Update and refactor warming documentation
  • bc3e42d Fix outdated links to avoid CI warnings
  • a0b7293 Remove unnecessary macros in streaming examples
  • 8bc79c9 Remove outdated documentation in query modules
  • 4588b30 Adjust default timing for scheduled intervals
  • 23c3929 Skip purges in Janitor when no keys have expired
  • 55898cb Add minor doc notes and specs
  • 7aa2f5d Replace old signatures for Supervisor.child_spec/1
  • b976fb3 Update test cases for :commit changes
  • 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 <dependency name> 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)

Bumps [cachex](https://github.com/whitfin/cachex) from 3.6.0 to 4.0.0.
- [Release notes](https://github.com/whitfin/cachex/releases)
- [Commits](whitfin/cachex@v3.6.0...v4.0.0)

---
updated-dependencies:
- dependency-name: cachex
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 30, 2024
@github-actions github-actions bot mentioned this pull request Oct 2, 2024
@mbklein mbklein merged commit 5314fb2 into deploy/staging Oct 2, 2024
4 checks passed
@dependabot dependabot bot deleted the dependabot/hex/app/deploy/staging/cachex-4.0.0 branch October 2, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant