Skip to content

Releases: tinyplex/tinybase

v4.3.18

20 Oct 03:24

Choose a tag to compare

This release aids compatibility with iOS (both the styling of the inspector and the tinybase.org website)

v4.3.17

19 Oct 14:04

Choose a tag to compare

This upgrades PartyKit dependencies and reduces E2E parallelization to reduce flakiness.

v4.3.15

17 Oct 01:52

Choose a tag to compare

This fixes a rare and pernicious bug where stopping a Persister's autoLoad twice, quickly, could remove another hook's listener.

v4.3.14

12 Oct 17:44

Choose a tag to compare

This release adds a convenient accessor to each Persister object so that you can get back a reference to the underlying storage (or name). For example, the Sqlite-based persisters all have a getDb() method to retrieve the underlying database connection, the PartyKit persister has a getConnection() method, and so on.

v4.3.13

10 Oct 17:58

Choose a tag to compare

This release lets you inspect the previous value of a Cell or Value on the PartyKit server before deciding whether to let it be updated by a client. It also slightly refactors the PartyKit server storage layer but with no breaking changes.

v4.3.12

05 Oct 13:44

Choose a tag to compare

This release adds sanitization methods to the TinyBasePartyKitServer class so that you can ensure only valid operations are being sent by a client.

For example, you can implement the canSetCell method to check that a user is allowed to change a given Cell in the durable copy of the Store on the server.

Remember that, in the general case, you cannot trust the client to only send data that the server considers valid or safe.

v4.3.11

01 Oct 14:48

Choose a tag to compare

This release adds an optional showType prop to the EditableCellView and EditableValueView components.

You can set this to false to remove the button that lets users see and change the type of the Cell or Value, which is easier than having to do it in CSS.

v4.3.10

29 Sep 19:14

Choose a tag to compare

This fixes the PartyKit peer dependency

v4.3.9

29 Sep 18:24

Choose a tag to compare

This release provides some configuration for both the server and client components of the PartyKit Persister. You can configure the store path, the durable store prefix, HTTP headers, and so on.

See the new documentation for both the client configuration and server configuration.

v4.3.8

28 Sep 01:12

Choose a tag to compare

You can now create new queries within the listeners of existing ones, which unlocks some powerful chained query functionality. Thanks @tobiascornille for the inspiration!