mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 09:09:21 -05:00
updated changelog
This commit is contained in:
parent
b7a3ac554b
commit
ded2663564
1 changed files with 18 additions and 14 deletions
|
@ -7,12 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
### Breaking Changes 🛠
|
### Breaking Changes 🛠
|
||||||
|
|
||||||
- (@feral-dot-io) The use `use_<type>_storage` functions have been rewritten to use `Codec`s instead of always requiring `serde`.
|
- (@feral-dot-io) The use `use_<type>_storage` functions have been rewritten to use `Codec`s instead of always
|
||||||
|
requiring `serde`.
|
||||||
- This also removes the feature `storage`
|
- This also removes the feature `storage`
|
||||||
- By default the `StringCodec` is used which relies on types implementing `FromString + ToString`
|
- By default the `StringCodec` is used which relies on types implementing `FromString + ToString`
|
||||||
- If you want to use `JsonCodec` you have to enable the feature `serde`
|
- If you want to use `JsonCodec` you have to enable the feature `serde`
|
||||||
- If you want to use `ProstCodec` (new!) you have to enable the feature `prost`.
|
- If you want to use `ProstCodec` (new!) you have to enable the feature `prost`.
|
||||||
- (@feral-dot-io) The Rust flag `--cfg=web_sys_unstable_apis` is not needed anymore since relevant `web_sys` APIs are now stable.
|
- (@feral-dot-io) The Rust flag `--cfg=web_sys_unstable_apis` is not needed anymore since relevant `web_sys` APIs are
|
||||||
|
now stable.
|
||||||
This affects in particular
|
This affects in particular
|
||||||
- `use_element_size`
|
- `use_element_size`
|
||||||
- `use_resize_observer`
|
- `use_resize_observer`
|
||||||
|
@ -21,6 +23,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
- `use_raf_fn` and `use_timestamp` no longer spam warnings because of `get`ting signals outside of reactive contexts.
|
- `use_raf_fn` and `use_timestamp` no longer spam warnings because of `get`ting signals outside of reactive contexts.
|
||||||
- `use_infinite_scroll` no longer calls the callback twice for the same event
|
- `use_infinite_scroll` no longer calls the callback twice for the same event
|
||||||
|
- `use_scroll` now uses `try_get_untracked` in the debounced callback to avoid panics if the context has been destroyed
|
||||||
|
while the callback was waiting to be called.
|
||||||
|
|
||||||
## [0.8.2] - 2023-11-09
|
## [0.8.2] - 2023-11-09
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue