Skip to content

dash-json-grid v0.4.0

Compare
Choose a tag to compare
@cainmagi cainmagi released this 22 Oct 04:00
· 23 commits to main since this release

Introduction

GitHub release (latest SemVer) GitHub all releases GitHub PyPI - Downloads

Dash JSON Grid is a Dash component library.

Dash porting version of the react project React JSON Grid 🔗. Provide structured and nested grid table view of complicated JSON objects/arrays.

Changelog

0.4.0 @ 10/21/2024

📣 New

  1. Upgrade the core dependency react-json-grid from v0.7.0 to v0.9.2, where several bugs are fixed.
  2. Update the tests to match the new react-json-grid@0.9.2.
  3. Make the data routing support the new indexing rule like: [..., ..., [2]], where the last value is an int in a one-element list.
  4. Allow the DashJsonGrid.update_data_by_route(...) to accept a mapping value when updating a column. If all keys in this mapping are int, will treat the mapping as the index set.
  5. Add tests for this new version.

🔧 Fix

  1. Fix: Correct some ambiguous descriptions in the docstrings.

💾 Change

  1. Configure .gitattributes for specifying the line-breaks of files.
  2. Make the returned column data of DashJsonGrid.get_data_by_route(...) or pop_item_of_object(...) become OrderedDict() if the column data is incomplete.
  3. Improve the compatibility of dash_json_grid.DashJsonGrid.update_data_by_route(...). Now it can update table data even if it contains invalid rows.

Full Changelog: v0.3.4...v0.4.0