diff --git a/CHANGELOG.md b/CHANGELOG.md index 3886341e0..2fa2ff079 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ -## Upcoming +## 4.0.0 -- Drop support for `py_generic_services` as it was removed from the protobuf compiler starting in version 6.30 +- BREAKING: Drop support for `py_generic_services` as it was removed from the protobuf compiler starting in version 6.30 - https://protobuf.dev/news/2024-10-02/#rpc-service-interfaces - Drop testing support for protobuf <6.32 because they don't support editions - With some more work this could be added back in a testing refactor diff --git a/mypy_protobuf/main.py b/mypy_protobuf/main.py index 3700e90e5..2a6997d8c 100644 --- a/mypy_protobuf/main.py +++ b/mypy_protobuf/main.py @@ -27,7 +27,7 @@ from . import extensions_pb2 -__version__ = "3.7.0" +__version__ = "4.0.0" # SourceCodeLocation is defined by `message Location` here # https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/descriptor.proto diff --git a/run_test.sh b/run_test.sh index 190aa587b..a138c3127 100755 --- a/run_test.sh +++ b/run_test.sh @@ -93,10 +93,10 @@ MYPY_PROTOBUF_VENV=venv_$PY_VER_MYPY_PROTOBUF source "$MYPY_PROTOBUF_VENV"/bin/activate # Confirm version number - test "$(protoc-gen-mypy -V)" = "mypy-protobuf 3.7.0" - test "$(protoc-gen-mypy --version)" = "mypy-protobuf 3.7.0" - test "$(protoc-gen-mypy_grpc -V)" = "mypy-protobuf 3.7.0" - test "$(protoc-gen-mypy_grpc --version)" = "mypy-protobuf 3.7.0" + test "$(protoc-gen-mypy -V)" = "mypy-protobuf 4.0.0" + test "$(protoc-gen-mypy --version)" = "mypy-protobuf 4.0.0" + test "$(protoc-gen-mypy_grpc -V)" = "mypy-protobuf 4.0.0" + test "$(protoc-gen-mypy_grpc --version)" = "mypy-protobuf 4.0.0" # Run mypy on mypy-protobuf internal code for developers to catch issues FILES="mypy_protobuf/main.py"