Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ipfs/protons
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: protons-v7.2.1
Choose a base ref
...
head repository: ipfs/protons
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: protons-v7.3.0
Choose a head ref
  • 3 commits
  • 11 files changed
  • 2 contributors

Commits on Nov 1, 2023

  1. feat: add custom protons options for limiting list/map sizes (#120)

    Adds the capability to define protons-specific custom options that control decoding behaviour initially around limiting the sizes of maps and lists.
    
    ```protobuf
    // import the options definition - it will work without this but some
    // code editor plugins may report an error if the def can't be found
    import "protons.proto";
    
    message Message {
      // define the size limit - here more than 10 repeated items will
      // cause decoding to fail
      repeated string repeatedField = 1 [(protons.options).limit = 10];
    }
    ```
    
    The definition is shipped with the `protons-runtime` module. There is a [pending PR](protocolbuffers/protobuf#14505) to reserve the `1186` field ID. This should be merged first and/or the field ID updated here if it changes due to that PR.
    
    Fixes #113
    achingbrain authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    a5ba36b View commit details
    Browse the repository at this point in the history
  2. chore(release): 5.2.0 [skip ci]

    ## [protons-runtime-v5.2.0](protons-runtime-v5.1.0...protons-runtime-v5.2.0) (2023-11-01)
    
    ### Features
    
    * add custom protons options for limiting list/map sizes ([#120](#120)) ([a5ba36b](a5ba36b)), closes [#113](#113)
    semantic-release-bot committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    dfdee5a View commit details
    Browse the repository at this point in the history
  3. chore(release): 7.3.0 [skip ci]

    ## [protons-v7.3.0](protons-v7.2.1...protons-v7.3.0) (2023-11-01)
    
    ### Features
    
    * add custom protons options for limiting list/map sizes ([#120](#120)) ([a5ba36b](a5ba36b)), closes [#113](#113)
    semantic-release-bot committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    23073eb View commit details
    Browse the repository at this point in the history
Loading