From 827425b10152f8cdc515e4ffb900338506e28910 Mon Sep 17 00:00:00 2001 From: Thomas Harning Jr Date: Mon, 14 Apr 2014 22:15:21 -0400 Subject: [PATCH] base: prepare release 1.3.3 --- ReleaseNotes.txt | 2 +- docs/ReleaseNotes-1.3.3.txt | 31 +++++++++++++++++++++++++++ rockspecs/luajson-1.3.3-1.rockspec | 44 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 docs/ReleaseNotes-1.3.3.txt create mode 100644 rockspecs/luajson-1.3.3-1.rockspec diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 61ca4e3..2099c82 120000 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -1 +1 @@ -docs/ReleaseNotes-1.3.2.txt \ No newline at end of file +docs/ReleaseNotes-1.3.3.txt \ No newline at end of file diff --git a/docs/ReleaseNotes-1.3.3.txt b/docs/ReleaseNotes-1.3.3.txt new file mode 100644 index 0000000..d8a7375 --- /dev/null +++ b/docs/ReleaseNotes-1.3.3.txt @@ -0,0 +1,31 @@ +luajson v1.3.3 Release Notes +============================ + +User Visible Changes +-------------------- +The main changes for this release are: + + * Allow objects with metatables to declare themselves as an array by + setting __is_luajson_array as true in the metatable. + * Pass all unit tests in Lua 5.2 (lunit tests had an issue) + +Plans for next release +---------------------- +As declared in v1.3.2, a future release will have a stronger focus on decoder +performance. It may mean a reduction in flexibility by removing options and +breaking compatibility... so this would likely be either v1.4 or v2.0 + + +Updates since 1.3.2 +=================== + +Thomas Harning Jr (16): + all: + adds module metadata as suggested by fperrad + base: + fixes link for luarocks download + updates rock creation tool to include tag version + encoder: + if __is_luajson_array is set on a metatable, consider the value as an array + tests: + fixes lunit test to work with Lua 5.2 environment management diff --git a/rockspecs/luajson-1.3.3-1.rockspec b/rockspecs/luajson-1.3.3-1.rockspec new file mode 100644 index 0000000..17c7341 --- /dev/null +++ b/rockspecs/luajson-1.3.3-1.rockspec @@ -0,0 +1,44 @@ +package = "luajson" +version = "1.3.3-1" +source = { + url = "git://github.com/harningt/luajson.git", + tag = "1.3.3" +} +description = { + summary = "customizable JSON decoder/encoder", + detailed = [[ + LuaJSON is a customizable JSON decoder/encoder using + LPEG for parsing. + ]], + homepage = "http://github.com/harningt/luajson", + maintainer = "Thomas Harning ", + license = "MIT/X11" +} +dependencies = { + "lua >= 5.1", + "lpeg >= 0.8.1" +} +build = { + type = "module", + modules = { + ["json"] = "lua/json.lua", + ["json.decode"] = "lua/json/decode.lua", + ["json.decode.composite"] = "lua/json/decode/composite.lua", + ["json.decode.number"] = "lua/json/decode/number.lua", + ["json.decode.others"] = "lua/json/decode/others.lua", + ["json.decode.state"] = "lua/json/decode/state.lua", + ["json.decode.strings"] = "lua/json/decode/strings.lua", + ["json.decode.util"] = "lua/json/decode/util.lua", + ["json.encode"] = "lua/json/encode.lua", + ["json.encode.array"] = "lua/json/encode/array.lua", + ["json.encode.calls"] = "lua/json/encode/calls.lua", + ["json.encode.number"] = "lua/json/encode/number.lua", + ["json.encode.object"] = "lua/json/encode/object.lua", + ["json.encode.others"] = "lua/json/encode/others.lua", + ["json.encode.output"] = "lua/json/encode/output.lua", + ["json.encode.output_utility"] = "lua/json/encode/output_utility.lua", + ["json.encode.strings"] = "lua/json/encode/strings.lua", + ["json.util"] = "lua/json/util.lua" + } +} + -- 2.11.4.GIT