diff --git a/CHANGELOG.md b/CHANGELOG.md index bf6b6be..3308dc0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,19 @@ All notable changes to this project are documented in this file. ----- -## [Unreleased](https://github.com/RakuyoKit/JSONPreview/compare/2.3.0...HEAD) +## [Unreleased](https://github.com/RakuyoKit/JSONPreview/compare/2.3.1...HEAD) + +--- + +## [2.3.1 - Spring brings blossoms](https://github.com/RakuyoKit/JSONPreview/releases/tag/2.3.1) (2024-3-29) + +### Added + +- Allow setting wrapping method during initialization. [#23](https://github.com/RakuyoKit/JSONPreview/pull/23) @rakuyoMo + +### Fixed + +- When folding JSON on non-top, the JSON area will be misaligned. [#23](https://github.com/RakuyoKit/JSONPreview/pull/23) @rakuyoMo --- diff --git a/JSONPreview.podspec b/JSONPreview.podspec index e990fb9..3d26a7d 100755 --- a/JSONPreview.podspec +++ b/JSONPreview.podspec @@ -5,7 +5,7 @@ Pod::Spec.new do |s| s.name = 'JSONPreview' - s.version = '2.3.0' + s.version = '2.3.1' s.summary = '🎨 A view that can be highlighted after formatting JSON.' diff --git a/README.md b/README.md index 70b78b2..dde862b 100644 --- a/README.md +++ b/README.md @@ -32,13 +32,13 @@ pod 'JSONPreview' - Select File > Swift Packages > Add Package Dependency - Add https://github.com/RakuyoKit/JSONPreview.git -- Select "Up to Next Major" with "2.3.0" +- Select "Up to Next Major" with "2.3.1" Or add the following content to your `Package.swift` file: ```swift dependencies: [ - .package(url: "https://github.com/RakuyoKit/JSONPreview.git", from: "2.3.0") + .package(url: "https://github.com/RakuyoKit/JSONPreview.git", from: "2.3.1") ] ``` diff --git a/README_CN.md b/README_CN.md index 9cb4e5d..058bad5 100644 --- a/README_CN.md +++ b/README_CN.md @@ -32,13 +32,13 @@ pod 'JSONPreview' - 依次选择 File > Swift Packages > Add Package Dependency - 输入 https://github.com/RakuyoKit/JSONPreview.git -- 选择 "Up to Next Major" 并填入 "2.3.0" +- 选择 "Up to Next Major" 并填入 "2.3.1" 或者将下面的内容添加到 `Package.swift` 文件中: ```swift dependencies: [ - .package(url: "https://github.com/RakuyoKit/JSONPreview.git", from: "2.3.0") + .package(url: "https://github.com/RakuyoKit/JSONPreview.git", from: "2.3.1") ] ```