Skip to content

chore: release main#84

Closed
release-please[bot] wants to merge 83 commits intomainfrom
release-please--branches--main
Closed

chore: release main#84
release-please[bot] wants to merge 83 commits intomainfrom
release-please--branches--main

Conversation

@release-please
Copy link
Contributor

@release-please release-please bot commented Oct 9, 2025

🤖 I have created a release beep boop

proto3-json-serializer: 4.0.0

4.0.0 (2025-10-09)

⚠ BREAKING CHANGES

  • upgrade to node 18 (#113)
  • require Node 14 (#72)
  • make Node 12 minimum language version (#38)
  • proto3 JSON serializer and deserializer (#2)
  • monorepo migration

Features

  • Make Node 12 minimum language version (#38) (96cf642)
  • Option to serialize enum values as numbers (#60) (1df32ef)
  • Proto3 JSON serializer and deserializer (#2) (431ba6e)
  • Remove extends from gts in proto3jsonserializer and define attributes in config (77df54d)

Bug Fixes

  • Accept and return strings for int64 and uint64 (#7) (3fe4fa9)
  • Change eslintrc.json to .js (cd3e129)
  • deps: Bump protobuf.js to ^6.11.3 (#46) (fb3905a)
  • deps: Protobufjs is a dependency for the types (#23) (a12cee2)
  • deps: Update dependency google-proto-files to v3 (#53) (407f111)
  • deps: Update dependency google-proto-files to v4 (#82) (6ec85df)
  • deps: Update dependency google-proto-files to v5 (#124) (6e91f8a)
  • deps: Update dependency protobufjs to v7 (#56) (748f35d)
  • deps: Update protobufjs to 7.2.5 (426e7b4)
  • Do not emit empty lists to JSON (#15) (aaccf33)
  • Do not fail for unknown enum values (#11) (62ce2a5)
  • Do not use Node.js assert (#37) (5e91138)
  • Fix enum serialization in maps and repeated fields (#129) (20d790e)
  • JSON accept special string for NaN, Infinity (#19) (d28400d)
  • Keep nano second precision when maps between JSON and proto3 (#28) (07caed1)
  • Monorepo migration (86a7376)
  • Properly convert repeated int64 and maps of int64 (#96) (729472e)
  • Proto3jsonserializer ts config (dfa0ab4)
  • Repeated field can be null in JSON (#66) (9ba14c9)
  • Switch typescript to tilde notation (#137) (185846c)
  • Timestamp without millisecond (#30) (a1b15f4)
  • Use imported protobufjs in toproto3json.ts (#9) (e4c35f0)

Miscellaneous Chores


This PR was generated with Release Please. See documentation.

alexander-fenster and others added 30 commits October 9, 2025 15:33
* chore: repository setup

* chore: update auto-approve.yml
Release-As: v0.1.0

* feat!: proto3 JSON serializer and deserializer

* chore: add prelint step

* chore: region tags

* fix: script to run mocha

* chore: no source-map-support/register needed
🤖 I have created a release \*beep\* \*boop\*
---
## 0.1.0 (2021-08-03)


### ⚠ BREAKING CHANGES

* proto3 JSON serializer and deserializer (#2)

### Features

* proto3 JSON serializer and deserializer ([#2](https://www.github.com/googleapis/proto3-json-serializer-nodejs/issues/2)) ([96255a7](https://www.github.com/googleapis/proto3-json-serializer-nodejs/commit/96255a77c7714f33cae547db9160615d7f80a233))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
## Description
Ran into a couple issues with conflicting types / packages because protobufjs was not being imported locally. 

This meant it was using the global `protobuf` namespace before, when it was referencing [`protobuf.Message`](https://github.com/googleapis/proto3-json-serializer-nodejs/blob/main/typescript/src/toproto3json.ts#L44) in the function signature of `toProto3JSON`.



## Checklist

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/proto3-json-serializer-nodejs/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕
If `fromProto3JSON` sees an enum with an unknown value, do not fail. `fromObject` will then likely ignore the unknown value, resulting in an effectively unset enum field, which is still better than throwing an exception.
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped) | [`^14.11.2` -> `^16.0.0`](https://renovatebot.com/diffs/npm/@types%2fnode/14.17.32/16.11.6) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.11.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.11.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.11.6/compatibility-slim/14.17.32)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.11.6/confidence-slim/14.17.32)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: "after 9am and before 3pm" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/proto3-json-serializer-nodejs).
The fractional seconds in the JSON timestamps can go up to 9 digits (i.e. up to 1 nanosecond resolution). [timestamps.proto](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/timestamp.proto#L115)
However, Javascript Date object represent any date and time to millisecond precision.

To keep the precision, we extract the fractional seconds and append 0 until the length is equal to 9.
🤖 I have created a release *beep* *boop*
---


### [0.1.7](googleapis/proto3-json-serializer-nodejs@v0.1.6...v0.1.7) (2022-01-14)


### Bug Fixes

* keep nano second precision when maps between JSON and proto3 ([#28](googleapis/proto3-json-serializer-nodejs#28)) ([eaa01ce](googleapis/proto3-json-serializer-nodejs@eaa01ce))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
A timestamp might have no millisecond, form like `2022-01-01T00:00:00Z` vs `2022-01-01T00:00:00.000Z`.
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
* build: enable OwlBot

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@dpebot
Copy link
Collaborator

dpebot commented Oct 9, 2025

/gcbrun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.