Streamsync

Latest version: v0.5.0

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.2.5

Fixes bug from 0.2.4 that required re-rendering component (browser refresh or mode change) for newly created event handlers to receive payloads.

0.2.4

New features

- Support for [**custom components**](https://www.streamsync.cloud/custom-components.html), which are developed and behave identically to built-in ones.

- Support for **custom event types**. Any DOM event can be listened to.

- **Async execution of event handlers**. Previously, all of the events for the same session would run in a queue; one event wouldn't run until the next one completed. They're now executed asynchronously. This allows longer-running tasks to be performed in the background while the app remains fully interactive.

- Partial state updates for long-running event handlers. Works well with item below.

- "Loading" type in _Message_ component, to display progress of a long-running operation.

- New built-in events, such as `ss-keydown` and `ss-page-open` at _Page_ level.

- Support for Plotly events, including `plotly-click`, `plotly-selected` and `plotly-deselect`.

- Support for HTML snippets inside _HTML Element_.

- Button disabling.

- More semantic HTML in some components, e.g. _Button_ is no longer wrapped in a `div`, _Section_ creates a `section` tag.

Fixes

- Improved reliability of code autorefresh, fixing problems which mainly affected Windows.

- Fix _Date Input_ binding issues

- Minor fixes

0.1.12

This is a meaningful release with some new interesting features, mainly guided by the input of the community. Thank you for using Streamsync and sharing your thoughts.

- **Import stylesheets.** It’s now possible to import stylesheets dynamically during runtime. Classes can be applied to components via a new field, “Custom CSS classes”. [Docs](https://www.streamsync.cloud/stylesheets.html).

- **Import frontend scripts.** JavaScript/ES6 modules can now be imported dynamically. Exported functions can be triggered from the backend. [Docs](https://www.streamsync.cloud/frontend-scripts.html).

- **Pydantic 2 support.** Streamsync now uses Pydantic 2.

- **Component Tree search feature.**

Minor updates:

- _Dataframe_ now has a flag that allows for text to be wrapped inside cells.

- The command line now supports the `—enable-remote-edit` flag, which allows you to circumvent the filter that blocks non-local requests, as a protection against drive-by attacks. This is helpful when deploying to GitHub Codespaces or similar.

- `CONTRIBUTING.md` has been uploaded.

- _Checkbox Input_ and _Radio Input_ can now display options horizontally, if desired.

- Password mode in _Text Input_ component

- Minor bug fixes

0.1.10

Not secure
Pinned pydantic version to avoid breaking changes introduced by FastAPI 0.100 and Pydantic 2.

0.1.9

Not secure
**PyArrow support**

Streamsync now uses PyArrow to serialise and deserialise dataframes. This increases performance and allows the _DataFrame_ component to accept not only Pandas dataframes, but also PyArrow tables. This allows interoperability with other libraries, such as Polars (using `.to_arrow()`). Note that hardcoding dataframes in the frontend, using JSON, is no longer supported.

**Improved DataFrame component**
The DataFrame component is now based on a high-performance grid and supports ordering, column resizing, search and download as CSV. It's based on Apache Arrow and Arquero. It remains performant with 1M+ rows.

**Bug fixes**
- Image paths weren't updated correctly when linked to state. This has been fixed.

**Minor updates**
- Custom visibility, which was previously restricted to state, can now be also set using context. This allows components inside a _Repeater_ to be hidden based on a value in a dictionary.
- `Datetime.datetime` is now serialisable

0.1.7

Not secure
- **Improved _Dataframe_**. This component now uses a high-performance grid which can easily support thousands of rows. It's currently a basic implementation. Additional features such as search, sorting, exporting and editing will be gradually added in future releases. Thanks mzy2240 for flagging this and exploring options.

- **State mutation bug fix**. State sync behaved unexpectedly when keys with dots were used, such as file paths. This has been fixed and relevant test cases have been updated. Thanks tanghyd for reporting this bug.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.