Commit graph

74 commits

Author SHA1 Message Date
Richard
495139995a fix: return the object if not an array 2024-09-26 00:55:50 -07:00
Richard
6587db0167 0.7.2 2024-09-26 00:42:25 -07:00
Richard
651b91fbfb perf: optimize sparse array coercion 2024-09-26 00:41:57 -07:00
Richard
640908ebb9 0.7.1 2024-09-25 22:11:22 -07:00
Richard
0b4dd2f53b fix(sync): fill sparse arrays with null 2024-09-25 22:10:52 -07:00
Richard
e5f655482f refactor: separate code for preserving history 2024-09-25 22:10:19 -07:00
Richard
8aef95e2ae build: update dev config 2024-09-25 22:10:04 -07:00
Richard
4b6739c776 0.7.0 2024-09-25 19:18:56 -07:00
Richard
d50b83453b build: install react as dev package 2024-09-25 19:17:57 -07:00
richard
9ba552cb6c
fix(sync): block patches before initial hydration (#21) 2024-09-20 15:32:20 -07:00
Richard
f0acadb4e6 0.6.2 2024-09-15 18:17:25 -07:00
Richard
9329e68a08 fix: allow userdata values for sync 2024-09-15 18:16:59 -07:00
PepeElToro41
0c6241c542
feat: allow molecules in server sync (#20) 2024-09-05 19:23:07 -07:00
Richard
d202268d3f 0.6.1 2024-08-26 19:34:59 -07:00
Richard
5392fcd69b feat: add overload for nullable atoms 2024-08-26 19:34:18 -07:00
Richard
1906eb3b24 0.6.0 2024-08-18 14:44:21 -07:00
Richard
81f13eabc7 feat: batch sync operations 2024-08-18 14:43:29 -07:00
Richard
eb127a05f1 0.5.3 2024-08-09 23:19:35 -07:00
Kevin
72211a674e
fix: remove observe type union (#15) 2024-08-09 23:17:15 -07:00
Richard
e39ef14e16 0.5.2 2024-07-10 15:15:54 -07:00
richard
c6762a6525
fix: avoid reconnecting to dependencies after cleanup (#14)
* fix: cancel reconnection when unsubscribing

* test: remove print

* feat: allow factory to return nil

* perf: use `next` iteration
2024-07-10 15:13:36 -07:00
Richard
62be3e496d 0.5.1 2024-07-09 16:33:09 -07:00
richard
9df9ea13cb
fix(types): do not make roblox datatypes partial (#13) 2024-07-09 16:32:23 -07:00
Richard
d0b842636d 0.5.0 2024-07-08 13:50:51 -07:00
richard
b68879cafd
feat(sync): add preserveHistory option (#12)
* feat(sync): add `preserveHistory` option

* build: omit project json from npm
2024-07-08 13:47:50 -07:00
Richard
acab2d3cce fix(types): use maps for set patches 2024-07-07 02:04:56 -07:00
Richard
7e4d3cbf42 fix(types): add sets to SyncPatch 2024-07-07 02:04:06 -07:00
Richard
e545264782 chore: bump wally version 2024-07-07 01:56:29 -07:00
Richard
71d29ed1e5 0.4.0 2024-07-07 01:52:31 -07:00
Richard
955a757df5 docs: add check for payload type 2024-07-07 01:52:08 -07:00
Richard
cf44dd02ca fix(types): cover more SyncPatch cases 2024-07-07 01:50:12 -07:00
Richard
d913dfc444 build: bump dependencies 2024-07-07 01:49:42 -07:00
richard
333a86b43f
feat: add sync.isNone, fix sync payload type (#11)
* feat: add `sync.isNone`, fix sync payload type

* docs: add `isNone`
2024-07-07 01:09:57 -07:00
Richard
d73963e1c5 0.3.2 2024-07-05 13:29:06 -07:00
richard
a5a183c3a6
fix: handle sparse array patches (#10) 2024-07-05 13:14:07 -07:00
richard
9f28457452
chore: update .gitattributes 2024-06-24 07:08:58 -07:00
Richard
14c6171bbf 0.3.1 2024-06-13 19:36:49 -07:00
nonamie
a3b9d562b9
fix: use shallow copy for state snapshots (#9) 2024-06-13 19:31:47 -07:00
duck.__index
8a35fce65d
fix: change <unknown> generic to using <State> (#7) 2024-06-13 03:49:45 -07:00
Richard
5b6431ac62 0.3.0 2024-06-11 18:05:40 -07:00
richard
e62da5fd1b
build: omit __tests__ from npm release (#6) 2024-06-11 17:20:55 -07:00
richard
a90d131fed
feat: allow conditional dependencies (#4)
* feat: allow conditional dependencies

* docs: remove conditional deps warnings

* fix: allow nested captures

* docs: add dev flag

* fix: `try()` uses pcall if passed `finally()`

* docs: interval is optional

* docs: update readme

* docs: add client/server tags
2024-06-11 17:13:43 -07:00
Richard
fbc86d22c6 0.2.1 2024-06-09 10:10:53 -07:00
Richard
618178060e fix: add project json to npm 2024-06-09 10:09:44 -07:00
richard
b56968638c
docs: rename master to main 2024-06-02 01:35:21 -07:00
Richard
5a2dd118cf 0.2.0 2024-06-02 01:32:37 -07:00
richard
6a9c580bd7
feat: add effect cleanups, add docs (#2)
* docs: update readme

* feat: add cleanup function to effects

* refactor: move peek function to store module

* test: add nested atom check

* docs: add doc comments

* fix: `effect()` type

* refactor: remove divider comment
2024-06-02 01:25:00 -07:00
richard
1a65a4a0de
fix: remove atom.debugLabel reference 2024-06-01 14:56:44 -07:00
Richard
7bbd7a0adb docs: note key differences from reflex 2024-05-31 00:50:29 -07:00
Richard
5045798863 docs: add examples, reword intro 2024-05-31 00:32:08 -07:00