Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialisation improvements #22

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

maerzhase
Copy link
Contributor

This PR incorporates the serialiser improvements provided by #18

postspectacular and others added 9 commits April 14, 2023 17:39
Major simplifications of various fxparam related functions:
- add U8/32/64 hex formatters
- add asBytes() hexbyte string parser
- add minmax() helper for enforcing optional ranges and dedupe logic
- update/simplify rgbaToHex()()
- update completeHexColor():
  - add 4-digit hex color support
  - fix: enforce 8-digit result (even if incomplete input)
- update/simplify serializers/deserializers for all param types
- fix string param serialization to safely handle non-ASCII chars
  (using UTF-8 representation)
- add/update docstrings
* upstream/master:
  build
  build
  fix: only push params if definitions defined in code
  build
  added minter address to the panel
  update build
  receive snippet version; allow user defined max length on string param
  only warn type any
@maerzhase maerzhase changed the title Feature/toxi serialisation improvements Serialisation improvements Jun 16, 2023
@maerzhase maerzhase self-assigned this Jun 16, 2023
@maerzhase maerzhase changed the base branch from master to feature/data-emission June 16, 2023 13:21
Base automatically changed from feature/data-emission to master June 23, 2023 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants