Skip to content

chore(deps): Update lru requirement from 0.12 to 0.16#10

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/lru-0.16
Open

chore(deps): Update lru requirement from 0.12 to 0.16#10
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/lru-0.16

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Nov 26, 2025

Updates the requirements on lru to permit the latest version.

Changelog

Sourced from lru's changelog.

v0.16.2 - 2025-10-14

  • Upgrade hashbrown dependency to 0.16.0.

v0.16.1 - 2025-09-08

  • Fix Clone for unbounded cache.

v0.16.0 - 2025-07-02

  • Implement Clone for caches with custom hashers.

v0.15.0 - 2025-06-26

  • Return bool from promote and demote to indicate whether key was found.

v0.14.0 - 2025-04-12

  • Use NonZeroUsize::MAX instead of unwrap(), and update MSRV to 1.70.0.

v0.13.0 - 2025-01-27

  • Add peek_mru and pop_mru methods, upgrade dependency on hashbrown to 0.15.2, and update MSRV to 1.65.0.

v0.12.5 - 2024-10-30

  • Upgrade hashbrown dependency to 0.15.

v0.12.4 - 2024-07-30

  • Add methods that take a reference to the key that should be inserted.

v0.12.3 - 2024-02-24

  • Add get_key_value_mut method.

v0.12.2 - 2024-01-28

  • Add clone method.

v0.12.1 - 2023-11-21

  • Add get_key_value method.

v0.12.0 - 2023-10-03

  • Add lifetime specifier to try_get_or_insert_mut.
  • Add BuildHasher trait bound to Debug for LruCache.

v0.11.1 - 2023-09-05

... (truncated)

Commits
  • c1f843d Merge pull request #223 from jeromefroe/jerome/prepare-0-16-2-release
  • fc4f309 Prepare 0.16.2 release
  • e91ea2b Merge pull request #222 from torokati44/hashbrown-0.16
  • 90d05fe Update hashbrown to 0.16
  • c699209 Merge pull request #220 from jeromefroe/jerome/prepare-0-16-1-release
  • 2bd8207 Prepare 0.16.1 release
  • 1b21bf1 Merge pull request #219 from wqfish/bk
  • 3ec42b6 Fix clone implementation for unbounded cache
  • e2e3e47 Merge pull request #218 from jeromefroe/jerome/prepare-0-16-0-release
  • 17fe4f3 Prepare 0.16.0 release
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 26, 2025

Labels

The following labels could not be found: dependencies, rust. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot bot requested a review from petitan as a code owner November 26, 2025 21:37
@dependabot dependabot bot force-pushed the dependabot/cargo/lru-0.16 branch from 423df5a to 8eb9dbe Compare November 28, 2025 18:19
@dependabot dependabot bot force-pushed the dependabot/cargo/lru-0.16 branch 2 times, most recently from 9d058f1 to 3a85754 Compare December 11, 2025 23:57
@dependabot dependabot bot force-pushed the dependabot/cargo/lru-0.16 branch 2 times, most recently from a7c3bd3 to b770ff4 Compare December 14, 2025 18:15
Updates the requirements on [lru](https://github.com/jeromefroe/lru-rs) to permit the latest version.
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md)
- [Commits](jeromefroe/lru-rs@0.12.0...0.16.2)

---
updated-dependencies:
- dependency-name: lru
  dependency-version: 0.16.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/lru-0.16 branch from b770ff4 to cf40b7f Compare December 20, 2025 07:21
petitan added a commit that referenced this pull request Dec 21, 2025
CRITICAL:
- BUG #1: Transaction commit/rollback now uses write lock (was read lock - race condition)
- BUG #2: max_operations=0 now uses default limit (was unlimited - DoS vulnerability)
- BUG #3: switch_database acquires write lock before existence check (TOCTOU fix)
- BUG #4: API key serialization uses ? instead of unwrap (was panic risk)

HIGH:
- BUG #5: Script versioning uses optimistic locking with version check (race condition fix)
- BUG #6: API key cache logs errors instead of silent ignore
- BUG #7: Script delete checks for dependent scripts before deletion
- BUG #8: TLS key file read once into memory, no double-open
- BUG #9: Collection flags update uses write lock (was read lock)

MEDIUM:
- BUG #10: Projection validation checks values before truncating cast
- BUG #12: Script name validation added (same rules as collection names)
- BUG #13: Directory creation failures logged instead of silent ignore
- BUG #14: All unwrap/expect calls replaced with proper error handling

NOT A BUG:
- BUG #11: parking_lot::Mutex doesn't poison (verified)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
petitan added a commit that referenced this pull request Dec 21, 2025
BUG #1: Signal handler panic - .expect() replaced with graceful error handling
BUG #2: Error response body read - unwrap_or_default() replaced with proper error handling
BUG #3: JSON serialization - .ok() replaced with serialize_response() helper
BUG #4: stdout write errors - detect broken pipe and exit gracefully
BUG #5: DoS via unbounded batch - add MAX_BATCH_SIZE limit (1000)
BUG #6: DoS via response size - add MAX_RESPONSE_SIZE limit (10MB)
BUG #7: SSRF via URL parsing - use url crate for proper URL construction
BUG #8: Insecure TLS mode - add prominent warning banner
BUG #9: Notification errors silent - log notification forward errors
BUG #10: Health check sleep overflow - cap backoff to MAX_HEALTH_BACKOFF_MS
BUG #11: Empty batch allowed - reject per JSON-RPC 2.0 spec
BUG #12: Missing jsonrpc validation - validate "2.0" version field

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

0 participants