github-actions[bot]
|
01c96b5641
|
chore: release master
|
2024-08-16 19:43:05 +00:00 |
|
Daniel Bankhead
|
7be19d329a
|
Merge pull request #2010 from LavissaWoW/typedef-fix
fix: multi-line typedefs generating "let" statements
|
2024-08-16 12:42:13 -07:00 |
|
Daniel Bankhead
|
59569c12c8
|
Merge pull request #2011 from martin-traverse/fix/typescript_optional_support
Fix / Handle nullability for optional fields
|
2024-08-13 14:56:16 -07:00 |
|
Martin Traverse
|
c478e1fe21
|
Add braces to if/else clauses for readability on all code touched by this change
|
2024-07-29 08:02:09 +01:00 |
|
Martin Traverse
|
258679c240
|
Update tests for proto3 to let implicit members be optional but not nullable
|
2024-07-26 23:11:42 +01:00 |
|
Martin Traverse
|
94bfbbc18e
|
Allow undefined values (but not nulls) for implicit presence fields in properties / interfaces
|
2024-07-26 22:47:52 +01:00 |
|
Martin Traverse
|
8e0027a193
|
Make parentIsInterface default to false in toJsType()
Co-authored-by: Daniel Bankhead <dan@danielbankhead.com>
|
2024-07-26 20:26:52 +01:00 |
|
Martin Traverse
|
fda51db00c
|
Allow for other syntax options than "proto2" or "proto3"
|
2024-07-26 16:38:29 +01:00 |
|
Martin Traverse
|
9bcc00610f
|
Update CLI options help and README
|
2024-07-26 16:05:43 +01:00 |
|
Martin Traverse
|
d5700a5a6a
|
Implement propagation of interface / message types under --null-semantics flag
|
2024-07-26 16:00:54 +01:00 |
|
Martin Traverse
|
623477b698
|
Include tests for interface / message types under --null-semantics
|
2024-07-26 16:00:15 +01:00 |
|
Martin Traverse
|
50255d0862
|
Fix one lint warning
|
2024-07-26 15:45:29 +01:00 |
|
Martin Traverse
|
dee30839b0
|
Update tests for --null-semantics flag
|
2024-07-26 15:45:17 +01:00 |
|
Martin Traverse
|
bee997d5e8
|
Update PBJS and README for new --null-semantics flag
|
2024-07-26 15:43:14 +01:00 |
|
Martin Traverse
|
ed5980cadc
|
Change config flag to --null-semantics and update comments
|
2024-07-26 15:41:24 +01:00 |
|
Martin Traverse
|
31f85e943c
|
Address comment for default syntax
|
2024-07-26 15:07:33 +01:00 |
|
Martin Traverse
|
6204b2dee9
|
Address codestyle comment (braces for if/else)
|
2024-07-26 15:06:43 +01:00 |
|
Martin Traverse
|
09f577a5ab
|
Do not generate doc comments for virtual oneOfs
|
2024-07-25 16:19:44 +01:00 |
|
Martin Traverse
|
ccd640e62b
|
Do not require repeated or map fields in the object properties (i.e. for interface types)
|
2024-07-25 16:18:32 +01:00 |
|
Martin Traverse
|
856af47881
|
Use field options in proto3 instead of adding an extra property
|
2024-07-25 15:59:55 +01:00 |
|
Martin Traverse
|
f2ed6e0021
|
Fix lint warnings
|
2024-07-25 11:47:27 +01:00 |
|
Martin Traverse
|
aa61793c1c
|
Only look up proto syntax once per type in the static generator
|
2024-07-24 19:18:48 +01:00 |
|
Martin Traverse
|
996e445f59
|
Explicit handling of proto3 syntax in the parser and static generator
|
2024-07-24 18:42:01 +01:00 |
|
Martin Traverse
|
f2a69a5c1d
|
Add tests for handling optional fields in both proto2 and proto3 syntax
|
2024-07-24 18:30:11 +01:00 |
|
Martin Traverse
|
479375556f
|
Fix options list in pbjs
|
2024-07-24 16:28:48 +01:00 |
|
Martin Traverse
|
2bd0b43444
|
New implementation that explicitly respects the optional keyword
|
2024-07-24 16:25:56 +01:00 |
|
Martin Traverse
|
94556f9f1b
|
Do not use null-defaults to decide type signature for pb3-optionals (this only sets the default of optional fields, it doesn't control whether a field is optional or not)
|
2024-07-24 11:53:33 +01:00 |
|
Martin Traverse
|
358d336439
|
Hide the fix for PB3 optional type declarations behind the flag --pb3-optional
|
2024-07-24 11:53:33 +01:00 |
|
Martin Traverse
|
b38a668f49
|
Fixes optional handling for class-level comments (JS) and interfaces (TS)
|
2024-07-24 11:53:33 +01:00 |
|
Nichlas Nielsen Walsøe
|
28e8d921e5
|
Fix multi-line typedefs generating "let" statements
Multi-line typedefs now generates valid type syntax
|
2024-07-24 10:49:02 +02:00 |
|
github-actions[bot]
|
0a0cdb6b0c
|
chore: release master (#2005)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
protobufjs-v7.3.2
|
2024-06-12 10:13:46 +02:00 |
|
Roman Lorenzo Balayan
|
0f9d4770e0
|
fix(docs): Update readme to correct command for creating types (#1939)
|
2024-06-12 10:10:19 +02:00 |
|
github-actions[bot]
|
a71ef7604c
|
chore: release master (#2002)
protobufjs-v7.3.1
|
2024-06-08 01:08:45 +02:00 |
|
Mike Kruskal
|
d1d2c0c789
|
fix(types): reserved field in IType can contain reserved names (#2001)
* Fix the type of reserved field in IType
* Fix the type issue in src file
|
2024-06-05 09:36:14 -07:00 |
|
dcodeIO
|
11393eaa1d
|
chore: Renovate README.md (#1995)
|
2024-05-28 16:13:14 +02:00 |
|
github-actions[bot]
|
722b6359ad
|
chore: release master (#1991)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
protobufjs-v7.3.0
|
2024-05-09 20:36:08 -07:00 |
|
Mike Kruskal
|
2d58011cc0
|
feat: add handling for extension range options (#1990)
* Add handling for extension range options
* Fix CI failures
* Fix more test issues
|
2024-05-09 20:34:08 -07:00 |
|
github-actions[bot]
|
2f846fe09c
|
chore: release master (#1962)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
protobufjs-v7.2.6
|
2024-01-16 14:53:15 -08:00 |
|
Alexander Fenster
|
af3ff83dc4
|
fix: report missing import properly in loadSync (#1960)
|
2024-01-15 22:43:29 -08:00 |
|
github-actions[bot]
|
4436cc748c
|
chore: release master (#1925)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
protobufjs-cli-v1.1.2
protobufjs-v7.2.5
|
2023-08-21 17:03:30 -07:00 |
|
Filip Mösner
|
e93286ef70
|
fix: deprecation warning for new Buffer (#1905)
Co-authored-by: Filip Mösner <filip.mosner@firma.seznam.cz>
|
2023-08-21 16:49:22 -07:00 |
|
Simon Paris
|
eaf9f0a5a4
|
fix: crash in comment parsing (#1890)
|
2023-08-21 10:42:53 -07:00 |
|
Alexander Fenster
|
f2a8620179
|
fix: possible infinite loop when parsing option (#1923)
|
2023-08-21 10:31:54 -07:00 |
|
github-actions[bot]
|
42e5a9ca85
|
chore: release master (#1900)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
protobufjs-v7.2.4
|
2023-06-23 16:33:12 -07:00 |
|
Alexander Fenster
|
e66379f451
|
fix: do not let setProperty change the prototype (#1899)
* fix: do not let setProperty change the prototype
* test: add unit test
|
2023-06-23 15:46:03 -07:00 |
|
github-actions[bot]
|
56b1e64979
|
chore: release master (#1879)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
protobufjs-v7.2.3
|
2023-03-27 11:06:31 -07:00 |
|
Alexander Fenster
|
8817ee613d
|
fix: type names can be split into multiple tokens (#1877)
|
2023-03-27 10:34:13 -07:00 |
|
github-actions[bot]
|
e721d04dad
|
chore: release master (#1867)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
protobufjs-v7.2.2
|
2023-02-07 07:23:58 -08:00 |
|
Petr Plenkov
|
14f05364a0
|
fix: do not allow to extend same field twice to prevent the error (#1784)
* do not allow to extend same field twice to prevent the error
* Ignore gitpod config
* unit test for issue #1783
* using existing test file
|
2023-02-07 07:18:01 -08:00 |
|
github-actions[bot]
|
644d588c04
|
chore: release master (#1865)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
protobufjs-cli-v1.1.1
protobufjs-v7.2.1
|
2023-02-02 13:15:45 -08:00 |
|