Skip to content

Commit 55cec8e

Browse files
author
Kevin Ballard
committed
Bump version to v2.0.0
The changes for decimal numbers are backwards-incompatible as they introduce new enum variants.
1 parent 2857cd4 commit 55cec8e

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

PMJSON.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "PMJSON"
3-
s.version = "1.2.1"
3+
s.version = "2.0.0"
44
s.summary = "Pure Swift JSON encoding/decoding library"
55
s.description = "PMJSON provides a pure-Swift strongly-typed JSON encoder/decoder as well as a set of convenience methods for converting to/from Foundation objects and for decoding JSON structures."
66

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PMJSON
22

3-
[![Version](https://img.shields.io/badge/version-v1.2.1-blue.svg)](https://github.com/postmates/PMJSON/releases/latest)
3+
[![Version](https://img.shields.io/badge/version-v2.0.0-blue.svg)](https://github.com/postmates/PMJSON/releases/latest)
44
![Platforms](https://img.shields.io/badge/platforms-ios%20%7C%20osx%20%7C%20watchos%20%7C%20tvos-lightgrey.svg)
55
![Languages](https://img.shields.io/badge/languages-swift-orange.svg)
66
![License](https://img.shields.io/badge/license-MIT%2FApache-blue.svg)
@@ -197,7 +197,7 @@ The [Swift Package Manager][] may be used to install PMJSON by adding it to your
197197
let package = Package(
198198
name: "YourPackage",
199199
dependencies: [
200-
.Package(url: "https://github.com/postmates/PMJSON.git", majorVersion: 1)
200+
.Package(url: "https://github.com/postmates/PMJSON.git", majorVersion: 2)
201201
]
202202
)
203203
```
@@ -209,7 +209,7 @@ let package = Package(
209209
To install using [Carthage][], add the following to your Cartfile:
210210

211211
```
212-
github "postmates/PMJSON" ~> 1.2
212+
github "postmates/PMJSON" ~> 2.0
213213
```
214214

215215
This release supports Swift 3. If you want Swift 2.3 support, you can use
@@ -223,7 +223,7 @@ github "postmates/PMJSON" ~> 0.9.4
223223
To install using [CocoaPods][], add the following to your Podfile:
224224

225225
```
226-
pod 'PMJSON', '~> 1.2'
226+
pod 'PMJSON', '~> 2.0'
227227
```
228228

229229
This release supports Swift 3. If you want Swift 2.3 support, you can use
@@ -248,7 +248,7 @@ Unless you explicitly state otherwise, any contribution intentionally submitted
248248

249249
## Version History
250250

251-
#### Development
251+
#### v2.0.0 (2017-01-02)
252252

253253
* Add full support for decimal numbers (on supported platforms). This takes the form of a new `JSON` variant `.decimal`, any relevant accessors, and full parsing/decoding support with the new option `.useDecimals`. With this option, any number that would have been decoded as a `Double` will be decoded as a `Decimal` instead.
254254
* Add a set of `forEach` accessors for working with arrays, similar to the existing `map` and `flatMap` accessors.

Sources/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.2.1</string>
18+
<string>2.0.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Tests/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.2.1</string>
18+
<string>2.0.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

0 commit comments

Comments
 (0)