Skip to content

dash-file-cache v0.2.0

Latest
Compare
Choose a tag to compare
@cainmagi cainmagi released this 31 Mar 23:18
c9d72d8

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