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
PlainDownloadercomponent. - 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
ServiceDownloaderwhich allows the MITM served by the local device. - Add a module
components.typehintsfor 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-flaskbecausev1.2.0does not support the newestFlask. - Fix: The workflow script
python-publish.ymlshould not contain the dependencies for testing.
💾 Change
- Drop the legacy
components.downloadermodule because it has been replaced bycomponents.PlainDownloadernow. - Update the
examples/download_fileto match the usage of the newDownloadercomponent. - Update the
.flake8configurations. - Update the
dockerconfigurations. - Remove the unused command
yarn startfrom 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