Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 4, 2024

Bumps dynamic_color and bson. These dependencies needed to be updated together.
Updates dynamic_color from 1.6.9 to 1.7.0

Commits

Updates bson from 4543988 to 5.0.3

Changelog

Sourced from bson's changelog.

5.0.3

Fixed some inconsistencies with dart2js

  • double.NaN is stored in a different way in VM and JS, forced the VM way.
  • double.infinity and double.negativeInfinity in JS were considered as int, forced to be considered as double.
  • Fixed "Unsupported operation: Int64 accessor not supported by dart2js"

It has not been found a way to let the system detect correctly double variabls when the values has no decimals. JS in this case considers the field as an int. The only way to solve this, is to send the double fields wrapped into a BsonDobule object.

5.0.2

  • Fixed issue while decoding a bson binary containing an empty Map

5.0.1

  • Fixed issue while decoding a bson binary containing an empty List

5.0.0

This release contains many breaking changes. Here is a list of the most noticeable:

  • BSON has been deprecated in favor of BsonCodec

  • In general the logic is changed so that the document to be encoded should contain normal "Dart object" and the document returned will do the same. In input the system will continue to accept BsonObjects anyway, the issue can be with the returned Objects. At present the more important exceptions are ``BsonBinaryandDbPointer`. This also measn that the BSON classes are not automatically exported in the package, if needed you should import them from the src/types/ folder

  • To address the above logic some new classes have been created: JsCode and DbRef.

  • The DbRef values were stored as DbPointers. Now they are stored correctly as a particular type of Map (contains $ref and $id elements). Beware that, if you have stored Dbref values, now they will be returnde as DbPointers. Also an optional $db value is accepted and managed from the new DbRef class.

  • The JsCode class is used to clearly separate normal Strings from Javascript code.

  • The RegExp class is used instead of the BsonRegexp one.

  • The DbPointer class is deprecated (as per Bson specifications).

  • dataSize() and byteLenght() have been deprecated in favor of contentLength and totalByteLength getters.

  • the Bson classes now are intended to be used internally, so they are no more exported explicitly in the bson package.

  • BsonBinary.setInExtended now supports also 5 and 7 bytes aside of the already managed 3 bytes. Corrected the endian logic, now Endian.little is the default.

  • Class ObjectId:

    • Removed the obscure ClientMode parameter.
    • $oid getter renamed as oid. It is more practical in string interpolation
    • updated the random and counter parts logic. Before they were 4+4 bytes. Now, as per specifications, they are 5+3 bytes
  • The logic for the increment part was not correct in the Timestamp class

  • Added toJson method to DbRef, JsCode and Timestamp classes

5.0.0-7.0.beta

  • Reviewed the ObjectId class
  • Reviewed the Timestamp class

5.0.0-6.0.beta

... (truncated)

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 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 [dynamic_color](https://github.com/material-foundation/flutter-packages/tree/main/packages) and [bson](https://github.com/mongo-dart/bson). These dependencies needed to be updated together.

Updates `dynamic_color` from 1.6.9 to 1.7.0
- [Commits](https://github.com/material-foundation/flutter-packages/commits/HEAD/packages)

Updates `bson` from `4543988` to 5.0.3
- [Release notes](https://github.com/mongo-dart/bson/releases)
- [Changelog](https://github.com/mongo-dart/bson/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mongo-dart/bson/commits)

---
updated-dependencies:
- dependency-name: dynamic_color
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: bson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update Dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant