Skip to content

Releases: ticket-bridge/hyper-durable

v0.1.19

21 Sep 11:59
Compare
Choose a tag to compare

Fixes:

  • Now uses HTTP instead of HTTPS in generated requests from HyperNamespaceProxy to HyperDurable. This avoids SSL errors that can occur.

v0.1.18

10 Aug 19:54
Compare
Choose a tag to compare

fix: Properly persist deeply-nested objects

This change does remove the memoizing benefits from before, since we're now creating a new proxy on every lookup of an object-like property. The proxy is scoped to the getter. Interested in suggestions for memoizing solutions!

v0.1.17

15 Jun 15:48
Compare
Choose a tag to compare

types: Improve proxyHyperDurable types

v0.1.16

15 Jun 15:43
Compare
Choose a tag to compare

types: Improve types on proxyHyperDurables

v0.1.15

15 Jun 10:25
Compare
Choose a tag to compare

refactor: HyperNamespaceProxy no longer creates DO as ref, instead queries prototype of class

This is also a fix to prevent instantiating a new DO instance with an undefined state and env.

v0.1.14

14 Jun 23:00
Compare
Choose a tag to compare

types: Guarantee keys in PromisedGetStub

v0.1.13

14 Jun 22:46
Compare
Choose a tag to compare

types: Export and parameterize HyperStub

v0.1.12

14 Jun 15:44
Compare
Choose a tag to compare

types: Refine types on HyperStub

HyperStub now includes type annotations for method parameters and return values, getter return values, and setter return values.

v0.1.11

14 Jun 15:31
Compare
Choose a tag to compare

types: HyperDurable accepts T param to specify persisted data

For example:

type CounterData = {
  abc?: number;
  counter: number;
  objectLikeProp: string[];
}

class Counter extends HyperDurable<CounterData, Environment> implements CounterData {
  // impl
}

v0.1.10

14 Jun 14:02
Compare
Choose a tag to compare

feat: toObject returns unpersisted dirty data