.listening
BREAKING CHANGE in https://github.com/Ayc0/Manatea/pull/39
Full Changelog: https://github.com/Ayc0/Manatea/compare/v0.6.1...v1.0.0-alpha.1
Published by Ayc0 about 1 year ago
Full Changelog: https://github.com/Ayc0/Manatea/compare/v0.6.0...v0.6.1
Published by Ayc0 over 1 year ago
useSyncExternalStore
in https://github.com/Ayc0/Manatea/pull/28 minor breaking change
server
-> waiter
in https://github.com/Ayc0/Manatea/pull/30 BREAKING CHANGE
exports
field in package.json + use .mjs
extensions in https://github.com/Ayc0/Manatea/pull/33 can be a breaking change
Internal changes:
Full Changelog: https://github.com/Ayc0/Manatea/compare/v0.5.1...v0.6.0
Published by Ayc0 over 1 year ago
Breaking changes:
Internal changes:
Full Changelog: https://github.com/Ayc0/Manatea/compare/v0.6.0-beta.2...v0.6.0-beta.3
Published by Ayc0 over 1 year ago
server
-> waiter
in https://github.com/Ayc0/Manatea/pull/30
Full Changelog: https://github.com/Ayc0/Manatea/compare/v0.6.0-beta.1...v0.6.0-beta.2
Published by Ayc0 over 2 years ago
Full Changelog: https://github.com/Ayc0/Manatea/compare/v0.6.0-beta.0...v0.6.0-beta.1
Published by Ayc0 over 2 years ago
Full Changelog: https://github.com/Ayc0/Manatea/compare/v0.5.1...v0.6.0-beta.0
Published by Ayc0 almost 3 years ago
Add derived cups in https://github.com/Ayc0/Manatea/pull/23
[Server] remove .clear()
method in https://github.com/Ayc0/Manatea/pull/22 BREAKING CHANGE
Update all dev deps
Update microbundle to v0.14.1 -> add a PURE
annotation on the react import in react-manatea
Update TS config + update code accordingly
Update GH actions versions to v2
Add support for node 17.x in https://github.com/Ayc0/Manatea/pull/25
Full Changelog: https://github.com/Ayc0/Manatea/compare/v0.5.0...v0.5.1
Published by Ayc0 almost 3 years ago
Full Changelog: https://github.com/Ayc0/Manatea/compare/v0.5.1-beta.3...v0.5.1-beta.4
Published by Ayc0 about 3 years ago
.clear()
method in https://github.com/Ayc0/Manatea/pull/22 BREAKING CHANGE
Full Changelog: https://github.com/Ayc0/Manatea/compare/v0.5.1-beta.2...v0.5.1-beta.3
Published by Ayc0 about 3 years ago
Record<string, unknown>
introduced in v0.5.1-beta.1
Full Changelog: https://github.com/Ayc0/Manatea/compare/v0.5.1-beta.1...v0.5.1-beta.2
Published by Ayc0 about 3 years ago
PURE
annotation on the react import in react-manateaobject
from Tea
and instead use Record<string, unknown>
(minor breaking change)Full Changelog: https://github.com/Ayc0/Manatea/compare/v0.5.0...v0.5.1-beta.1
Published by Ayc0 about 3 years ago
createCup
-> orderCup
,Change
-> Order
(only in TS),orderCup
, you can now pass a flavoring function,Cup
was updated to receive 2 generics instead of one: FlavoredTea
and UnflavoredTea
(minor breaking change)namedStores
BREAKING CHANGE,Object.freeze()
on the teas anymore (as it can mutate the provided value) (minor breaking change)context
to servers and orders to avoid infinite loops when a cup's listener is used to update another cupconst cup1 = orderCup(0);
const cup2 = orderCup(0);
cup1.on((newTea, context) => cup2(newTea, context));
cup2.on((newTea, context) => cup1(newTea, context));
// Here updating cup1 will update cup2, and vice versa.
// But thanks to the `context`, we don't create an infinite loop,
// and the updates are dropped when they re-reached an already updated cup
use Object.is
instead of ===
for comparing the previous and the new teas (handle NaN
OOTB + differentiate -0
from +0
) (minor breaking change),
add sideEffects: false
in package.json to enable tree shaking
[email protected]
useInfuser
useInfuser
exposes the context
(used to avoid infinite loops)sideEffects: false
in package.json to enable tree shakinglerna
and instead use custom scriptsFull Changelog: https://github.com/Ayc0/Manatea/compare/v0.3.6...v0.5.0
Published by Ayc0 about 3 years ago
manatea
Object.is
instead of ===
for comparing the previous and the new teas (handle NaN
OOTB + differentiate -0
from +0
) (minor breaking change)FlavoredTea
in Handler
instead of UnflavoredTea
(only type change)Renamed more tea
into flavoredTea
Published by Ayc0 about 3 years ago
First tracked release via GH releases
Published by Ayc0 about 3 years ago
manatea
The flavoring
function accepts a second parameter: previouslyFlavoredTea
(which isn't passed for the initialTea
)
Published by Ayc0 about 3 years ago
manatea
Flavoring
can transform a value from an UnflavoredTea
one to the stored FlavoredTea
Cup
was updated to receive 2 generics instead of one: FlavoredTea
and UnflavoredTea
unstable_plate
react-manatea
useInfuser
, Infuser
, and infuse
were updated to also support FlavoredTea
and UnflavoredTea
tea
-> flavoredTea
previousTea
-> previouslyFlavoredTea
teaRefill
-> unflavoredTea
Published by Ayc0 over 3 years ago
sideEffects: false
in package.json to enable tree shakingunstable_plate
sideEffects: false
in package.json to enable tree shakingPublished by Ayc0 over 3 years ago
Published by Ayc0 over 3 years ago