Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 1, 2025

Note

Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to mend[bot].

This notice will be removed on 2025-10-07.


This PR contains the following updates:

Package Type Update Change
json-escape dev-dependencies minor 0.2.0 -> 0.3.0

Release Notes

veecore/json-escape (json-escape)

v0.3.0

Compare Source

🎉 Added
  • Streaming Unescape API: A new stream module provides the UnescapeStream struct for high-performance, allocation-free processing of chunked byte slices. It's perfect for I/O-bound applications as it correctly handles escape sequences that are split across buffer boundaries.
  • Low-Level Token API: A new token module introduces a granular, iterator-based API (UnescapeTokens and EscapeTokens). This provides a more flexible, zero-copy foundation for building custom string processors.
🚀 Performance
  • SWAR-based Escape Finding: Replaced the byte-by-byte scan with a SWAR (SIMD Within A Register) algorithm, making escape detection significantly faster in common scenarios:
    • ~2.5× faster on strings with no escapes.
    • ~1.8× faster on strings with sparse escapes.
    • ~2.2× faster on typical Unicode-heavy strings.
🐞 Fixed
  • Corrected EOF in Surrogate Pairs: Fixed a bug where an incomplete surrogate pair at the end of the input (e.g., \uD83D\u) was incorrectly reported as a LoneSurrogate error. It is now correctly identified as an UnexpectedEof error, with regression tests to prevent recurrence.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) October 1, 2025 21:44
Copy link
Contributor Author

renovate bot commented Oct 1, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace error: failed to acquire package cache lock Caused by: failed to open: /home/ubuntu/.cargo/.package-cache Caused by: failed to create directory `/home/ubuntu/.cargo` Caused by: File exists (os error 17) 
Copy link

codspeed-hq bot commented Oct 1, 2025

CodSpeed Performance Report

Merging #24 will not alter performance

Comparing renovate/json-escape-0.x (aaf22db) with main (86e1635)

Summary

✅ 4 untouched
⏩ 6 skipped1

Footnotes

  1. 6 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@renovate renovate bot merged commit fe51a18 into main Oct 1, 2025
10 of 11 checks passed
@renovate renovate bot deleted the renovate/json-escape-0.x branch October 1, 2025 21:49
@github-actions github-actions bot mentioned this pull request Sep 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
0 participants