|
1 | 1 | # svelte-reactive-table |
2 | 2 |
|
| 3 | +## 0.6.1 |
| 4 | + |
| 5 | +### Patch Changes |
| 6 | + |
| 7 | +- 70b932a: chore: update packages |
| 8 | + |
3 | 9 | ## 0.6.0 |
4 | 10 |
|
5 | 11 | ### Minor Changes |
|
9 | 15 | This update introduces a flexible and easy-to-use filtering system that supports multiple filter types and intelligent value matching. |
10 | 16 |
|
11 | 17 | Key features: |
12 | | - |
13 | 18 | - New `reactiveFiltering` plugin for flexible data filtering |
14 | 19 | - Intelligent filter matching: exact values, arrays for IN operations, and custom predicate functions |
15 | 20 | - Built-in string filtering with case-insensitive contains matching by default |
|
29 | 34 | This update redesigns how table features work by introducing a standardized plugin system. Features like pagination, sorting, and column visibility are now implemented as plugins with a consistent interface. |
30 | 35 |
|
31 | 36 | Improvements include: |
32 | | - |
33 | 37 | - New plugin system with `table.use(plugin)` method |
34 | 38 | - Enhanced pagination state with `hasNextPage`, `hasPreviousPage`, `isFirstPage`, `isLastPage`, and `pageItemRange` |
35 | 39 | - Better TypeScript types for improved type safety |
36 | 40 | - Standardized plugin lifecycle with init and cleanup methods |
37 | 41 |
|
38 | 42 | BREAKING CHANGES: |
39 | | - |
40 | 43 | - Plugins must now be attached to tables using `table.use(plugin)` |
41 | 44 | - Plugin state is accessed through `table.plugins.[pluginId].state` |
42 | 45 | - Navigation methods are now renamed to `goToNextPage`, `goToPreviousPage`, `goToFirstPage`, `goToLastPage` |
|
62 | 65 | ### Minor Changes |
63 | 66 |
|
64 | 67 | - 8df363c: feat: add column visibility as an opt-in feature |
65 | | - |
66 | 68 | - Introduced new `reactiveColumnVisibility` function |
67 | 69 | - Added ability to manage column visibility (when enabled) through the table's `columnVisibility` property with methods for toggling, showing, and hiding columns |
68 | 70 |
|
|
73 | 75 | This refactoring improves the pagination API by moving row management from the pagination component into the core table. Instead of accessing rows through `table.pagination.rows`, users now consistently use `table.rows` regardless of active features. |
74 | 76 |
|
75 | 77 | Key changes: |
76 | | - |
77 | 78 | - Refactored internal pagination architecture to better separate concerns |
78 | 79 | - Created a more unified and intuitive API for accessing table rows |
79 | 80 | - Maintained all pagination functionality and state management |
|
98 | 99 | ### Minor Changes |
99 | 100 |
|
100 | 101 | - bd6bb1b: refactor: make pagination optional with improved TypeScript API |
101 | | - |
102 | 102 | - Make pagination completely optional through a new options-based API |
103 | 103 | - Add TypeScript generics to provide proper type safety with or without pagination |
104 | 104 | - Introduce `TableOptions` interface for configuring table features |
|
109 | 109 | BREAKING CHANGE: Introduced new options-based API for table configuration that changes how tables are initialized and configured. |
110 | 110 |
|
111 | 111 | - f4ba175: feat: add modular pagination support |
112 | | - |
113 | 112 | - Add new `reactivePagination` API for configurable table pagination |
114 | 113 | - Change table API to use composition pattern for pagination |
115 | 114 | - Export pagination types and functions in public API |
|
128 | 127 | ### Minor Changes |
129 | 128 |
|
130 | 129 | - d1ce4bd: feat: enhance table with pagination and column visibility |
131 | | - |
132 | 130 | - Add pagination with flexible page size controls |
133 | 131 | - Add column visibility toggling |
134 | 132 | - Implement row identification with ID tracking |
|
148 | 146 | - 0e5b8ac: Initial release of svelte-reactive-table |
149 | 147 |
|
150 | 148 | WHAT: |
151 | | - |
152 | 149 | - First public release of the headless, fully reactive table library for Svelte applications |
153 | 150 | - Core table functionality with TypeScript support |
154 | 151 | - Svelte 5 compatibility |
155 | 152 |
|
156 | 153 | WHY: |
157 | | - |
158 | 154 | - Providing a modern, type-safe table solution for Svelte applications |
159 | 155 | - Offering a headless approach for maximum styling flexibility |
160 | 156 |
|
161 | 157 | HOW TO USE: |
162 | | - |
163 | 158 | - Install using: pnpm add svelte-reactive-table |
164 | 159 | - Follow the documentation for implementation details |
165 | 160 |
|
|
0 commit comments