Skip to content

2.1.0 - Annual update

Compare
Choose a tag to compare
@rakuyoMo rakuyoMo released this 10 Jan 01:58
· 103 commits to master since this release

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.