{:toc}
- 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: Correct the ToC numbers in the readme file.
- Bump
Yarn
version from4.5.2
to4.5.3
. - Update the security policy to match the current version.
- 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.
- Bump
Yarn
version from4.5.1
to4.5.2
.
- Add tests for passing an empty value to the
data
property. - Add SCSS styles when the property
highighlight_selected == False
. This change make the cursor become normal if the grid elements are not selectable.
- Fix: Improve the sanitization of the input data. Previously, the sanitization does not work correctly if the
data
is specified byNone
. - Fix: The comparison of the docstring may fail because different versions of
dash
may produce docstrings in different order. Make the docstring comparison more robust. - Fix: Improve the robustness of the type check by replacing
typeof
withramda.type
.
- The
callback
is replaced byapp.callback
inusage.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
.
- Add a test for validating that the docstring of the main component is consistent with that of the auto-generated component.
- Fix: Update the docstring of the component and the typehint
ThemeConfigs
to the newest version.
- 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.
- Upgrade the core dependency
react-json-grid
fromv0.7.0
tov0.9.2
, where several bugs are fixed. - Update the tests to match the new
react-json-grid@0.9.2
. - Make the data routing support the new indexing rule like:
[..., ..., [2]]
, where the last value is anint
in 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: Correct some ambiguous descriptions in the docstrings.
- Configure
.gitattributes
for 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. - Update the security policy file.
- Fix: The modification in
0.3.3
incorrectly 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.0
causes 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 thenull
index is applied to. When modifying the data, using a route containingnull
will do nothing. - Fix: Correct typos in the docstrings of
mixins
andpytest
. - Fix: Add extra rules to
DashJsonGrid.get_data_by_route(...)
to raise anKeyError
if a column cannot export any value.
- Previously,
DashJsonGrid.get_data_by_route(...)
cannot get a column if the column name does not exist in a specific row. Now, theundefined
value will be treated asNone
when acquired to make this method compatible with a partially complete column. - Update the project metadata.
- Fix: Correct a typo of the html codes in the readme file.
- Add the folder
/docs
to the ignore list ofgit
,docker
,flake8
,black
, andpyright
. - Add the banner to the readme file.
- Add more files to the
MANIFEST.in
list. - Previously,
DashJsonGrid.pop_item_of_object(...)
cannot pop a column if the column name does not exist in a specific row. Now, theundefined
value will be treated asNone
when popped out to make this method compatible with a partially complete column. - Modify
pyproject.toml
to add the link of the documentation. - Remove the documentation in
readme
because the new documentation has been finalized in the GitPage. - Make
DashJsonGrid
(with mixins version) synchronized with the auto-generated docstring. - Adjust
.gitattributes
for 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.
- Add the
style
property to the component. - Allow users to specify the
theme
property asinherit
orunset
, which allows more flexible configurations. - Add the security policy and the corresponding issue template.
- 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
.
- 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.
- 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
data
sanitized. Now a scalar likeint
orstr
can be passed to the propertydata
and thedata
will be rendered as a one-value list. - Fix: When selecting a scalar element from a list, the returned index in
selected_path
isstr
but notint
. Addmixins.sanitize_list_index(...)
to treat this special case.
- Add the section "3. Additional utilities" to the readme.
- Adjust project details and fix typos in the readme.
- Add an explanation about
data
in the readme. - Adjust the metadata of the project, and remove the auto-genreated file.
- Adjust the format of the workflow files.
- 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.py
forpytest
. - Rewrite and move the guideline for the developers from
readme.md
tocontributing.md
. - Add the "code of conduct" file.
- Finalize the readme file (including the usage documentation).
- Add the typehints
dash_json_grid.ThemeConfigs
for providing thetheme
property 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: The mixins needs to exclude the type
bytes
fromSequence
. - Fix: Running unit tests for
Dash
needs to installl the browser. Thechrome
/chromium
has been added to the docker file dependencies. - Fix:
apt
may suffer occassional failure when accessing the packages. Improve the stability by configuring theretry
option. - Fix: Some docker scripts may malfunction because
~/.bashrc
provided 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
pip
may 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:
Corepack
needs to be enabled in the workflow explicitly. - Fix:
Yarn build
needs to be run after installing dash dependencies.
- Adjust the optional dependency:
test
. - Chage the default application from
python
topytest
when using the docker image. - Add
--python
,--react
, and--demo
modes for launching the docker image. - Adjust the dependency
dash
from>=2.0.0
to>=2.7.0
to prevent the issue caused byflask
. - Update the meta-data of the project.
- Expose the
mixins
andtypehints
submodules to users. - Adjust
flake8
configurations to ignore some auto-generated files. - Adjust the project keywords.
- Optimize the code structure to reduce the complexity reported by
flake8
.
- Add
mixins
to the componentDashJsonGrid
. Now it supports more functionalities.
- Move some methods from
usage.py
to the packagedash_json_grid
. - Merge the configurations of
pyright
topyproject.toml
.
- Create this project.
- Finish the react implement
src
and the automatically generated packagedash_json_grid
. - Add the React demo
App.js
. - Add the Dash demo
usage.py
. - Add configurations
pyproject.toml
. - Add the devloper's environment folder
./docker
and theDockerfile
.