Skip to content

Commit

Permalink
Version 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
peteroupc committed Jun 16, 2014
1 parent 62274a1 commit a231181
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ obj/
packages/
Help/
*.user
*.nupkg
TestResults/
CBORTest/bin/
CBORTest/obj/
Expand Down
9 changes: 3 additions & 6 deletions Portable.CBOR.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@
</description>
<summary>A C# implementation of Concise Binary Object Representation (CBOR), a data serialization format. This implementation can also convert between CBOR and JSON.</summary>
<releaseNotes>
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
</releaseNotes>
<copyright>Written by Peter O. in 2013-2014. Any copyright is released to the Public Domain.</copyright>
Expand Down
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ project, add the following to the `dependencies` section in your `pom.xml` file:
<dependency>
<groupId>com.upokecenter</groupId>
<artifactId>cbor</artifactId>
<version>1.1.0</version>
<version>1.2.0</version>
</dependency>
```

Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.upokecenter</groupId>
<artifactId>cbor</artifactId>
<packaging>jar</packaging>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<name>CBOR</name>
<description>
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.
Expand Down

0 comments on commit a231181

Please sign in to comment.