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

Poison 6 #221

Merged
merged 1 commit into from
Jun 9, 2024
Merged

Poison 6 #221

merged 1 commit into from
Jun 9, 2024

Conversation

devinus
Copy link
Owner

@devinus devinus commented Mar 5, 2024

Features:

  • Support Erlang 27 and Elixir 1.17
  • Reintroduce Poison.encode_to_iodata!/1 for Phoenix compatibility
  • Make :html_safe encode option follow OWASP recommended HTML escaping
  • Add Date.Range encoding
  • Allow :as decode option to be a function
  • Add a CHANGELOG

Bug Fixes:

  • Stop double decoding structs
  • Fix various typespecs
  • Correctly encode some UTF-8 surrogate pairs

Performance Improvements:

  • Significantly improve performance

Breaking Changes:

  • Remove deprecated HashSet encoding
  • Minimum supported versions are now Erlang 24 and Elixir 1.12

Closes #105, #172, #191, #194, #199, #206, #207, #214, #217, #222.

@devinus devinus force-pushed the develop branch 30 times, most recently from 3e5fc31 to 4e51aaf Compare March 5, 2024 16:37
@devinus devinus force-pushed the develop branch 13 times, most recently from cace267 to 95601c9 Compare June 6, 2024 12:55
@devinus devinus force-pushed the develop branch 10 times, most recently from 8df24bf to e1f07d7 Compare June 9, 2024 10:47
Features:

* Support Erlang 27 and Elixir 1.17
* Reintroduce `Poison.encode_to_iodata!/1` for Phoenix compatibility
* Make `:html_safe` encode option follow OWASP recommended HTML
  escaping
* Add `Date.Range` encoding
* Allow `:as` decode option to be a function
* Add a CHANGELOG

Bug Fixes:

* Stop double decoding structs
* Fix various typespecs
* Correctly encode some UTF-8 surrogate pairs

Performance Improvements:

* Significantly improve performance

Breaking Changes:

* Remove deprecated `HashSet` encoding
* Minimum supported versions are now Erlang 24 and Elixir 1.12

Closes #105, #172, #191, #194, #199, #206, #207, #214, #217, #222.
@devinus devinus changed the title WIP Poison 6 Jun 9, 2024
@devinus devinus closed this Jun 9, 2024
@devinus devinus reopened this Jun 9, 2024
@devinus devinus merged commit 39021cd into master Jun 9, 2024
22 checks passed
@devinus devinus deleted the develop branch June 9, 2024 11:00
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.

Changelog?
1 participant