molsonkiko / JsonToolsNppPlugin

A Notepad++ plugin providing tools for JSON like linting, querying, a tree view, and CSV conversion.
Apache License 2.0
70 stars 9 forks source link

v5.5: add support for working with selections (fix #43), add JSON string <-> raw text conversion, allow parsing JSON strings #44

Closed molsonkiko closed 10 months ago

molsonkiko commented 10 months ago

[5.5.0] - 2023-08-13

Added

  1. Add support for operating on selections
  2. Add method for selecting every valid JSON element in the file
  3. Add D&ump text of current document as JSON string and Dump JSON string(s) as ra&w text convenience methods.
  4. Add parse, type and stringify RemesPath functions.
  5. Added UI tests.

Changed

  1. Improved RemesPath boolean indices so that they can be more easily chained together.
  2. Removed unneeded RemesPath lexer tests.

Fixed

  1. Bug where s_slice, max_by, min_by, group_by, and sort_by all did not allow Python-style negative indices.
  2. Bug where out-of-bounds negative indices when indexing in an array would throw an error rather than returning an empty array (which is the correct behavior, since RemesPath is not supposed to throw errors for indexing out of bounds).
  3. Eliminated huge latency when viewing very long JSON strings in the treeview.
  4. Eliminated potential access violation during plugin cleanup.
  5. Bug in which the plugin would be mistaken about the position of JSON elements after PPrint-style printing of some JSON containing non-ASCII characters in strings.
  6. Bug in which multiple Sort forms could be open.
  7. Bug in which running tests in Notepad++ versions older than v8 could cause Notepad++ to crash.