Skip to content

Releases: Synphonyte/leptos-struct-table

Version 0.14.0-beta2

05 Jan 18:01
Compare
Choose a tag to compare
Version 0.14.0-beta2 Pre-release
Pre-release

Changes in this version:

[0.14.0-beta2] - 2025-01-05

Breaking Changes 🛠️

  • row and cell renderers now take a RwSignal<Row> which also makes it possible to edit the data much more easily.

Fix 🐛

  • Fixed broken API in examples paginated_rest_datasource and pagination

Special thanks to our sponsor

Version 0.14.0-beta1

04 Jan 03:51
Compare
Choose a tag to compare
Version 0.14.0-beta1 Pre-release
Pre-release

Changes in this version:

[0.14.0-beta1] - 2025-01-03

Breaking Changes 🛠️

  • Updated dependencies leptos-use to version 0.15 and leptos 0.7
  • The prop scroll_container of <TableContent> is now required. If you don't care about scrolling you can use scroll_container="html".
  • Some smaller stuff that the compiler should tell you about. Please also refer to the updated examples.

Known Issues

  • The virtualized scrolling is not perfectly smooth yet.
  • Editing doesn't work quite yet.
  • The examples paginated_rest_datasource and pagination are not working yet because the previously used external REST API changed.

Thanks to contributor

Thanks to @kstep for his many contributions to this release.

Special thanks to our sponsor

Version 0.13.1

31 Oct 19:32
Compare
Choose a tag to compare

[0.13.1] - 2024-10-31

Fixes 🐛

  • Fixed edge case loading data ranges that are smaller than the chunk size (thanks to @mcbernie).

Version 0.12.1

01 Sep 21:12
Compare
Choose a tag to compare

Changes in this release:

[0.12.1] - 2024-09-01

Features 🚀

  • Added support for generics in struct field types (thanks to @frnsys)
  • Added macro options for much more flexibility with leptos-i18n (thanks to @Baptistemontan)
  • Added hint to readmes of examples how to run them (thanks to @luckynumberke7in)

Version 0.12.0

14 Aug 19:30
Compare
Choose a tag to compare

Changes in this version:

[0.12.0] - 2024-08-14

Breaking Change 🛠️

  • Updated dependency leptos-use to version 0.12 which supports web-sys 0.3.70 which introduced breaking changes. (thanks
    to @frnsys)

Version 0.11.0

05 Aug 18:27
Compare
Choose a tag to compare

Changes in this Version:

[0.11.0] - 2024-08-05

Features 🚀

  • Changed leptos-use to version 0.11
  • Added i18n support via the "i18n" feature which uses leptos-i18n. See the i18n example for usage.
  • Added row reader to TableComponent
  • Added default_th_sorting_style to make it easier to write a custom thead cell render component.

Version 0.10.2

07 Jun 00:18
Compare
Choose a tag to compare

Changes in this version:

[0.10.2] - 2024-06-07

Fixes 🐛

  • Fixed race condition with loading row count and sorting update.
  • Fixed console errors/warnings for signals accessed in async blocks after component was disposed of.

Version 0.10.1

05 Jun 22:07
Compare
Choose a tag to compare

Changes in this version:

[0.10.1] - 2024-06-05

Change 🔥

  • CellValue is now implemented for leptos::View. This makes FieldGetter<View possible out of the box.

Fix 🐛

  • Fixed mutating the sorting signal programmatically didn't trigger loading or rerendering (thanks @dakaizou).

Version 0.10.0

26 May 17:49
Compare
Choose a tag to compare

Changes in this version:

[0.10.0] - 2024-05-26

Breaking Changes 🛠️

  • There is no longer a new-typed Uuid. You can now use the Uuid type from the crate uuid directly (thanks to
    @lukashermansson).
  • The DefaultCellRenderer no longer requires values that implement Leptos' IntoView but our own trait CellValue
    which is basically the same but gives us much more flexibility (thanks to @lukashermansson).
  • There are no more chrono default cell renderers or DefaultNumberTableCellRenderer anymore. This can now all be
    handled by the DefaultCellRenderer thanks to the new CellValue trait (thanks to @lukashermansson).

Features 🚀

  • The new CellValue trait allows us to have less macro magic and allow you to specify your own format arguments
    that can be used in the macro attribute #[table(format(...))] (thanks to @lukashermansson).
  • There is now the new feature time to add support for the equally named crate as cell values
    (thanks to @lukashermansson).
  • This crate is now ready to be used with stable Rust (thanks to @tyoeer).
  • You can now specify the prop sorting_mode on the component TableContent to specify multi-column (the default)
    or single-column sorting.

Examples 🧪

  • The serverfn_sqlx example now shows how to implement sorting with sqlx (thanks to @lukashermansson).

Fixes 🐛

  • Fixed pagination with data that is too short to fill the first page (thanks to @TimTom2016).
  • Removed serde dependency from feature flag chrono (thanks to @lukashermansson).

Version 0.9.1

28 Feb 02:47
Compare
Choose a tag to compare

Changes in this version:

[0.9.1] - 2024-02-28

Fixes 🐛

  • Fixed row height detection for virtualization
  • Row count now reloads when the data source triggers changes