Skip to content

Latest commit

 

History

History
144 lines (85 loc) · 5.39 KB

CHANGELOG.md

File metadata and controls

144 lines (85 loc) · 5.39 KB

Change Log

All notable changes to this project are documented in this file.



Added

  • Allow setting wrapping method during initialization. #23 @rakuyoMo

Fixed

  • When folding JSON on non-top, the JSON area will be misaligned. #23 @rakuyoMo

Added

  • Add search function. #13 @rakuyoMo
  • Add the function of not automatically wrapping lines, and you can switch between wrapping and not wrapping at any time. #22 @rakuyoMo
  • Add visionOS support. #12, #17 @rakuyoMo
  • Add tvOS support. #14, #18 @rakuyoMo
  • Moved the logic of "assembling attributed string from JSON slices" from JSONPreview into JSONDecorator. So you can now display JSON with the help of other text frames. #22 @rakuyoMo
  • Access SwiftLint and unify code format #16 @rakuyoMo

Changed

  • Allow bounces to be enabled. #20 @rakuyoMo
  • In order to achieve the non-wrapping function, the view hierarchy was modified. #22 @rakuyoMo
  • rename: LineNumberHeightManager -> AttributedStringSizeCalculator. (internal) #22 @rakuyoMo
  • The minimum supported version of the demo is consistent with the library. #17 @rakuyoMo
  • Adjusted the directory structure of the demo. @rakuyoMo
  • Abandon plan to “support Intel version of macOS”.

Added

  • Add PrivacyInfo.xcprivacy.

Fixed

  • Package.swift supports wider Swift versions.

Added

  • The JSONPreview.preview method adds the initialState parameter to support setting the default folding and unfolding states when rendering json.
  • JSONPreview supports hiding line number view.
  • The highlightStyle property now has public read and write permissions.
  • Now in the closure of the JSONPreview.preview method, the initialized JSONDecorator object will be returned.
  • Add delegate callback when json slice node state changes.
  • Add some easy access properties to JSONPreview.

Changed

  • [Break] The minimum iOS supported version of the project is upgraded to iOS 12.
  • [Break] Setting JSONSlice's Initialization method to internal.
  • [Break] Adjusted the order of parameters of JSONDecorator.highlight method.
  • [Break] Because highlightStyle is now publicly accessible, JSONPreview.preview method now removes the style parameter.
  • Provide default implementation for JSONPreviewDelegate.
  • Refine the timing of json completion preview callback calls.
  • Adjusted the code format of some codes.

Fixed

  • Fix the problem of miscalculation of line number height when Value is too long.

Changed

  • [Break] The git repository was migrated. Resulting in a url change.
  • [Break] Refers to the Swift Core Foundation framework, refactoring the entirety of parsing and rendering, with significant performance improvements.

Added

  • Supports using scientific notation to represent numbers in json. The supported format is {E/e}[+/-].

Added

  • Support SPM.

Changed

  • Adjusted the directory structure.

Fixed

  • Fixed a crash caused by clicking on a blank area.
  • Modified the determination of the url.

Changed

  • Uses a new method for calculating the height of the row number view Cell.

Fixed

  • Adapted for iOS 15.

Fixed

  • Fixed the issue that the behavior is not normal after clicking the fold/expand button in some cases.

Added

  • Add JSONPreviewDelegate, which is used to replace the previous use of UITextViewDelegate to realize the URL click.

Changed

  • [Break] Removed the diagonal swipe feature.
  • Since JSON is now displayed in line breaks, the line height is no longer a fixed value.
  • Improved the judgment rules for URLs, and now IP addresses can be correctly identified as URLs.