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

Update bson requirement from 1.0 to 2.5 #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jan 13, 2023

Updates the requirements on bson to permit the latest version.

Release notes

Sourced from bson's releases.

v2.5.0

The MongoDB Rust driver team is pleased to announce the v2.5.0 release of the bson crate.

Highlighted Changes

This release sees the addition of a wide variety of helper functions, largely focused on making common type conversions more convenient:

  • Binary::from_base64 allows constructing a Binary value from a base64-encoded string without having to use another crate.
  • i64_as_bson_datetime provides Serde helpers for representing bson DateTime values as rust i64 fields.
  • Binary::as_raw_binary and RawBinaryRef::to_binary allow easy interconversion between the parsed and raw slice reference types for binary data.
  • RawBson and RawDocumentBuf now implement TryFrom for their respective parsed types (Bson and Document).
  • Document::iter_mut provides an iterator over mutable references to the contained Bson values.

Full Release Notes

New Features

  • RUST-1385 Add binary/raw conversions (#370)
  • RUST-1480 Add a TryFrom impl for RawBson (#373)
  • RUST-1534: implement iter_mut on Document (#382)
  • RUST-1540 impl i64_as_datetime (#383)
  • RUST-1225 Add base64 string constructor to Binary (#365)
  • RUST-1540 Rename i64_as_datetime to i64_as_bson_datetime (#393)

Improvements

  • docs(readme): fix broken hyperlink (#375) (thanks satyarohith!)
  • RUST-1062 More efficiently serialize array indexes (#384)
  • Fix links in the Feature Flags table. (#388) (thanks judy2k!)
  • RUST-782 Add hyperlinks for all types in rustdoc (#389)

Tasks

  • RUST-1440 bump bson clippy version to 1.63.0 (#372)
  • fix for stale issues action
  • minor: bump clippy to 1.65 (#387)
Commits

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 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)

Updates the requirements on [bson](https://github.com/mongodb/bson-rust) to permit the latest version.
- [Release notes](https://github.com/mongodb/bson-rust/releases)
- [Commits](mongodb/bson-rust@v1.0.0...v2.5.0)

---
updated-dependencies:
- dependency-name: bson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 13, 2023
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.

0 participants