diff --git a/CHANGELOG.md b/CHANGELOG.md index 55e412ea..ea0373c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,14 +5,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## \[Unreleased\] ### Added -- Test for Rust enum serialization. ### Changed -- **BREAKING** Update enum serialization to match [changed Conductor API serialization format](https://github.com/holochain/holochain/blob/develop/crates/holochain/CHANGELOG.md#040-dev1). ### Fixed ### Removed +## 2024-05-21: v0.17.0-rc.0 +### Added +- Test for Rust enum serialization. +### Changed +- **BREAKING** Update enum serialization to match [changed Conductor API serialization format](https://github.com/holochain/holochain/blob/develop/crates/holochain/CHANGELOG.md#040-dev1). + ## 2024-04-27: v0.17.0-dev.12 -### Fixed +### Fixed` - Invalid module references which caused the client to fail to import in Node environments. ## 2024-04-26: v0.17.0-dev.11 diff --git a/docs/client.addagentinforesponse.md b/docs/client.addagentinforesponse.md index 67ad8dea..9f02d2dc 100644 --- a/docs/client.addagentinforesponse.md +++ b/docs/client.addagentinforesponse.md @@ -8,5 +8,5 @@ **Signature:** ```typescript -export type AddAgentInfoResponse = any; +export type AddAgentInfoResponse = unknown; ``` diff --git a/docs/client.appstatusfilter.md b/docs/client.appstatusfilter.md index 38eedd47..f6f5e006 100644 --- a/docs/client.appstatusfilter.md +++ b/docs/client.appstatusfilter.md @@ -36,7 +36,7 @@ Disabled -`"disabled"` +`"Disabled"` @@ -50,7 +50,7 @@ Enabled -`"enabled"` +`"Enabled"` @@ -64,7 +64,7 @@ Paused -`"paused"` +`"Paused"` @@ -78,7 +78,7 @@ Running -`"running"` +`"Running"` @@ -92,7 +92,7 @@ Stopped -`"stopped"` +`"Stopped"` diff --git a/docs/client.capaccess.md b/docs/client.capaccess.md index dd33c7cf..373d47a0 100644 --- a/docs/client.capaccess.md +++ b/docs/client.capaccess.md @@ -8,9 +8,7 @@ **Signature:** ```typescript -export type CapAccess = { - [CapAccessType.Unrestricted]: null; -} | { +export type CapAccess = [CapAccessType.Unrestricted] | { [CapAccessType.Transferable]: { secret: CapSecret; }; diff --git a/docs/client.deactivationreason.md b/docs/client.deactivationreason.md index 47aa26fa..5842529d 100644 --- a/docs/client.deactivationreason.md +++ b/docs/client.deactivationreason.md @@ -8,11 +8,7 @@ **Signature:** ```typescript -export type DeactivationReason = { - never_activated: null; -} | { - normal: null; -} | { +export type DeactivationReason = "never_activated" | "normal" | { quarantined: { error: string; }; diff --git a/docs/client.disabledappreason.md b/docs/client.disabledappreason.md index d8b422d1..2bca5bec 100644 --- a/docs/client.disabledappreason.md +++ b/docs/client.disabledappreason.md @@ -8,11 +8,7 @@ **Signature:** ```typescript -export type DisabledAppReason = { - never_started: null; -} | { - user: null; -} | { +export type DisabledAppReason = "never_started" | "user" | { error: string; }; ``` diff --git a/docs/client.entryvisibility.md b/docs/client.entryvisibility.md index 4b9175c8..239f00b7 100644 --- a/docs/client.entryvisibility.md +++ b/docs/client.entryvisibility.md @@ -8,9 +8,5 @@ **Signature:** ```typescript -export type EntryVisibility = { - Public: null; -} | { - Private: null; -}; +export type EntryVisibility = "Public" | "Private"; ``` diff --git a/docs/client.grantedfunctions.md b/docs/client.grantedfunctions.md index 426bd20d..245fec76 100644 --- a/docs/client.grantedfunctions.md +++ b/docs/client.grantedfunctions.md @@ -8,9 +8,7 @@ **Signature:** ```typescript -export type GrantedFunctions = { - [GrantedFunctionsType.All]: null; -} | { +export type GrantedFunctions = GrantedFunctionsType.All | { [GrantedFunctionsType.Listed]: [ZomeName, FunctionName][]; }; ``` diff --git a/docs/client.installedappinfostatus.md b/docs/client.installedappinfostatus.md index 598e08af..edd84113 100644 --- a/docs/client.installedappinfostatus.md +++ b/docs/client.installedappinfostatus.md @@ -16,9 +16,7 @@ export type InstalledAppInfoStatus = { disabled: { reason: DisabledAppReason; }; -} | { - running: null; -}; +} | "running"; ``` **References:** [PausedAppReason](./client.pausedappreason.md), [DisabledAppReason](./client.disabledappreason.md)