From 50eff667a1408afccda848d22b851e292450cd95 Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Thu, 8 Oct 2015 22:58:19 -0700 Subject: [PATCH] v2.8.0 --- README.md | 10 ++++------ mix.exs | 2 +- src/jsx.app.src | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 48baf11..a20b7c2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# jsx (v2.7.2) # +# jsx (v2.8.0) # an erlang application for consuming, producing and manipulating [json][json]. @@ -120,7 +120,7 @@ false }">> ``` -#### to compile **jsx** so that it always decodes json objects to maps #### +#### to compile **jsx** so that it always decodes json objects to maps #### ```bash $ JSX_FORCE_MAPS rebar3 compile @@ -166,11 +166,9 @@ ignores bad escape sequences leaving them in strings unaltered if you're migrating from jsx v1.x to v2.x in most cases you won't need to make any changes to your code -support for encoding otp 17.0's new map type is now enabled by default when compiling +support for otp 17.0's new map type is now enabled by default when compiling via rebar for any release that supports them. jsx should still compile cleanly for -earlier releases without any user intervention. if you'd like to disable maps you can -either set the env variable `JSX_NOMAPS` or by uncommenting the applicable tuple in -`rebar.config` +earlier releases without any user intervention if you used any of `replaced_bad_utf8`, `single_quoted_strings`, `comments`, `ignored_bad_escapes` or `relax` you can simply omit them from your calls to jsx, diff --git a/mix.exs b/mix.exs index b6e996a..17272aa 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ use Mix.Project def project do [ app: :jsx, - version: "2.7.2", + version: "2.8.0", description: "an erlang application for consuming, producing and manipulating json. inspired by yajl", deps: deps(Mix.env), package: package, diff --git a/src/jsx.app.src b/src/jsx.app.src index 73415db..f7c384e 100644 --- a/src/jsx.app.src +++ b/src/jsx.app.src @@ -1,7 +1,7 @@ {application, jsx, [ {description, "a streaming, evented json parsing toolkit"}, - {vsn, "2.7.2"}, + {vsn, "2.8.0"}, {modules, [ jsx, jsx_encoder,