@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 +57 -0
- package/README.md +312 -206
- package/dist/{chunk-BFZMXPHG.js → chunk-2IM7BFJX.js} +3 -3
- package/dist/{chunk-BFZMXPHG.js.map → chunk-2IM7BFJX.js.map} +1 -1
- package/dist/{chunk-KCG6RCFW.js → chunk-3YZER4XO.js} +16 -2
- package/dist/chunk-3YZER4XO.js.map +1 -0
- package/dist/{chunk-K7KLLX42.js → chunk-5727GMVD.js} +1 -1
- package/dist/chunk-5727GMVD.js.map +1 -0
- package/dist/{chunk-AAIYUZY5.js → chunk-DQNFXUZ7.js} +3 -3
- package/dist/{chunk-AAIYUZY5.js.map → chunk-DQNFXUZ7.js.map} +1 -1
- package/dist/host-dependencies.js +1 -1
- package/dist/index.js +28 -5
- package/dist/index.js.map +1 -1
- package/dist/manifest.js +1 -1
- package/dist/permissions.js +1 -1
- package/dist/src/data-types.d.ts +90 -1
- package/dist/src/host-api.d.ts +67 -3
- package/dist/src/host-dependencies.d.ts +2 -2
- package/dist/src/i18n.d.ts +55 -0
- package/dist/src/index.d.ts +5 -3
- package/dist/src/manifest.d.ts +16 -1
- package/dist/src/types.d.ts +18 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-K7KLLX42.js.map +0 -1
- package/dist/chunk-KCG6RCFW.js.map +0 -1
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
|