Skip to content

Releases: cainmagi/dash-file-cache

dash-file-cache v0.2.0

31 Mar 23:18
c9d72d8

Choose a tag to compare

Introduction

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

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

  1. Add the Dash component project based on TypeScript. The project contains a PlainDownloader component.
  2. Add the default downloader component Downloader. It is implemented by using StreamSaver.js.
  3. Add the cross-origin support when serving the data to clients (e.g. the browser).
  4. Add the external URL proxy support for fetching the cross-origin resources.
  5. Add a service ServiceDownloader which allows the MITM served by the local device.
  6. Add a module components.typehints for providing annotations of the component properties.

🔧 Fix

  1. Fix: When using Downloader, the file size is not configured in the stream saver. Now, it has been fixed.
  2. Fix: The previous workflow scripts do not work any more. Adjust the scripts for including the required packages.
  3. Fix: Specify the extension version pytest-flask because v1.2.0 does not support the newest Flask.
  4. Fix: The workflow script python-publish.yml should not contain the dependencies for testing.

💾 Change

  1. Drop the legacy components.downloader module because it has been replaced by components.PlainDownloader now.
  2. Update the examples/download_file to match the usage of the new Downloader component.
  3. Update the .flake8 configurations.
  4. Update the docker configurations.
  5. Remove the unused command yarn start from the package.json.
  6. Update the project configurations to the newest standard.
  7. Update the project descriptions for explaining the usages of the React codes.
  8. Make VSCode extensions installed in the docker image by default.
  9. Add the Git card in the readme file.

Full Changelog: v0.1.2...v0.2.0

dash-file-cache v0.1.2

13 Oct 23:33

Choose a tag to compare

Introduction

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

Dash File Cache is a Dash extension library.

Utilities for providing convenient methods to serve cached data in Plotly-Dash or Flask.

Changelog

0.1.2 @ 10/13/2024

🔧 Fix

  1. Fix: Correct a typo of the html tags in the readme file.
  2. Fix: Fix typos in the docstrings.
  3. Fix: Make caches.typehints.Deferred used by other modules.
  4. Fix: Add caches.typehints.Deferred to the __all__ list of the module.
  5. Fix: Correct the keywords in pyproject.toml.

💾 Change

  1. Remove unused utilities.no_cache.
  2. Adjust the ignore list of pyright, black and flake8.
  3. Adjust the typehints of services.data.ServiceData.

Full Changelog: https://github.com/cainmagi/dash-file-cache/commits/v0.1.2