Releases: hamid-shahsavani/killua
Releases · hamid-shahsavani/killua
Release list
v0.4.11
0.4.11 (2024-03-06)
Breaking changes
- This version is entirely standalone, distinct from previous versions, and has been redeveloped from the ground up with a new foundation and structure.
- Replace the
thunderfunction with theslicefunction. - All keys in the slice configuration are optional, except for
keyanddefaultClient. - Rename the
defaultkey in the slice configuration todefaultClient. - Rename the
encryptkey in the slice configuration toobfuscate; instead of encrypting, this new method only obfuscates data. - Modify the
expirekey property in the slice configuration from a numerical value in seconds to a0d-04h-05m-06sformat. - Replace the
thunderfunction in theuseKilluahook return with thegetfunction. - Replace the
setThunderfunction in theuseKilluahook return with thesetfunction. - Replace the
isReadyInSSRfunction in theuseKilluahook return with theisReadyfunction. - Wrapping the app with
SSRKilluaProviderin SSR applications is no longer required.
Features
- Introduce a
schemakey in the slice configuration for data schema validation usingyupandzod. - Introduce a
defaultServerkey in the slice configuration to set a default server value. - Enable access to all values returned by the
useKilluahook outside of components through the value returned by theslicefunction.
Bug Fixes
- Fix expire timer for expire localstorage data with
expirekey.