-
Notifications
You must be signed in to change notification settings - Fork 196
Comparing changes
Open a pull request
base repository: tinylib/msgp
base: v1.3.0
head repository: tinylib/msgp
compare: v1.4.0
- 8 commits
- 39 files changed
- 5 contributors
Commits on Jun 23, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 3773182 - Browse repository at this point
Copy the full SHA 3773182View commit details
Commits on Jun 24, 2025
-
Add Reader/ReadBytes fuzz tests and limits (#394)
* Add Reader/ReadBytes fuzz tests and limits * Fix crash in ReadTimeBytes * Limit map/array size on ReadIntfBytes * Expose `SetMaxRecursionDepth/GetMaxRecursionDepth` to manage max recursion depth. * Expose `SetMaxElements/GetMaxElements` to limit array, bin, map and extension sizes. * Expose `SetMaxStringLength/GetMaxStringLength` to limit string/map key sizes. All of these will allow stricter control over decoding memory usage. Bumps minimum version to Go 1.22 * Upgrade linter, fix issues reported. * Upgrade tinygo and ci-linter install version * Add corpus
Configuration menu - View commit details
-
Copy full SHA for 55a61ad - Browse repository at this point
Copy the full SHA 55a61adView commit details
Commits on Jun 25, 2025
-
go.mod: bump github.com/philhofer/fwd to v1.2.0 (#396)
no diff; same commit, but tagged: philhofer/fwd@20a13a1...v1.2.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Configuration menu - View commit details
-
Copy full SHA for e50c842 - Browse repository at this point
Copy the full SHA e50c842View commit details
Commits on Aug 8, 2025
-
Configuration menu - View commit details
-
Copy full SHA for a180baa - Browse repository at this point
Copy the full SHA a180baaView commit details
Commits on Aug 12, 2025
-
Decode/Unmarshal a msgpack array of arbitrary length into a struct (n…
…ew directive:vartuple) (#399) * Decode/Unmarshal a msgpack array of arbitrary length into a struct (new directive:vartuple)
Configuration menu - View commit details
-
Copy full SHA for 17a251f - Browse repository at this point
Copy the full SHA 17a251fView commit details
Commits on Aug 22, 2025
-
Add binary map key and shimming (#398)
* Allows for binary map keys * Allows for non-string map keys to be shimmed as well as cast from string type aliases. * Allows automatic conversion of some map key types to/from string. Adds directive `maps` * `//msgp:maps binkeys|shim|autoshim` Not adding the directive will retain current behaviour where maps without string keys are ignored. Adding `binkeys` will allow for binary marshaling of map keys. Types are inferred with standard rules. Binary encoding can be shimmed and can return any standard type. See `_generated/map_bin_key.go` for examples. Adding `shim` will require you to add shims to custom map key types. Shims must be with string type. See `_generated/map_shim_key.go` for examples. Adding `autoshim` will add automatic shimming to map keys that are `uint, uint8, uint16, uint32, uint64, int, int8, int16, int32, int64, bool, float32, float64, byte` - so these are written as a string. Standard `strconv.Parse/Format` functions are used. Aliased types are not supported, but `msgp:replace MyInt with:int` directive can be used and this will be picked up. Adds `witherr:true|false` to `//msgp:shim` directives, so shim de-serializing can return errors. Updates/Resolves: #331 #345 #305 #257 #232 Quirks: * Sizing is not perfect and can sometimes be collapsed from a range to constant. * These maps are not currently readable by "Interface" functions.
Configuration menu - View commit details
-
Copy full SHA for 60fdfdb - Browse repository at this point
Copy the full SHA 60fdfdbView commit details -
Allow commandline directives (#401)
Make it possible to add directives as commandline parameter. Alternatively to `//msgp:tag json` directives can also be specified using the `-d` flag. Example: `msgp -d "tag json"`. Multiple flags can be added. Directives in files take precedence over commandline. Bonus: Print info on all directives.
Configuration menu - View commit details
-
Copy full SHA for 8e91241 - Browse repository at this point
Copy the full SHA 8e91241View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddb4e2e - Browse repository at this point
Copy the full SHA ddb4e2eView 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 v1.3.0...v1.4.0