Skip to content

chore(deps): bump jsonrepair-rs from 0.1.1 to 0.2.0 in /app/src-tauri#667

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/app/src-tauri/jsonrepair-rs-0.2.0
Open

chore(deps): bump jsonrepair-rs from 0.1.1 to 0.2.0 in /app/src-tauri#667
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/app/src-tauri/jsonrepair-rs-0.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 21, 2026

Copy link
Copy Markdown
Contributor

Bumps jsonrepair-rs from 0.1.1 to 0.2.0.

Release notes

Sourced from jsonrepair-rs's releases.

jsonrepair-rs 0.2.0

This release collects the first public expansion beyond the original string API: CLI usage, writer-based output, serde-powered parse helpers, and a streaming-oriented IO helper.

Highlights

  • New jsonrepair CLI binary:
    • repair stdin to stdout
    • repair an input file to stdout
    • repair an input file to --output <path>
  • New writer API:
    • jsonrepair_to_writer(input, writer)
  • New reader-to-writer API:
    • jsonrepair_reader_to_writer(reader, writer)
  • New optional serde feature helpers:
    • jsonrepair_value(input)
    • jsonrepair_parse::<T>(input)
  • New public error types:
    • JsonRepairWriteError
    • JsonRepairStreamError
    • JsonRepairParseError with the serde feature
  • New parity fixture corpus in tests/fixtures/parity_cases.json.

Compatibility Notes

Existing jsonrepair(input) callers should not need code changes.

The new reader-to-writer API is intentionally conservative. It lets callers use files, stdin/stdout, and buffers without receiving an owned repaired String, but the current parser still buffers the full input and repaired output inside the crate. A future parser can reduce that memory profile without changing the high-level API shape.

Validation

Run before publishing:

RUSTFLAGS="-Dwarnings" cargo check --all-targets
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings
cargo test --all-targets
cargo doc --no-deps
cargo package --allow-dirty
cargo publish --dry-run --allow-dirty
Changelog

Sourced from jsonrepair-rs's changelog.

0.2.0 - 2026-04-27

Release notes suitable for a GitHub Release are also available at https://github.com/majiayu000/jsonrepair-rs/blob/main/docs/releases/v0.2.0.md.

Added

  • Added the jsonrepair command-line binary for repairing stdin or files.
  • Added jsonrepair_to_writer for writing repaired JSON to any std::io::Write destination.
  • Added jsonrepair_reader_to_writer as the first streaming-oriented Read -> Write API.
  • Added optional serde feature helpers:
    • jsonrepair_value
    • jsonrepair_parse
    • JsonRepairParseError
  • Added JsonRepairWriteError and JsonRepairStreamError for distinguishing repair failures from IO failures.
  • Added an upstream-style parity fixture corpus under tests/fixtures/.

Changed

  • Bumped the crate version to 0.2.0.
  • The CLI now uses the reader-to-writer repair API internally.

Compatibility

  • This release is intended to be source-compatible with 0.1.x for existing jsonrepair callers.
  • New public error enums are marked #[non_exhaustive]; downstream code should include fallback match arms.
  • jsonrepair_reader_to_writer is an IO convenience MVP, not a true constant-memory streaming parser. It currently buffers complete input and repaired output inside the crate before writing.

Validation

Release validation should run:

RUSTFLAGS="-Dwarnings" cargo check --all-targets
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings
cargo test --all-targets
cargo doc --no-deps
cargo package --allow-dirty
cargo publish --dry-run --allow-dirty
Commits

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 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 [jsonrepair-rs](https://github.com/majiayu000/jsonrepair-rs) from 0.1.1 to 0.2.0.
- [Release notes](https://github.com/majiayu000/jsonrepair-rs/releases)
- [Changelog](https://github.com/majiayu000/jsonrepair-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/majiayu000/jsonrepair-rs/commits/v0.2.0)

---
updated-dependencies:
- dependency-name: jsonrepair-rs
  dependency-version: 0.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels May 21, 2026
@github-actions github-actions Bot enabled auto-merge (squash) May 21, 2026 20:15
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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants