Introduction
Dash File Cache is a Dash extension library.
Utilities for providing convenient methods to serve cached data in Plotly-Dash or Flask.
Changelog
0.2.0 @ 03/31/2025
📣 New
- Add the Dash component project based on TypeScript. The project contains a
PlainDownloader
component. - Add the default downloader component
Downloader
. It is implemented by usingStreamSaver.js
. - Add the cross-origin support when serving the data to clients (e.g. the browser).
- Add the external URL proxy support for fetching the cross-origin resources.
- Add a service
ServiceDownloader
which allows the MITM served by the local device. - Add a module
components.typehints
for providing annotations of the component properties.
🔧 Fix
- Fix: When using
Downloader
, the file size is not configured in the stream saver. Now, it has been fixed. - Fix: The previous workflow scripts do not work any more. Adjust the scripts for including the required packages.
- Fix: Specify the extension version
pytest-flask
becausev1.2.0
does not support the newestFlask
. - Fix: The workflow script
python-publish.yml
should not contain the dependencies for testing.
💾 Change
- Drop the legacy
components.downloader
module because it has been replaced bycomponents.PlainDownloader
now. - Update the
examples/download_file
to match the usage of the newDownloader
component. - Update the
.flake8
configurations. - Update the
docker
configurations. - Remove the unused command
yarn start
from thepackage.json
. - Update the project configurations to the newest standard.
- Update the project descriptions for explaining the usages of the React codes.
- Make VSCode extensions installed in the docker image by default.
- Add the Git card in the readme file.
Full Changelog: v0.1.2...v0.2.0