Skip to content

Tags: spc476/CBOR

Tags

1.4.0

Toggle 1.4.0's commit message
The "Optional VERSION" Version

The VERSION field in Lua is now optional when compiling.  This was a
suggestion by github.com/suftskidude, who is using a custom make system and
doesn't particularly want that field defined.

1.3.5

Toggle 1.3.5's commit message
Bug fix---include missing function

1.3.4

Toggle 1.3.4's commit message
Bug fix---Github deprecated git: URLs, need to update rockspec

1.3.3

Toggle 1.3.3's commit message
Ensure code compliant with RFC-8949 and Lua 5.4

1.3.2

Toggle 1.3.2's commit message
Bug fix---The __pairs metamethod is valid in Lua 5.2 or higher

1.3.1

Toggle 1.3.1's commit message
Bug fix---The __ipairs metamethod is only in Lua 5.2

1.3.0

Toggle 1.3.0's commit message
The "Custom Nothing" Version

You can now add special sentinel values for CBOR null and undefined.  Just set

	cbor.null
	cbor.undefined

or

	cbor_s.null
	cbor_s.undefined

(depending upon the module you are using) to some unique value.  If this value
is seen when encoding, the respective CBOR value is used, and this value will
be used when decoding.  Example:

	cbor = require "org.conman.cbor"

	cbor.null      = {} -- unique values
	cbor.undefined = {}

	a = { alpha = 1 , beta = cbor.null , gamma = cbor.undefined }
	b = cbor.encode(a)
	c = cbor.decode(b)
	-- a should be equal to c

1.2.12

Toggle 1.2.12's commit message
Bug fix---decoding empty string and use of unpublished module

For the empty string, it out errorw out, which was the original intent, and
for the unpublished module, pulled out the one routine called.

1.2.11

Toggle 1.2.11's commit message
Bug fix---destroyed Windows build in rockspec

I really wish there was an easier way to test the luarocks stuff.

1.2.10

Toggle 1.2.10's commit message
Bug fix---rockspec version

I will fix this one day.  I swear I will.  This is @#$@!#$ insane.