diff --git a/.gitignore b/.gitignore
index d807bc6f..080a9472 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,7 @@ obj/
packages/
Help/
*.user
+*.nupkg
TestResults/
CBORTest/bin/
CBORTest/obj/
diff --git a/Portable.CBOR.nuspec b/Portable.CBOR.nuspec
index ca47d798..0985186a 100644
--- a/Portable.CBOR.nuspec
+++ b/Portable.CBOR.nuspec
@@ -16,12 +16,9 @@
A C# implementation of Concise Binary Object Representation (CBOR), a data serialization format. This implementation can also convert between CBOR and JSON.
-In version 1.1 there were many additions and bug fixes in arbitrary-precision
-arithmetic, including:
-- Added unchecked versions of intValue and longValue in BigInteger
-- Added more overloads for FromString in ExtendedDecimal and ExtendedFloat
-- Fixed bug where Pow doesn't compute the exact value in unlimited precision contexts
-- Much added documentation
+In version 1.2:
+- The WriteJSON and WriteToJSON methods were added to CBORObject
+- Bugs were fixed in the Set and Add methods of CBORObject
See the project page for release notes on previous versions: https://github.com/peteroupc/CBOR
Written by Peter O. in 2013-2014. Any copyright is released to the Public Domain.
diff --git a/README.md b/README.md
index 59e31024..ebb9b02a 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@ project, add the following to the `dependencies` section in your `pom.xml` file:
com.upokecenter
cbor
- 1.1.0
+ 1.2.0
```
@@ -161,13 +161,13 @@ File.WriteAllText(
new System.Text.Encoding.UTF8Encoding(false));
// This is an alternative way to write the CBOR object
-// and will be supported in version 1.2.
+// and is now supported in version 1.2.
using (var stream = new FileStream("object2.json", FileMode.Create)) {
// Write the CBOR object as JSON; here, a byte order
// mark won't be added
cbor.WriteTo(stream);
}
-// Version 1.2 will also support a third way to write
+// Version 1.2 now supports a third way to write
// objects to JSON: the CBORObject.Write method
using (var stream = new FileStream("object3.json", FileMode.Create)) {
CBORObject.Write("some string", stream);
@@ -224,6 +224,12 @@ The following are some clarifications to RFC 7049.
Release Notes
-----------
+
+In version 1.2:
+
+- The WriteJSON and WriteToJSON methods were added to CBORObject
+- Bugs were fixed in the Set and Add methods of CBORObject
+
In version 1.1 there were many additions and bug fixes in arbitrary-precision
arithmetic, including:
diff --git a/pom.xml b/pom.xml
index d60d2622..2199b506 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.upokecenter
cbor
jar
- 1.2.0-SNAPSHOT
+ 1.2.0
CBOR
A Java implementation of Concise Binary Object Representation (CBOR), a general-purpose binary data format defined in RFC 7049. According to that RFC, CBOR's data model "is an extended version of the JSON data model", supporting many more types of data than JSON. This implementation was written by Peter O. and is released to the Public Domain under the CC0 Declaration.