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 dependency protobuf to v3 #21

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 17, 2023

This PR contains the following updates:

Package Type Update Change
protobuf (source) dependencies major ^2.0.0 -> ^3.0.0

Release Notes

google/protobuf.dart (protobuf)

v3.1.0

Compare Source

  • CodedBufferReader readBytes now copies the returned bytes to avoid
    accidental sharing of the input buffer with the returned Uint8List. New
    member readBytesAsView added with the old behavior. (#​863)

  • Avoid sharing the input buffer in unknown length-delimited fields using the
    new readBytes. (#​863)

v3.0.0

Compare Source

  • Require Dart 2.19.
  • Remove ReadonlyMessageMixin (#​183, #​644)
  • Remove frozenMessageModificationHandler (#​175, #​643)
  • Remove PbListBase and FrozenPbList types. All proto repeated fields now
    use PbList. To check if a list is frozen, use isFrozen getter. (#​624,
    #​626)
  • Initialize map fields in GeneratedMessage.getField. This behavior is
    consistent with getField called on repeated fields. (#​373, #​707)
  • Remove unused and optional PbMap constructor argument BuilderInfo? info.
    (d94d3f0)
  • UnknownFieldSetField methods hasRequiredFields, isInitialized and
    getter length removed. (#​721)
  • Update library documentation to hide internals, add documentation for public
    types. (#​681)
  • Fix PbMap._isReadonly field initialization in PbMap.unmodifiable.
    (#​741, #​754)
  • Fix decoding map fields when key or value (or both) fields of a map entry is
    missing. (#​719, #​745)
  • Fix updating frozen (immutable) messages with merge methods
    (mergeFromBuffer, mergeFromProto3Json, ...). (#​489, #​727)
  • Fix handling null values in proto3 JSON deserializer. (#​751, #​760,
    #​763)
  • Fix handling negative JSON values when parsing uint32 fields. (#​839)
  • Avoid serializing unknown fields twice in reparseMessage. (#​840)

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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
Copy link
Contributor Author

renovate bot commented Jun 17, 2023

⚠ 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: pubspec.lock
Command failed: docker run --rm --name=renovate_a_sidecar --label=renovate_a_child -v "/tmp/worker/62cb23/bb8682/repos/github/Allan-Nava/nakama-flutter":"/tmp/worker/62cb23/bb8682/repos/github/Allan-Nava/nakama-flutter" -v "/tmp/worker/62cb23/bb8682/cache":"/tmp/worker/62cb23/bb8682/cache" -e BUILDPACK_CACHE_DIR -e CONTAINERBASE_CACHE_DIR -w "/tmp/worker/62cb23/bb8682/repos/github/Allan-Nava/nakama-flutter" ghcr.io/containerbase/sidecar bash -l -c "install-tool flutter 3.10.5 && flutter pub upgrade protobuf"
Downloading Linux x64 Dart SDK from Flutter engine 45f6e009110df4f34ec2cf99f63cf73b71b7a420...
Building flutter tool...
The lower bound of "sdk: '>=2.7.0 <3.0.0'" must be 2.12.0'
or higher to enable null safety.

The current Dart SDK (3.0.5) only supports null safety.

For details, see https://dart.dev/null-safety

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants