I was confused by sentence at 
https://developers.google.com/protocol-buffers/docs/reference/python-generated#sharing-messages:
     "Prior to Python 4.21.0, Python apps could share messages with C++ 
using a native extension." 
Latest python version is 3.11 at the moment. Now I know that 4.21 is about 
protobuf Python API.
I propose to update above sentence to (there is one more place to fix on 
same page)
     "Prior to Python API 4.21.0, Python apps could share messages with C++ 
using a native extension." 
I don't know where is the documentation repo to make PR.


On Wednesday, May 11, 2022 at 5:15:27 PM UTC-7 deanna... wrote:

> Some recent changes to Protocol Buffers are worth being aware of.
>
> First, we’ve changed our versioning scheme to enable more-nimble updates 
> to language APIs in Protocol Buffers. In the new scheme, each language has 
> its own major version that can be incremented independently of other 
> languages. The minor and patch versions, however, remain coupled. This 
> allows us to introduce breaking changes into some languages without 
> requiring a bump of the major version in languages that did not experience 
> a breaking change.
>
> The first instance of this new versioning scheme is the new version of the 
> Python API, 4.21.0, which follows the preceding version, 3.20.1. Other 
> language APIs are released as 3.21.0.
>
> Next, there are changes in Python language support. Version 4.21.0 is a 
> new major version, following 3.20.1. The new version is based on the upb 
> library, and offers significantly better parsing performance than previous 
> releases, especially for large payloads. It also includes prebuilt binary 
> modules for Apple silicon for increased performance without a manual build. 
>
> The new release does contain some breaking changes. Specifically:
>
>
>    - The UnknownFields() method, which relied on an implicitly created 
>    class, is replaced with the explicitly-created UnknownFieldSet class.
>    - Some non-core characteristics may have changed, such as the specific 
>    format of certain strings or error messages. These are not considered 
>    breaking changes, but may still impact your existing code base.
>    - Applications that rely on sharing messages between Python and C++ 
>    break in the new version. Most developers won’t be affected by this, but 
>    users of Nucleus and possibly other libraries may be. As a workaround, you 
>    can set an environment variable that forces the library to preserve 
>    compatibility.
>    - Python upb requires generated code that has been generated from 
>    protoc 3.19.0 or newer.
>
>
> Lastly, we’ve moved some things around for Protocol Buffer support of 
> JavaScript. Specifically, we decoupled the language support from the main 
> project (https://github.com/protocolbuffers/protobuf/) and moved it into 
> its own repository (https://github.com/protocolbuffers/protobuf-javascript
> ).
>
> If you have created any pull requests related to JavaScript support in 
> Protocol Buffers that you’d still like to merge, feel free to replicate 
> those against the JavaScript repository. We will transfer GitHub issues 
> automatically.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/0452b1ab-7d59-4bb6-b119-fbfe73ddfd6cn%40googlegroups.com.

Reply via email to