Use the :erlang.float_to_binary(_, [:short]) function, instead of io_lib_format.fwrite_g/1
where available (OTP 24.1+). This provides equivalent output with much less memory used
and significantly improved performance.
v1.3.0
Enhancements
Add the Jason.OrderedObject struct
Support decoding objects preserving all the keys with objects: :ordered_objects option
Support decoding floats to Decimal with floats: :decimals option
Add ~j and ~J sigils in module Jason.Sigil to support writing JSON literals in code
Fixes
Fix error reporting when decoding strings (it was possible to mis-attribute the offending byte)
Fix warnings on Elixir 1.17 by conditionally compiling Decimal support
1.4.3 (29.06.2024)
Fix derive with _ struct key
1.4.2 (29.06.2024)
Fix compiler warnings for Elixir 1.17
1.4.1 (06.07.2023)
Add limit to decoded integer sizes of 1024 digits. This can be changed
with the decoding_integer_digit_limit app env config.
1.4.0 (12.09.2022)
Enhancements
Use the :erlang.float_to_binary(_, [:short]) function, instead of io_lib_format.fwrite_g/1
where available (OTP 24.1+). This provides equivalent output with much less memory used
and significantly improved performance.
1.3.0 (21.12.2021)
Enhancements
Add the Jason.OrderedObject struct
Support decoding objects preserving all the keys with objects: :ordered_objects option
Support decoding floats to Decimal with floats: :decimals option
Add ~j and ~J sigils in module Jason.Sigil to support writing JSON literals in code
Fixes
Fix error reporting when decoding strings (it was possible to mis-attribute the offending byte)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the prod group with 4 updates: hackney, jason, mime and plug.
Updates
hackney
from 1.16.0 to 1.20.1Release notes
Sourced from hackney's releases.
... (truncated)
Changelog
Sourced from hackney's changelog.
... (truncated)
Commits
f190daf
bump 1.20.1f8b89cd
handle case where Length is undefinedaa95d66
regen docbed69b9
update todo and versions of erlang supported0821202
update changes8f758ea
bump to 1.20.06709e7a
Fix partial_pathencode to properly handle asterisk (*) (#720)870b6ad
Explicitly state max_connections and timeout defaults in docs (#688)992cc36
(feat) Support LF separators since rfc7230-3.5 allows for LF-only (#706)bbe73c8
remove rebar3 from supportUpdates
jason
from 1.2.2 to 1.4.4Release notes
Sourced from jason's releases.
Changelog
Sourced from jason's changelog.
Commits
926d2ac
Bump 1.4.46c1b99e
Raise if trying to decode decimals without decimal9517f56
Remove unneeded workarounds for xref warnings433f93d
Fix warnings by conditionally compiling Decimal supporteb1e92a
Bump 1.4.33ffa13a
Fix derive with _ key5c309b1
Require stream_data only from Elixir 1.12e9702d4
Bump 1.4.263d82ec
Fix deprecation warnings in tests0d8a04f
Update dependenciesUpdates
mime
from 1.4.0 to 1.6.0Changelog
Sourced from mime's changelog.
Commits
4cd5656
Release v1.6.0a1523bf
Ignore params and detect subtype suffix in extensions/1 (#45)b9da4cb
Update CI config (#44)4a538c5
Release v1.5.04336bc1
Release v1.4.136ac399
Add CI on GitHub Actions and stop using Travis CI (#41)982dff1
Update (#40)1af476a
Downcase extensions and mime types in extensions (#39)Updates
plug
from 1.6.0 to 1.16.1Changelog
Sourced from plug's changelog.
... (truncated)
Commits
cc535b1
Release v1.16.1f589969
Optimize cookie decodingf9bca8c
Update Elixir/Erlang in CI (#1226)9871e86
Persist stack trace toggle inlocalStorage
(#1224)82eb220
Do not rely on all DOWN messages being delivered simultaniously4280765
Fix typos (#1223)1ff85b7
Add@behaviour
attribute to example modules (#1222)0b58ea8
Release v1.16.0d0e3407
Track conn value in Plug.Debugger.run_action/1 (#1221)0574733
Support x-forwarded-forDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show