diff --git a/.github/workflows/bump-version.yaml b/.github/workflows/bump-version.yaml index 8d4cc94..51e59b3 100644 --- a/.github/workflows/bump-version.yaml +++ b/.github/workflows/bump-version.yaml @@ -7,7 +7,7 @@ on: description: The new version of the interface package and crates, e.g. 0.1.0 or 0.2.0-dev required: true type: string - default: "0.1.0" # the current version, kept current by scripts/bump-version.sh + default: "0.1.1-dev" # the current version, kept current by scripts/bump-version.sh jobs: # bumps the version with read only access, the changes are handed to the pull-request job as a diff --git a/components/gate-client/README.md b/components/gate-client/README.md index 15fbe56..a572ae4 100644 --- a/components/gate-client/README.md +++ b/components/gate-client/README.md @@ -18,7 +18,7 @@ Latch error CODE=invalid-config OPERATION=wasi:http/client#send ME Imports: -- `componentized:http/latch@0.1.0`: decides whether each request may proceed +- `componentized:http/latch@0.1.1-dev`: decides whether each request may proceed - `wasi:logging/logging@0.1.0-draft`: logs denials and latch errors - `wasi:http/types@0.3.0`: the requests being gated - `wasi:http/client@0.3.0`: the client the gated client wraps diff --git a/components/gate-handler/README.md b/components/gate-handler/README.md index df3ae1d..d63fcb9 100644 --- a/components/gate-handler/README.md +++ b/components/gate-handler/README.md @@ -18,7 +18,7 @@ Latch error CODE=invalid-config OPERATION=wasi:http/client#send ME Imports: -- `componentized:http/latch@0.1.0`: decides whether each request may proceed +- `componentized:http/latch@0.1.1-dev`: decides whether each request may proceed - `wasi:logging/logging@0.1.0-draft`: logs denials and latch errors - `wasi:http/types@0.3.0`: the requests being gated - `wasi:http/handler@0.3.0`: the handler the gated handler wraps diff --git a/components/gate/README.md b/components/gate/README.md index 977567e..824c69e 100644 --- a/components/gate/README.md +++ b/components/gate/README.md @@ -20,7 +20,7 @@ A union of `gate-client` and `gate-handler`. Imports: -- `componentized:http/latch@0.1.0`: decides whether each request may proceed +- `componentized:http/latch@0.1.1-dev`: decides whether each request may proceed - `wasi:logging/logging@0.1.0-draft`: logs denials and latch errors - `wasi:http/types@0.3.0`: the requests being gated - `wasi:http/client@0.3.0`: the client the gated client wraps diff --git a/components/latch-defer-all/README.md b/components/latch-defer-all/README.md index ef9592d..5aae43a 100644 --- a/components/latch-defer-all/README.md +++ b/components/latch-defer-all/README.md @@ -10,4 +10,4 @@ Imports: Exports: -- `componentized:http/latch@0.1.0`: the latch +- `componentized:http/latch@0.1.1-dev`: the latch diff --git a/components/latch-delegate-client/README.md b/components/latch-delegate-client/README.md index 09215af..ce4da8e 100644 --- a/components/latch-delegate-client/README.md +++ b/components/latch-delegate-client/README.md @@ -28,8 +28,8 @@ export new local:latch-n2 { Imports: - `wasi:http/types@0.3.0`: the requests being authorized -- `componentized:http/latch@0.1.0`: the wrapped latch, consulted for `wasi:http/client` requests +- `componentized:http/latch@0.1.1-dev`: the wrapped latch, consulted for `wasi:http/client` requests Exports: -- `componentized:http/latch@0.1.0`: the latch +- `componentized:http/latch@0.1.1-dev`: the latch diff --git a/components/latch-delegate-handler/README.md b/components/latch-delegate-handler/README.md index 1070732..1bb17f5 100644 --- a/components/latch-delegate-handler/README.md +++ b/components/latch-delegate-handler/README.md @@ -28,8 +28,8 @@ export new local:latch-n2 { Imports: - `wasi:http/types@0.3.0`: the requests being authorized -- `componentized:http/latch@0.1.0`: the wrapped latch, consulted for `wasi:http/handler` requests +- `componentized:http/latch@0.1.1-dev`: the wrapped latch, consulted for `wasi:http/handler` requests Exports: -- `componentized:http/latch@0.1.0`: the latch +- `componentized:http/latch@0.1.1-dev`: the latch diff --git a/components/latch-deny-all/README.md b/components/latch-deny-all/README.md index c4d5a6d..1800c0a 100644 --- a/components/latch-deny-all/README.md +++ b/components/latch-deny-all/README.md @@ -10,4 +10,4 @@ Imports: Exports: -- `componentized:http/latch@0.1.0`: the latch +- `componentized:http/latch@0.1.1-dev`: the latch diff --git a/components/latch-deny-random/README.md b/components/latch-deny-random/README.md index aeee9a9..e8660aa 100644 --- a/components/latch-deny-random/README.md +++ b/components/latch-deny-random/README.md @@ -29,4 +29,4 @@ Imports: Exports: -- `componentized:http/latch@0.1.0`: the latch +- `componentized:http/latch@0.1.1-dev`: the latch diff --git a/components/latch-dry-run/README.md b/components/latch-dry-run/README.md index eb31f0c..4334755 100644 --- a/components/latch-dry-run/README.md +++ b/components/latch-dry-run/README.md @@ -29,8 +29,8 @@ Imports: - `wasi:logging/logging@0.1.0-draft`: logs the requests the wrapped latch would deny, and its errors - `wasi:http/types@0.3.0`: the requests being authorized -- `componentized:http/latch@0.1.0`: the wrapped latch +- `componentized:http/latch@0.1.1-dev`: the wrapped latch Exports: -- `componentized:http/latch@0.1.0`: the latch +- `componentized:http/latch@0.1.1-dev`: the latch diff --git a/components/latch-method-readonly/README.md b/components/latch-method-readonly/README.md index b758d6b..5a1b2d7 100644 --- a/components/latch-method-readonly/README.md +++ b/components/latch-method-readonly/README.md @@ -13,4 +13,4 @@ Imports: Exports: -- `componentized:http/latch@0.1.0`: the latch +- `componentized:http/latch@0.1.1-dev`: the latch diff --git a/components/latch-method/README.md b/components/latch-method/README.md index 84c3980..d70a28e 100644 --- a/components/latch-method/README.md +++ b/components/latch-method/README.md @@ -26,4 +26,4 @@ Imports: Exports: -- `componentized:http/latch@0.1.0`: the latch +- `componentized:http/latch@0.1.1-dev`: the latch diff --git a/components/latch-n2/README.md b/components/latch-n2/README.md index 017b3e0..bf9cbd7 100644 --- a/components/latch-n2/README.md +++ b/components/latch-n2/README.md @@ -8,9 +8,9 @@ The latches are asked in order, `latch0`, `latch1`, and the first denial is the Imports: -- `latch0`: `componentized:http/latch@0.1.0`, a latch to aggregate -- `latch1`: `componentized:http/latch@0.1.0`, a latch to aggregate +- `latch0`: `componentized:http/latch@0.1.1-dev`, a latch to aggregate +- `latch1`: `componentized:http/latch@0.1.1-dev`, a latch to aggregate Exports: -- `componentized:http/latch@0.1.0`: the latch +- `componentized:http/latch@0.1.1-dev`: the latch diff --git a/components/latch-n3/README.md b/components/latch-n3/README.md index 5c145b0..7c7d038 100644 --- a/components/latch-n3/README.md +++ b/components/latch-n3/README.md @@ -8,10 +8,10 @@ The latches are asked in order, `latch0`, `latch1`, `latch2`, and the first deni Imports: -- `latch0`: `componentized:http/latch@0.1.0`, a latch to aggregate -- `latch1`: `componentized:http/latch@0.1.0`, a latch to aggregate -- `latch2`: `componentized:http/latch@0.1.0`, a latch to aggregate +- `latch0`: `componentized:http/latch@0.1.1-dev`, a latch to aggregate +- `latch1`: `componentized:http/latch@0.1.1-dev`, a latch to aggregate +- `latch2`: `componentized:http/latch@0.1.1-dev`, a latch to aggregate Exports: -- `componentized:http/latch@0.1.0`: the latch +- `componentized:http/latch@0.1.1-dev`: the latch diff --git a/components/latch-n4/README.md b/components/latch-n4/README.md index 5d10c2f..cca7b7c 100644 --- a/components/latch-n4/README.md +++ b/components/latch-n4/README.md @@ -8,11 +8,11 @@ The latches are asked in order, `latch0`, `latch1`, `latch2`, `latch3`, and the Imports: -- `latch0`: `componentized:http/latch@0.1.0`, a latch to aggregate -- `latch1`: `componentized:http/latch@0.1.0`, a latch to aggregate -- `latch2`: `componentized:http/latch@0.1.0`, a latch to aggregate -- `latch3`: `componentized:http/latch@0.1.0`, a latch to aggregate +- `latch0`: `componentized:http/latch@0.1.1-dev`, a latch to aggregate +- `latch1`: `componentized:http/latch@0.1.1-dev`, a latch to aggregate +- `latch2`: `componentized:http/latch@0.1.1-dev`, a latch to aggregate +- `latch3`: `componentized:http/latch@0.1.1-dev`, a latch to aggregate Exports: -- `componentized:http/latch@0.1.0`: the latch +- `componentized:http/latch@0.1.1-dev`: the latch diff --git a/components/latch-n5/README.md b/components/latch-n5/README.md index b8373f8..e215d01 100644 --- a/components/latch-n5/README.md +++ b/components/latch-n5/README.md @@ -8,12 +8,12 @@ The latches are asked in order, `latch0`, `latch1`, `latch2`, `latch3`, `latch4` Imports: -- `latch0`: `componentized:http/latch@0.1.0`, a latch to aggregate -- `latch1`: `componentized:http/latch@0.1.0`, a latch to aggregate -- `latch2`: `componentized:http/latch@0.1.0`, a latch to aggregate -- `latch3`: `componentized:http/latch@0.1.0`, a latch to aggregate -- `latch4`: `componentized:http/latch@0.1.0`, a latch to aggregate +- `latch0`: `componentized:http/latch@0.1.1-dev`, a latch to aggregate +- `latch1`: `componentized:http/latch@0.1.1-dev`, a latch to aggregate +- `latch2`: `componentized:http/latch@0.1.1-dev`, a latch to aggregate +- `latch3`: `componentized:http/latch@0.1.1-dev`, a latch to aggregate +- `latch4`: `componentized:http/latch@0.1.1-dev`, a latch to aggregate Exports: -- `componentized:http/latch@0.1.0`: the latch +- `componentized:http/latch@0.1.1-dev`: the latch diff --git a/components/latch-scheme-httpsonly/README.md b/components/latch-scheme-httpsonly/README.md index f20c6ea..4681971 100644 --- a/components/latch-scheme-httpsonly/README.md +++ b/components/latch-scheme-httpsonly/README.md @@ -13,4 +13,4 @@ Imports: Exports: -- `componentized:http/latch@0.1.0`: the latch +- `componentized:http/latch@0.1.1-dev`: the latch diff --git a/components/latch-scheme/README.md b/components/latch-scheme/README.md index a767795..dcd94f2 100644 --- a/components/latch-scheme/README.md +++ b/components/latch-scheme/README.md @@ -25,4 +25,4 @@ Imports: Exports: -- `componentized:http/latch@0.1.0`: the latch +- `componentized:http/latch@0.1.1-dev`: the latch diff --git a/components/latch-trace/README.md b/components/latch-trace/README.md index a7b882f..dc393aa 100644 --- a/components/latch-trace/README.md +++ b/components/latch-trace/README.md @@ -31,8 +31,8 @@ Imports: - `wasi:logging/logging@0.1.0-draft`: logs the decisions of the wrapped latch - `wasi:http/types@0.3.0`: the requests being authorized -- `componentized:http/latch@0.1.0`: the wrapped latch +- `componentized:http/latch@0.1.1-dev`: the wrapped latch Exports: -- `componentized:http/latch@0.1.0`: the latch +- `componentized:http/latch@0.1.1-dev`: the latch diff --git a/components/status-codes/wit/status-codes.constants.wit b/components/status-codes/wit/status-codes.constants.wit index 0b64ea2..673657b 100644 --- a/components/status-codes/wit/status-codes.constants.wit +++ b/components/status-codes/wit/status-codes.constants.wit @@ -1,5 +1,5 @@ package componentized:http-component; world status-codes { - export componentized:http/status-codes@0.1.0; + export componentized:http/status-codes@0.1.1-dev; } diff --git a/components/wit/worlds.wit b/components/wit/worlds.wit index 27860dc..f64ee41 100644 --- a/components/wit/worlds.wit +++ b/components/wit/worlds.wit @@ -2,11 +2,11 @@ package componentized:components; world client { import wasi:http/client@0.3.0; - export componentized:http/client@0.1.0; + export componentized:http/client@0.1.1-dev; } world gate-client { - import componentized:http/latch@0.1.0; + import componentized:http/latch@0.1.1-dev; import wasi:config/store@0.2.0-rc.1; import wasi:logging/logging@0.1.0-draft; import wasi:http/client@0.3.0; @@ -14,7 +14,7 @@ world gate-client { } world gate-handler { - import componentized:http/latch@0.1.0; + import componentized:http/latch@0.1.1-dev; import wasi:config/store@0.2.0-rc.1; import wasi:logging/logging@0.1.0-draft; import wasi:http/handler@0.3.0; @@ -25,23 +25,23 @@ world latch { import wasi:config/store@0.2.0-rc.1; import wasi:logging/logging@0.1.0-draft; import wasi:random/insecure@0.3.0; - import componentized:http/latch@0.1.0; - export componentized:http/latch@0.1.0; + import componentized:http/latch@0.1.1-dev; + export componentized:http/latch@0.1.1-dev; } world latch-n { - export componentized:http/latch@0.1.0; - import latch0: componentized:http/latch@0.1.0; - import latch1: componentized:http/latch@0.1.0; - import latch2: componentized:http/latch@0.1.0; - import latch3: componentized:http/latch@0.1.0; - import latch4: componentized:http/latch@0.1.0; + export componentized:http/latch@0.1.1-dev; + import latch0: componentized:http/latch@0.1.1-dev; + import latch1: componentized:http/latch@0.1.1-dev; + import latch2: componentized:http/latch@0.1.1-dev; + import latch3: componentized:http/latch@0.1.1-dev; + import latch4: componentized:http/latch@0.1.1-dev; } world trace-componentized-client { - import componentized:http/client@0.1.0; + import componentized:http/client@0.1.1-dev; import wasi:logging/logging@0.1.0-draft; - export componentized:http/client@0.1.0; + export componentized:http/client@0.1.1-dev; } world trace-types { diff --git a/crates/test-harness/src/latch.rs b/crates/test-harness/src/latch.rs index a7d09ae..9856425 100644 --- a/crates/test-harness/src/latch.rs +++ b/crates/test-harness/src/latch.rs @@ -198,7 +198,7 @@ pub(crate) fn add_to_linker(linker: &mut Linker) -> Result<()> { /// The most latches a `latch-n` component aggregates. pub(crate) const LATCH_N_MAX: usize = 5; -const LATCH_INTERFACE: &str = "componentized:http/latch@0.1.0"; +const LATCH_INTERFACE: &str = "componentized:http/latch@0.1.1-dev"; /// Whether the latch component imports a latch, which it wraps. pub(crate) fn imports_latch(latch: &[u8]) -> Result { diff --git a/crates/test-harness/src/lib.rs b/crates/test-harness/src/lib.rs index e1bd84e..43dca35 100644 --- a/crates/test-harness/src/lib.rs +++ b/crates/test-harness/src/lib.rs @@ -46,7 +46,7 @@ pub mod gate_bindings { package componentized:test-harness-gate; world gate { - import componentized:http/latch@0.1.0; + import componentized:http/latch@0.1.1-dev; import wasi:config/store@0.2.0-rc.1; import wasi:logging/logging@0.1.0-draft; export wasi:http/client@0.3.0; @@ -75,8 +75,8 @@ pub mod bindings { world harness { import wasi:logging/logging@0.1.0-draft; - import componentized:http/client@0.1.0; - export componentized:http/client@0.1.0; + import componentized:http/client@0.1.1-dev; + export componentized:http/client@0.1.1-dev; export wasi:http/types@0.3.0; export wasi:http/client@0.3.0; export wasi:http/handler@0.3.0; diff --git a/wit/worlds.wit b/wit/worlds.wit index c3e0721..cddfe8c 100644 --- a/wit/worlds.wit +++ b/wit/worlds.wit @@ -1,4 +1,4 @@ -package componentized:http@0.1.0; +package componentized:http@0.1.1-dev; world imports { import client;