Releases: cainmagi/dash-json-grid
dash-json-grid v0.5.0
Introduction
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.5.0 @ 11/27/2024
📣 New
- Add an example folder showing the usage with other vendor packages.
- Add functionalities of using examples with the developers' docker image (the contributing guide is also updated).
🔧 Fix
- Fix: Correct the ToC numbers in the readme file.
💾 Change
- Bump
Yarnversion from4.5.2to4.5.3.
Full Changelog: v0.4.3...v0.5.0
dash-json-grid v0.4.3
Introduction
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.3 @ 11/22/2024
🔧 Fix
- Fix: Fix a severe bug of importing the components in a wrong list. Now the scope is limited to the auto-generated codes.
- Fix: Correct the path of submitting a vulnerability issue in the security policy.
- Fix: Correct wrong (old) version numbers in contributing guide.
💾 Change
- Bump
Yarnversion from4.5.1to4.5.2.
Full Changelog: v0.4.2...v0.4.3
dash-json-grid v0.4.2
Introduction
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.2 @ 11/13/2024
📣 New
- Add tests for passing an empty value to the
dataproperty. - Add SCSS styles when the property
highighlight_selected == False. This change make the cursor become normal if the grid elements are not selectable.
🔧 Fix
- Fix: Improve the sanitization of the input data. Previously, the sanitization does not work correctly if the
datais specified byNone. - Fix: The comparison of the docstring may fail because different versions of
dashmay produce docstrings in different order. Make the docstring comparison more robust. - Fix: Improve the robustness of the type check by replacing
typeofwithramda.type.
💾 Change
- The
callbackis replaced byapp.callbackinusage.py. - The issue and PR templates are adjusted, and the vulnerability issue tempate is removed because we decide to use a different way to accept vulnerability reports.
- Make the package information updated to
v0.4.2.
Full Changelog: v0.4.1...v0.4.2
dash-json-grid v0.4.1
Introduction
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.1 @ 10/26/2024
📣 New
- Add a test for validating that the docstring of the main component is consistent with that of the auto-generated component.
🔧 Fix
- Fix: Update the docstring of the component and the typehint
ThemeConfigsto the newest version.
💾 Change
- Change the behavior of
DashJsonGrid.update_data_by_route(...). When a column is specified, a length-one sequence is provided, and the number available items of the column is also one, will broadcast the one available value rather than broadcasting all the sequence item to all columns.
Full Changelog: v0.4.0...v0.4.1
dash-json-grid v0.4.0
Introduction
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
- Upgrade the core dependency
react-json-gridfromv0.7.0tov0.9.2, where several bugs are fixed. - Update the tests to match the new
[email protected]. - Make the data routing support the new indexing rule like:
[..., ..., [2]], where the last value is anintin a one-element list. - Allow the
DashJsonGrid.update_data_by_route(...)to accept a mapping value when updating a column. If all keys in this mapping areint, will treat the mapping as the index set. - Add tests for this new version.
🔧 Fix
- Fix: Correct some ambiguous descriptions in the docstrings.
💾 Change
- Configure
.gitattributesfor specifying the line-breaks of files. - Make the returned column data of
DashJsonGrid.get_data_by_route(...)orpop_item_of_object(...)becomeOrderedDict()if the column data is incomplete. - 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
dash-json-grid v0.3.4
Introduction
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.3.4 @ 10/20/2024
🔧 Fix
- Fix: The modification in
0.3.3incorrectly allowsDashJsonGrid.pop_item_of_object(...)to export a table row/cell even if the data fails to be routed. Now this situation is disallowed. - Fix: A bug of
react-json-grid<=0.9.0causes the selection may return an incorrect route containingnull. Now the codes will handle this case. When routing the data, the routing will stop by the parent of the place where thenullindex is applied to. When modifying the data, using a route containingnullwill do nothing. - Fix: Correct typos in the docstrings of
mixinsandpytest. - Fix: Add extra rules to
DashJsonGrid.get_data_by_route(...)to raise anKeyErrorif a column cannot export any value.
💾 Change
- Previously,
DashJsonGrid.get_data_by_route(...)cannot get a column if the column name does not exist in a specific row. Now, theundefinedvalue will be treated asNonewhen acquired to make this method compatible with a partially complete column. - Update the project metadata.
Full Changelog: v0.3.3...v0.3.4
dash-json-grid v0.3.3
Introduction
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.3.3 @ 10/16/2024
🔧 Fix
- Fix: Correct a typo of the html codes in the readme file.
💾 Change
- Add the folder
/docsto the ignore list ofgit,docker,flake8,black, andpyright. - Add the banner to the readme file.
- Add more files to the
MANIFEST.inlist. - Previously,
DashJsonGrid.pop_item_of_object(...)cannot pop a column if the column name does not exist in a specific row. Now, theundefinedvalue will be treated asNonewhen popped out to make this method compatible with a partially complete column. - Modify
pyproject.tomlto add the link of the documentation. - Remove the documentation in
readmebecause the new documentation has been finalized in the GitPage. - Make
DashJsonGrid(with mixins version) synchronized with the auto-generated docstring. - Adjust
.gitattributesfor providing more auto-linebreak rules. - Adjust the automatic formatter and editor configurations for the compatibility with the package manager.
- Change the dependency configurations (but the dependency versions are not changed).
- Python 3.13 is released, add this version to the test profile.
- Change the version information which previously caused the release failed.
Full Changelog: v0.3.2...v0.3.3
dash-json-grid v0.3.2
Introduction
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.3.2 @ 09/30/2024
📣 New
- Add the
styleproperty to the component. - Allow users to specify the
themeproperty asinheritorunset, which allows more flexible configurations. - Add the security policy and the corresponding issue template.
🔧 Fix
- Fix: When rendering the data, the component will print
data. Remove this unexpected behavior. - Fix: Correct the component name and the specified style name in
usage.py.
💾 Change
- Modify the workflow to exempt the out-of-date dependency:
borales/actions-yarn@v4. - Update the issue templates by changing some examples.
- Update the link of submitting the vulnerability issue, and the description in the security policy file.
Full Changelog: v0.3.1...v0.3.2
dash-json-grid v0.3.1
Introduction
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.3.1 @ 09/14/2024
🔧 Fix
- Fix: Fix some links and formats in the readme.
- Fix: The step for installing the dev version suggested in the readme is not correct. Now it has been corrected.
- Fix: Make
datasanitized. Now a scalar likeintorstrcan be passed to the propertydataand thedatawill be rendered as a one-value list. - Fix: When selecting a scalar element from a list, the returned index in
selected_pathisstrbut notint. Addmixins.sanitize_list_index(...)to treat this special case.
💾 Change
- Add the section "3. Additional utilities" to the readme.
- Adjust project details and fix typos in the readme.
- Add an explanation about
datain the readme. - Adjust the metadata of the project, and remove the auto-genreated file.
- Adjust the format of the workflow files.
Full Changelog: v0.3.0...v0.3.1
dash-json-grid v0.3.0
Introduction
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.3.0 @ 09/13/2024
📣 New
- Finish the first version of unit tests:
- Add 2 tests in "test_init_from".
- Add 4 tests in "test_data".
- Add 3 tests in "test_usage".
- Add
conftest.pyforpytest. - Rewrite and move the guideline for the developers from
readme.mdtocontributing.md. - Add the "code of conduct" file.
- Finalize the readme file (including the usage documentation).
- Add the typehints
dash_json_grid.ThemeConfigsfor providing thethemeproperty easily. - Configure the python test workflow.
- Upload the .lock file because it is required by the workflow.
- Configure the python package uploading workflow.
- Add the issue and pull request templates.
🔧 Fix
- Fix: The mixins needs to exclude the type
bytesfromSequence. - Fix: Running unit tests for
Dashneeds to installl the browser. Thechrome/chromiumhas been added to the docker file dependencies. - Fix:
aptmay suffer occassional failure when accessing the packages. Improve the stability by configuring theretryoption. - Fix: Some docker scripts may malfunction because
~/.bashrcprovided by some base images may skip in non-interactive mode. To fix this issue, ensure the entrypoint run in the interactive mode. - Fix: If using the system-wide python and the newest version, the
pipmay be blocked unless a virtual environment is created. Now the python will run in the virtual environment if the system-wide python is used. - Fix: Adjust the workflow to fix wrong version issues.
- Fix:
Corepackneeds to be enabled in the workflow explicitly. - Fix:
Yarn buildneeds to be run after installing dash dependencies.
💾 Change
- Adjust the optional dependency:
test. - Chage the default application from
pythontopytestwhen using the docker image. - Add
--python,--react, and--demomodes for launching the docker image. - Adjust the dependency
dashfrom>=2.0.0to>=2.7.0to prevent the issue caused byflask. - Update the meta-data of the project.
- Expose the
mixinsandtypehintssubmodules to users. - Adjust
flake8configurations to ignore some auto-generated files. - Adjust the project keywords.
- Optimize the code structure to reduce the complexity reported by
flake8.
Full Changelog: https://github.com/cainmagi/dash-json-grid/commits/v0.3.0