Bump SDK dependency to 3.3.0, replace removed `dart:typed_data` type in test code (#953)

`Unmodifiable...View` types were deprecated in favor of `asModifiableView`s
members introduced in SDK 3.3.0.

These types are now removed, so the protobuf package tests can't be built with
the most recent SDK.

Bump the SDK dependency to 3.3.0 (the version introduced `asModifiableView`)
and replace the removed type with `asModifiableView` in the test.

Fix new warnings with 3.3.0 in protoc_plugin tests and generated code.

Remove legacy tests in protoc_plugin as we no longer support unsound versions
of Dart.

This PR also makes some small changes to make CI happy:

- Fix analyzer issues in protobuf.

- api_benchmark is getting bitrot, make analyzer issues in api_benchmark
  non-fatal so that we can run other CI jobs when it fails.

GitHub CI config is re-generated with the most recent mono_repo.

Closes #936.
38 files changed
tree: b0ca2417fe2070ecee85e19aa3dce83333c8dda3
  1. .github/
  2. api_benchmark/
  3. benchmarks/
  4. protobuf/
  5. protoc_plugin/
  6. tool/
  7. .gitignore
  8. analysis_options.yaml
  9. AUTHORS
  10. LICENSE
  11. mono_repo.yaml
  12. README.md
README.md

CI status

Protobuf support for Dart

Protocol Buffers (protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.

This repository is home to packages related to protobuf for Dart.

PackageDescriptionPublished Version
protobufA support library for the generated codepub package
protoc_pluginA Dart back-end for the protoc compilerpub package
api_benchmarkBenchmarking for various API calls
query_benchmarkBenchmark for encoding and decoding of a “real-world” protobuf

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.