You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/db-collections/CHANGELOG.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,26 @@
1
1
# @tanstack/db-collections
2
2
3
+
## 0.0.9
4
+
5
+
### Patch Changes
6
+
7
+
- Expose utilities on collection instances ([#161](https://github.com/TanStack/db/pull/161))
8
+
9
+
Implemented a utility exposure pattern for TanStack DB collections that allows utility functions to be passed as part of collection options and exposes them under a `.utils` namespace, with full TypeScript typing.
10
+
11
+
- Refactored `createCollection` in packages/db/src/collection.ts to accept options with utilities directly
12
+
- Added `utils` property to CollectionImpl
13
+
- Added TypeScript types for utility functions and utility records
14
+
- Changed Collection from a class to a type, updating all usages to use createCollection() instead
15
+
- Updated Electric/Query implementations
16
+
- Utilities are now ergonomically accessible under `.utils`
17
+
- Full TypeScript typing is preserved for both collection data and utilities
18
+
- API is clean and straightforward - users can call `createCollection(optionsCreator(config))` directly
19
+
- Zero-boilerplate TypeScript pattern that infers utility types automatically
Copy file name to clipboardExpand all lines: packages/db/CHANGELOG.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,23 @@
1
1
# @tanstack/db
2
2
3
+
## 0.0.7
4
+
5
+
### Patch Changes
6
+
7
+
- Expose utilities on collection instances ([#161](https://github.com/TanStack/db/pull/161))
8
+
9
+
Implemented a utility exposure pattern for TanStack DB collections that allows utility functions to be passed as part of collection options and exposes them under a `.utils` namespace, with full TypeScript typing.
10
+
11
+
- Refactored `createCollection` in packages/db/src/collection.ts to accept options with utilities directly
12
+
- Added `utils` property to CollectionImpl
13
+
- Added TypeScript types for utility functions and utility records
14
+
- Changed Collection from a class to a type, updating all usages to use createCollection() instead
15
+
- Updated Electric/Query implementations
16
+
- Utilities are now ergonomically accessible under `.utils`
17
+
- Full TypeScript typing is preserved for both collection data and utilities
18
+
- API is clean and straightforward - users can call `createCollection(optionsCreator(config))` directly
19
+
- Zero-boilerplate TypeScript pattern that infers utility types automatically
Copy file name to clipboardExpand all lines: packages/react-db/CHANGELOG.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,26 @@
1
1
# @tanstack/react-db
2
2
3
+
## 0.0.7
4
+
5
+
### Patch Changes
6
+
7
+
- Expose utilities on collection instances ([#161](https://github.com/TanStack/db/pull/161))
8
+
9
+
Implemented a utility exposure pattern for TanStack DB collections that allows utility functions to be passed as part of collection options and exposes them under a `.utils` namespace, with full TypeScript typing.
10
+
11
+
- Refactored `createCollection` in packages/db/src/collection.ts to accept options with utilities directly
12
+
- Added `utils` property to CollectionImpl
13
+
- Added TypeScript types for utility functions and utility records
14
+
- Changed Collection from a class to a type, updating all usages to use createCollection() instead
15
+
- Updated Electric/Query implementations
16
+
- Utilities are now ergonomically accessible under `.utils`
17
+
- Full TypeScript typing is preserved for both collection data and utilities
18
+
- API is clean and straightforward - users can call `createCollection(optionsCreator(config))` directly
19
+
- Zero-boilerplate TypeScript pattern that infers utility types automatically
Copy file name to clipboardExpand all lines: packages/vue-db/CHANGELOG.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,26 @@
1
1
# @tanstack/vue-db
2
2
3
+
## 0.0.6
4
+
5
+
### Patch Changes
6
+
7
+
- Expose utilities on collection instances ([#161](https://github.com/TanStack/db/pull/161))
8
+
9
+
Implemented a utility exposure pattern for TanStack DB collections that allows utility functions to be passed as part of collection options and exposes them under a `.utils` namespace, with full TypeScript typing.
10
+
11
+
- Refactored `createCollection` in packages/db/src/collection.ts to accept options with utilities directly
12
+
- Added `utils` property to CollectionImpl
13
+
- Added TypeScript types for utility functions and utility records
14
+
- Changed Collection from a class to a type, updating all usages to use createCollection() instead
15
+
- Updated Electric/Query implementations
16
+
- Utilities are now ergonomically accessible under `.utils`
17
+
- Full TypeScript typing is preserved for both collection data and utilities
18
+
- API is clean and straightforward - users can call `createCollection(optionsCreator(config))` directly
19
+
- Zero-boilerplate TypeScript pattern that infers utility types automatically
0 commit comments