Skip to content

Bump bincode from 1.3.3 to 3.0.0 - #173

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/bincode-3.0.0
Closed

Bump bincode from 1.3.3 to 3.0.0#173
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/bincode-3.0.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps bincode from 1.3.3 to 3.0.0.

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels May 1, 2026
Bumps [bincode](https://github.com/bincode-org/bincode) from 1.3.3 to 3.0.0.
- [Commits](https://github.com/bincode-org/bincode/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
@zhangfengcdt

Copy link
Copy Markdown
Owner

Superseded by #184. Note: 3.0.0 is an xkcd-2347 placeholder crate (compile_error!); #184 targets the real latest stable, bincode 2.0.1.

@dependabot @github

dependabot Bot commented on behalf of github May 23, 2026

Copy link
Copy Markdown
Contributor Author

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.

@dependabot
dependabot Bot deleted the dependabot/cargo/bincode-3.0.0 branch May 23, 2026 01:40
zhangfengcdt added a commit that referenced this pull request May 23, 2026
Combined dependency upgrade addressing #172, #173, #174, #175, #176.

pyo3 0.22 → 0.28:
- `PyBytes::new_bound` / `PyDict::new_bound` / `PyList::new_bound` /
  `PyList::empty_bound` → unsuffixed `new` / `empty` (Bound is now the
  default). `PyList::new` is now fallible (returns `PyResult`), so call
  sites add `?`.
- `py.allow_threads(..)` → `py.detach(..)` and `Python::with_gil(..)` →
  `Python::attach(..)` (0.28 rename).
- `value.into_py(py)` → `value.into_py_any(py).unwrap()` via the new
  `IntoPyObjectExt` trait.
- `obj.downcast::<T>()` → `obj.cast::<T>()` on `&Bound<PyAny>`.
- Five `#[pyclass]` types that derive `Clone` opt-in to the legacy
  `FromPyObject` derive via `from_py_object` to avoid the 0.28
  deprecation warning.

bincode 1.3 → 2.0:
- Dependabot proposed 3.0.0, which is an xkcd-2347 placeholder crate
  (`compile_error!`). Targeted 2.0 instead — the real latest stable.
- Added thin `crate::serde_bincode` module wrapping
  `bincode::serde::encode_to_vec` / `decode_from_slice` with
  `bincode::config::legacy()` so the on-disk format stays byte-compatible
  with what 1.3 produced (git blobs, RocksDB rows, and proximity index
  snapshots written by older versions still round-trip).
- `bincode::Error` is gone in 2.x. `GitKvError::SerializationError`
  splits into `SerializationEncodeError(EncodeError)` and
  `SerializationDecodeError(DecodeError)`; `StorageError::Serialization`
  likewise splits into `SerializationEncode` / `SerializationDecode`.

lru 0.16 → 0.18, uuid 1.0 → 1.23, assert_cmd 2.0 → 2.2: drop-in.

Verified: cargo build --all, cargo clippy with each feature flag set
(default / +rocksdb_storage +proximity +proximity_text / python /
python +proximity +proximity_text +rocksdb_storage), and the full
`git sql` and `git sql rocksdb_storage proximity proximity_text` test
suites all pass. maturin build with `python sql` produces a working
wheel that round-trips basic ops; 21 of the 22 collected pre-rocksdb
Python tests pass (the 1 setup error in test_sql is an unrelated
pre-existing missing `git init` in the temp dir).
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.

1 participant