# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## v0.12.0 (2024-09-30)
### Chore
- update nats-kv version to v1alpha1
- update secrets integration to use the update config structure
Update the secrets integration in a wasmCloud host to include
information about the policy that determines which backend to
communicate with. This is a change that comes in from wadm where the
policy block now contains the information about which backend to use.
This also passes any propertes defined on the policy to the correct
backend, which are stored as a versioned string-encoded JSON object.
- prep for release v0.12.0
This commit prepares `wasmcloud-test-util` for a release of the next
"major" version (following semver pre 1.x semantics), version 0.12.0.
- use NATS 0.33
- partially update to NATS 0.35.1
- replace mentions of 'actor' w/ 'component'
- address clippy warnings
- bump to 0.1
### Refactor
- update test util for new ctrl-iface
### Other
- upgrade to 0.36
- release and update CHANGELOG
### Chore
- Adopt predefined testcontainers
### Documentation
- fill out more documentation, tests
This commit adds documentation and tests for the test util crate, in
preparation for it being published an replacing the
`wasmcloud-test-util` that is currently published to crates.io.
### New Features
- support pubsub on wRPC subjects
Up until now, publishing and subscribing for RPC communcations on the
NATS cluster happened on subjects that were related to the wasmbus
protocol (i.e. 'wasmbus.rpc.*').
To support the WIT-native invocations, i.e. wRPC (#1389), we must
change the publication and subscription subjects to include also the
subjects that are expected to be used by wprc.
This commit updates the provider-sdk to listen *additionally* to
subjects that are required/used by wrpc, though we do not yet have an
implementation for encode/deocde.
- Adds tests for static actor config
- Glues in named config to actors
This introduces a new config bundle that can watch for config changes. There
is probably a way to reduce the number of allocations here, but it is good
enough for now.
Also, sorry for the new file. I renamed `config.rs` to `host_config.rs` so
I could reuse the `config.rs` file, but I forgot to git mv. So that file
hasn't changed
- component-to-component integration test
- add wasmcloud-test-util crate
This commit adds a `wasmcloud-test-util` crate, which contains utilities
for testing wasmCloud hosts, providers, and actors locally
- Add predefined testcontainers
- return link put response
### Bug Fixes
- use uppercase SECRET prefix
- fix reference to http-jsonify-rust component
### Refactor
- include name with secret config
- address feedback, application name optional
- collapse application field
- improve error usage of bail
- wascap::jwt::Actor -> wascap::jwt::Component
### Test
- add secrets nats kv helpers
- add a test for always deny policy
This commit adds a basic test for an always-deny policy that ensures
starting providers and actors fails.
- update start_provider with named config
### Chore (BREAKING)
- remove cluster_seed/cluster_issuers
- rename ctl actor to component
### New Features (BREAKING)
- support field on SecretRequest
- add secrets backend topic flag
- rename actor_scale* events
- rename put_link to receive_link_config_as_*
This commit renames `put_link` which was a part of the
`ProviderHandler` trait to `receive_link_config_as_target` and
`receive_link_config_as_source` depending on the position of the
provider when the link is put.
With both of these explicit methods, users should be able to configure
their providers appropriately depending on how the link has been put
to them.
- wrap all ctl operations in CtlResponse
- wrap all operations in CtlResponse
### Bug Fixes (BREAKING)
- consistent link operations
### Refactor (BREAKING)
- replace actor with component
### Commit Statistics
- 42 commits contributed to the release.
- 40 commits were understood as [conventional](https://www.conventionalcommits.org).
- 0 issues like '(#ID)' were seen in commit messages
### Commit Details
view details
* **Uncategorized**
- Update test util for new ctrl-iface ([`5ea200a`](https://github.com/wasmCloud/wasmCloud/commit/5ea200a553f79f3da3cb3c21a113ad0a863c2025))
- Adopt predefined testcontainers ([`d8a480b`](https://github.com/wasmCloud/wasmCloud/commit/d8a480bfba3769e56471d408f90d0aaf5a356a4a))
- Add predefined testcontainers ([`8b2b139`](https://github.com/wasmCloud/wasmCloud/commit/8b2b1393a96d67dccbef921a757792214904e346))
- Return link put response ([`df0696e`](https://github.com/wasmCloud/wasmCloud/commit/df0696e9d5037135fbfb0319bf6b2ae84ae95161))
- Upgrade to 0.36 ([`c65d9ca`](https://github.com/wasmCloud/wasmCloud/commit/c65d9cab4cc8917eedcad1672812bafad0311ee0))
- Release and update CHANGELOG ([`835b496`](https://github.com/wasmCloud/wasmCloud/commit/835b49613f7f0d6903ad53d78f49c17db1e3d90e))
- Support field on SecretRequest ([`089c061`](https://github.com/wasmCloud/wasmCloud/commit/089c061be0bf07e6abdeafc17375417eafff4a1b))
- Include name with secret config ([`c666ef5`](https://github.com/wasmCloud/wasmCloud/commit/c666ef50fecc1ee248bf78d486a915ee077e3b4a))
- Address feedback, application name optional ([`b56982f`](https://github.com/wasmCloud/wasmCloud/commit/b56982f437209ecaff4fa6946f8fe4c3068a62cd))
- Collapse application field ([`388662a`](https://github.com/wasmCloud/wasmCloud/commit/388662a482442df3f74dfe8f9559fc4c07cedbe5))
- Update nats-kv version to v1alpha1 ([`13edb3e`](https://github.com/wasmCloud/wasmCloud/commit/13edb3e395eeb304adb88fcda0ebf1ada2c295c4))
- Update secrets integration to use the update config structure ([`da879d3`](https://github.com/wasmCloud/wasmCloud/commit/da879d3e50d32fe1c09edcf2b58cb2db9c9e2661))
- Use uppercase SECRET prefix ([`e202bb3`](https://github.com/wasmCloud/wasmCloud/commit/e202bb3adfe45ccfc6ef099890f74962263e8f19))
- Prep for release v0.12.0 ([`d7677a3`](https://github.com/wasmCloud/wasmCloud/commit/d7677a3d1dc1e7a10e49b43c57a6206d4c367f30))
- Improve error usage of bail ([`c30bf33`](https://github.com/wasmCloud/wasmCloud/commit/c30bf33f754c15122ead7f041b7d3e063dd1db33))
- Add secrets nats kv helpers ([`7e32b07`](https://github.com/wasmCloud/wasmCloud/commit/7e32b07b59d9b45047d9ed3a202c49104a7f0b73))
- Add secrets backend topic flag ([`98b3986`](https://github.com/wasmCloud/wasmCloud/commit/98b3986aca562d7f5439d3618d1eaf70f1b7e75a))
- Use NATS 0.33 ([`03433cf`](https://github.com/wasmCloud/wasmCloud/commit/03433cfbd79ab1b652dd32c6077143fda2379df9))
- Partially update to NATS 0.35.1 ([`94bfb0e`](https://github.com/wasmCloud/wasmCloud/commit/94bfb0e23d4f1f58b70500eaa635717a6ba83484))
- Bump wascap v0.15.0, wasmcloud-core v0.7.0, wash-lib v0.22.0, wasmcloud-tracing v0.5.0, wasmcloud-provider-sdk v0.6.0, wash-cli v0.29.0, safety bump 5 crates ([`2e38cd4`](https://github.com/wasmCloud/wasmCloud/commit/2e38cd45adef18d47af71b87ca456a25edb2f53a))
- Fix reference to http-jsonify-rust component ([`bca30cb`](https://github.com/wasmCloud/wasmCloud/commit/bca30cb58c6f1669894b21d202dae0511a3d6542))
- Bump provider-archive v0.10.1, wasmcloud-core v0.6.0, wash-lib v0.21.0, wasmcloud-tracing v0.4.0, wasmcloud-provider-sdk v0.5.0, wash-cli v0.28.0, safety bump 5 crates ([`75a2e52`](https://github.com/wasmCloud/wasmCloud/commit/75a2e52f52690ba143679c90237851ebd07e153f))
- Replace mentions of 'actor' w/ 'component' ([`d8b19a2`](https://github.com/wasmCloud/wasmCloud/commit/d8b19a210a60e39fbd4a1b9e8cd275116304e7e7))
- Fill out more documentation, tests ([`4eecca5`](https://github.com/wasmCloud/wasmCloud/commit/4eecca55327c1898ef624225e8f26c1d419b62af))
- Address clippy warnings ([`5957fce`](https://github.com/wasmCloud/wasmCloud/commit/5957fce86a928c7398370547d0f43c9498185441))
- Replace actor with component ([`e75ca8d`](https://github.com/wasmCloud/wasmCloud/commit/e75ca8df4149c40c44ca0cd151f9d5f7d87cb2fa))
- Remove cluster_seed/cluster_issuers ([`bc5d296`](https://github.com/wasmCloud/wasmCloud/commit/bc5d296f3a58bc5e8df0da7e0bf2624d03335d9f))
- Rename ctl actor to component ([`bcbb402`](https://github.com/wasmCloud/wasmCloud/commit/bcbb402c2efe3dc881b06e666c70e01e94d3ad72))
- Add a test for always deny policy ([`0f4745b`](https://github.com/wasmCloud/wasmCloud/commit/0f4745b323e3af3b991598ee13b2b166fba74358))
- Rename actor_scale* events ([`9e23be2`](https://github.com/wasmCloud/wasmCloud/commit/9e23be23131bbcdad746f7e85d33d5812e5f2ff9))
- Wascap::jwt::Actor -> wascap::jwt::Component ([`4bd1c0b`](https://github.com/wasmCloud/wasmCloud/commit/4bd1c0bd6a5f338c6c3840b7d96d1143ac2905c6))
- Bump to 0.1 ([`fa5a77b`](https://github.com/wasmCloud/wasmCloud/commit/fa5a77bbf34411340c38bea8ac5975be5af2eeba))
- Rename put_link to receive_link_config_as_* ([`abffe4b`](https://github.com/wasmCloud/wasmCloud/commit/abffe4bac6137371e00c0afa668db907bde082e6))
- Update start_provider with named config ([`8e15d48`](https://github.com/wasmCloud/wasmCloud/commit/8e15d48258489dbb94f83cbea3872d4ee946c70b))
- Support pubsub on wRPC subjects ([`76c1ed7`](https://github.com/wasmCloud/wasmCloud/commit/76c1ed7b5c49152aabd83d27f0b8955d7f874864))
- Adds tests for static actor config ([`e39d1cb`](https://github.com/wasmCloud/wasmCloud/commit/e39d1cb85011f548a7c20f6ed411ef6a53fe6e34))
- Glues in named config to actors ([`82c249b`](https://github.com/wasmCloud/wasmCloud/commit/82c249b15dba4dbe4c14a6afd2b52c7d3dc99985))
- Wrap all ctl operations in CtlResponse ([`4a4b300`](https://github.com/wasmCloud/wasmCloud/commit/4a4b300515e9984a1befe6aaab1a6298d8ea49b1))
- Wrap all operations in CtlResponse ([`4c54a48`](https://github.com/wasmCloud/wasmCloud/commit/4c54a488f5ea4a7d5f6793db62c9e2b0fd6ddf3a))
- Component-to-component integration test ([`9d98442`](https://github.com/wasmCloud/wasmCloud/commit/9d98442596689e6c7a8896f05365e5ed7a4c4f40))
- Consistent link operations ([`301ba5a`](https://github.com/wasmCloud/wasmCloud/commit/301ba5aacadfe939db5717eb9cff47a31fffd116))
- Add wasmcloud-test-util crate ([`4803b7f`](https://github.com/wasmCloud/wasmCloud/commit/4803b7f2381b5439f862746407ac13a31ebdfee3))