-
Notifications
You must be signed in to change notification settings - Fork 25
Comparing changes
Open a pull request
base repository: ipfs/protons
base: protons-runtime-v4.0.2
head repository: ipfs/protons
compare: protons-runtime-v5.0.0
- 14 commits
- 38 files changed
- 3 contributors
Commits on Jan 12, 2023
-
chore(release): 6.0.2 [skip ci]
## [protons-v6.0.2](protons-v6.0.1...protons-v6.0.2) (2023-01-12) ### Dependencies * remove lerna, update aegir ([#76](#76)) ([83a24f2](83a24f2))
Configuration menu - View commit details
-
Copy full SHA for 26c569d - Browse repository at this point
Copy the full SHA 26c569dView commit details -
feat: add support for maps (#75)
You can now use maps: ```protobuf message MapTypes { map<string, string> stringMap = 1; } ``` They are deserlialized as ES6 `Map`s and can support keys of any type - n.b. protobuf.js deserializes maps as `Object`s and only supports round tripping string keys.Configuration menu - View commit details
-
Copy full SHA for e8dfc0a - Browse repository at this point
Copy the full SHA e8dfc0aView commit details -
chore(release): 6.1.0 [skip ci]
## [protons-v6.1.0](protons-v6.0.2...protons-v6.1.0) (2023-01-12) ### Features * add support for maps ([#75](#75)) ([e8dfc0a](e8dfc0a))
Configuration menu - View commit details
-
Copy full SHA for 51746ec - Browse repository at this point
Copy the full SHA 51746ecView commit details
Commits on Jan 17, 2023
-
fix: support empty messages (#78)
Empty messages should be supported
Configuration menu - View commit details
-
Copy full SHA for 8a02910 - Browse repository at this point
Copy the full SHA 8a02910View commit details -
chore(release): 6.1.1 [skip ci]
## [protons-v6.1.1](protons-v6.1.0...protons-v6.1.1) (2023-01-17) ### Bug Fixes * support empty messages ([#78](#78)) ([8a02910](8a02910))
Configuration menu - View commit details
-
Copy full SHA for 3ac2c56 - Browse repository at this point
Copy the full SHA 3ac2c56View commit details
Commits on Jan 31, 2023
-
fix: throw when unsupported fields are detected (#80)
`required` is a field in proto2 but not in proto3 so throw if it is encountered while generating `.ts` from `.proto`. It would be better to detect `proto2` from the `syntax` directive but it's not in the output of the `pbjs -t json` command. Fixes #34
Configuration menu - View commit details
-
Copy full SHA for 8108875 - Browse repository at this point
Copy the full SHA 8108875View commit details -
Configuration menu - View commit details
-
Copy full SHA for a34a908 - Browse repository at this point
Copy the full SHA a34a908View commit details -
fix: throw when .proto is empty (#81)
Refuse to compile an empty .proto file
Configuration menu - View commit details
-
Copy full SHA for ed392cb - Browse repository at this point
Copy the full SHA ed392cbView commit details -
chore(release): 6.1.3 [skip ci]
## [protons-v6.1.3](protons-v6.1.2...protons-v6.1.3) (2023-01-31) ### Bug Fixes * throw when .proto is empty ([#81](#81)) ([ed392cb](ed392cb))
Configuration menu - View commit details
-
Copy full SHA for 311b622 - Browse repository at this point
Copy the full SHA 311b622View commit details -
chore: move bad fixtures to separate directory (#82)
To allow regenerating good fixtures, move the bad fixtures to their own directory.
Configuration menu - View commit details
-
Copy full SHA for 76aa198 - Browse repository at this point
Copy the full SHA 76aa198View commit details
Commits on Feb 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fd2e7a7 - Browse repository at this point
Copy the full SHA fd2e7a7View commit details
Commits on Feb 2, 2023
-
fix!: singular fields should be optional to write (#83)
As per [`proto3`'s language guide](https://developers.google.com/protocol-buffers/docs/proto3#specifying_field_rules): > Message fields can be one of the following: > - singular: a well-formed message can have zero or one of this field (but not more than one). And this is the default field rule for proto3 syntax. This means that all `proto3` fields are effectively optional when writing, so it's relatively easy to implement by accepting a `Partial` version of the message interface for encoding. When reading messages singular fields are initialized to their default values when reading and optional values are not so the plain non-`Partial` interface can be returned. This also has the nice side effect of not requiring the user to pass empty lists/maps for `repeated` and `map` fields which never really felt right. These values are initialized to their empty forms when reading messages from the wire. Fixes #42
Configuration menu - View commit details
-
Copy full SHA for 229afbc - Browse repository at this point
Copy the full SHA 229afbcView commit details -
ipfs/eslint-config-ipfs#126 will introduce linting rules on import sorting so order imports during building in a way that will comply with the new linting rules.
Configuration menu - View commit details
-
Copy full SHA for 6f796f1 - Browse repository at this point
Copy the full SHA 6f796f1View commit details -
chore(release): 5.0.0 [skip ci]
## [protons-runtime-v5.0.0](protons-runtime-v4.0.2...protons-runtime-v5.0.0) (2023-02-02) ### ⚠ BREAKING CHANGES * singular fields should be optional to write (#83) ### Bug Fixes * singular fields should be optional to write ([#83](#83)) ([229afbc](229afbc)), closes [#42](#42) * sort imports ([#84](#84)) ([6f796f1](6f796f1))
Configuration menu - View commit details
-
Copy full SHA for 63827d9 - Browse repository at this point
Copy the full SHA 63827d9View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff protons-runtime-v4.0.2...protons-runtime-v5.0.0