Skip to content

Use lossy conversion for msgpack UInt64 decode in plugin#1255

Merged
kennethloeffler merged 2 commits into
rojo-rbx:masterfrom
kennethloeffler:fix-uint64-decode
May 29, 2026
Merged

Use lossy conversion for msgpack UInt64 decode in plugin#1255
kennethloeffler merged 2 commits into
rojo-rbx:masterfrom
kennethloeffler:fix-uint64-decode

Conversation

@kennethloeffler

Copy link
Copy Markdown
Member

Closes #1250.

This PR monkey patches the msgpack-luau library to lossily decode uint64 values as native Luau numbers. Once Luau natvie integers are live, we should look to make changes upstream to msgpack-luau so that it decodes 64 bit integers as native Luau integers where appropriate.

@kennethloeffler kennethloeffler added the skip changelog PRs that may skip the changelog enforcement check label May 3, 2026
@kennethloeffler kennethloeffler changed the title Use lossy conversion for UInt64 decode in plugin Use lossy conversion for msgpack UInt64 decode in plugin May 4, 2026
@kennethloeffler kennethloeffler merged commit 988efb4 into rojo-rbx:master May 29, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changelog PRs that may skip the changelog enforcement check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rojo plugin fails to decode integers greater or equal to u32::MAX

2 participants