feat(encode): Allow ignoring undefined plain object properties#155
Merged
rvagg merged 2 commits intorvagg:masterfrom Jan 19, 2026
Merged
Conversation
6c2efbc to
56fc9f4
Compare
matthieusieben
added a commit
to matthieusieben/cborg
that referenced
this pull request
Dec 15, 2025
56fc9f4 to
6b10774
Compare
matthieusieben
added a commit
to matthieusieben/cborg
that referenced
this pull request
Dec 15, 2025
6b10774 to
70e5e61
Compare
70e5e61 to
e03a909
Compare
Contributor
Author
|
@rvagg would you mind giving this PR a review, or tell me when you'd be able to do so ? Thank you very much & Happy new year 🥳 |
Owner
|
yeah, sorry, on my list but I need to catch up after a break, sorry about the delay |
rvagg
approved these changes
Jan 19, 2026
Owner
rvagg
left a comment
There was a problem hiding this comment.
added some minor perf tweaks, expanded tests to cover some edges and inserted README note about this
sorry for the delay @matthieusieben and thanks for the contribution
rvagg
pushed a commit
that referenced
this pull request
Jan 19, 2026
github-actions Bot
pushed a commit
that referenced
this pull request
Jan 19, 2026
## [4.4.0](v4.3.2...v4.4.0) (2026-01-19) ### Features * **encode:** Allow ignoring `undefined` plain object properties ([a0db184](a0db184)), closes [#155](#155) * **token:** add Type.equals() for bundler-safe type comparison ([#159](#159)) ([b3e7cf4](b3e7cf4)), closes [#136](#136) ### Bug Fixes * **encode:** replace unpaired surrogates with U+FFFD in utf8ToBytes ([#157](#157)) ([362856c](362856c)) ### Trivial Changes * **ci:** OIDC publishing ([743ecc3](743ecc3)) * **deps-dev:** bump @types/node from 24.10.3 to 25.0.0 ([#153](#153)) ([20f9e4f](20f9e4f)) * **deps:** bump actions/setup-node from 6.1.0 to 6.2.0 ([#158](#158)) ([feafeb2](feafeb2)) * minor optimisation & test additions for ignoreUndefinedProperties ([55f653c](55f653c))
|
🎉 This PR is included in version 4.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix for #154