@wealthfolio/addon-sdk 3.6.2 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,63 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4
4
  and this project adheres to
5
5
  [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [Unreleased]
8
+
9
+ ### Added
10
+
11
+ - Optional `ActivityImport.isExternal` boundary override for transfer and credit
12
+ imports.
13
+ - `ExchangeRatesAPI.getRatesForDates(pairs)` for batched date-specific FX-rate
14
+ lookups, with per-pair errors and Wealthfolio's standard FX resolution rules.
15
+ - `ctx.api.spending` (`SpendingAPI`) — `isEnabled()`, `getCategories()`,
16
+ `getRules()`, `saveRule()`, `deleteRule()`, `rerunRules()`, letting addons
17
+ classify activities into the user's existing spend-category taxonomy via
18
+ Wealthfolio's categorization-rules engine. Requires a Wealthfolio release that
19
+ ships this bridge (unreleased at the time of writing). See the
20
+ [Spend Categorization API reference](../../docs/addons/addon-api-reference.md#spend-categorization-api).
21
+ - `registerTranslations()` and `useAddonTranslation()` for translating addon UI
22
+ strings. Resources live on a dedicated i18next instance inside the addon
23
+ sandbox, isolated from the host catalog; the language follows the host
24
+ setting. Requires a Wealthfolio release that ships this sandbox runtime
25
+ (unreleased at the time of writing). See the
26
+ [Addon Localization guide](../../docs/addons/addon-localization.md).
27
+ - Optional `status` and `needsReview` fields on `ActivityCreate` and
28
+ `ActivityUpdate`.
29
+
30
+ ### Changed
31
+
32
+ - `ActivityUpdate.asset` now has explicit patch semantics: omit it to preserve
33
+ the current asset, or pass an empty object to clear the asset association.
34
+ - Host-provided `@wealthfolio/addon-sdk` and `@wealthfolio/ui` dependency ranges
35
+ are now `^3.8.0`.
36
+
37
+ ## [3.7.0] - 2026-08-10
38
+
39
+ Wealthfolio 3.7 adds private packaged assets while preserving the documented
40
+ v3.6 addon runtime contract. See the
41
+ [v3.6 → v3.7 migration guide](../../docs/addons/addon-migration-guide-v3.6-to-v3.7.md).
42
+
43
+ ### Added
44
+
45
+ - `AddonContext.assets` (`AddonAssets`) with `list()`, `has()`, `getBlob()`, and
46
+ lifecycle-scoped `getUrl()` methods.
47
+ - `AddonAsset` metadata and `ExtractedAddon.assets` for host/runtime package
48
+ integration.
49
+ - Automatic indexing of `assets/**` and `dist/assets/**`, including local CSS
50
+ `url(...)` rewriting for sandbox-safe Blob URLs.
51
+
52
+ ### Changed
53
+
54
+ - Addon enable functions and returned disable callbacks may be asynchronous.
55
+ - Development loading uses coherent, generation-addressed runtime package
56
+ snapshots. Wealthfolio 3.7 requires `@wealthfolio/addon-dev-tools` 3.7 or
57
+ newer for live development.
58
+
59
+ ### Compatibility
60
+
61
+ - Existing v3.6 bundles remain supported. Addons that use `ctx.assets` must set
62
+ `minWealthfolioVersion` to `3.7.0` or newer.
63
+
7
64
  ## [3.6.1] - 2026-07-06
8
65
 
9
66
  Follow-up to the v3.6 sandbox release: sidebar icons are now a typed, curated