@@ -38,7 +38,7 @@ const WASI_HTTP_EXPORT_2023_11_10: &str = "wasi:http/incoming-handler@0.2.0-rc-2
3838/// The `incoming-handler` export prefix for all `wasi:http` 0.2 versions
3939const WASI_HTTP_EXPORT_0_2_PREFIX : & str = "wasi:http/incoming-handler@0.2" ;
4040/// The `handler` export `wasi:http` version 0.3.0-rc-2025-08-15
41- const WASI_HTTP_EXPORT_0_3_0_RC_2025_09_16 : & str = "wasi:http/handler@0.3.0-rc-2025-09-16 " ;
41+ const WASI_HTTP_EXPORT_0_3_0_UNSTABLE : & str = "wasi:http/handler@0.3.0-rc-2026-01-06 " ;
4242/// The `inbound-http` export for `fermyon:spin`
4343const SPIN_HTTP_EXPORT : & str = "fermyon:spin/inbound-http" ;
4444
@@ -76,7 +76,7 @@ impl<T, S: HandlerState<StoreData = T>> HandlerType<S> {
7676 `{WASI_HTTP_EXPORT_2023_10_18}`, \
7777 `{WASI_HTTP_EXPORT_2023_11_10}`, \
7878 `{WASI_HTTP_EXPORT_0_2_PREFIX}.*`, \
79- `{WASI_HTTP_EXPORT_0_3_0_RC_2025_09_16 }`, \
79+ `{WASI_HTTP_EXPORT_0_3_0_UNSTABLE }`, \
8080 or `{SPIN_HTTP_EXPORT}` but it exported none of those. \
8181 This may mean the component handles a different trigger, or that its `wasi:http` export is newer then those supported by Spin. \
8282 If you're sure this is an HTTP module, check if a Spin upgrade is available: this may handle the newer version."
@@ -102,7 +102,7 @@ impl<T, S: HandlerState<StoreData = T>> HandlerType<S> {
102102 }
103103 ( HandlerType :: Wasi0_3 ( _) , Some ( _) | None ) => {
104104 anyhow:: bail!(
105- "`{WASI_HTTP_EXPORT_0_3_0_RC_2025_09_16 }` is currently unstable and will be \
105+ "`{WASI_HTTP_EXPORT_0_3_0_UNSTABLE }` is currently unstable and will be \
106106 removed in a future Spin release. You can opt-in to this unstable interface \
107107 by adding `executor = {{ type = \" wasip3-unstable\" }}` to the appropriate \
108108 `[[trigger.http]]` section of your spin.toml file."
@@ -111,7 +111,7 @@ impl<T, S: HandlerState<StoreData = T>> HandlerType<S> {
111111 ( handler_type, Some ( HttpExecutorType :: Wasip3Unstable ) ) => {
112112 anyhow:: bail!(
113113 "The wasip3-unstable trigger executor expected a component that \
114- exports `{WASI_HTTP_EXPORT_0_3_0_RC_2025_09_16 }` but found a \
114+ exports `{WASI_HTTP_EXPORT_0_3_0_UNSTABLE }` but found a \
115115 component with type {name}",
116116 name = handler_type. name( ) ,
117117 )
@@ -124,7 +124,7 @@ impl<T, S: HandlerState<StoreData = T>> HandlerType<S> {
124124 match self {
125125 HandlerType :: Spin => SPIN_HTTP_EXPORT ,
126126 HandlerType :: Wasi0_2 ( _) => WASI_HTTP_EXPORT_0_2_PREFIX ,
127- HandlerType :: Wasi0_3 ( _) => WASI_HTTP_EXPORT_0_3_0_RC_2025_09_16 ,
127+ HandlerType :: Wasi0_3 ( _) => WASI_HTTP_EXPORT_0_3_0_UNSTABLE ,
128128 HandlerType :: Wasi2023_11_10 ( _) => WASI_HTTP_EXPORT_2023_11_10 ,
129129 HandlerType :: Wasi2023_10_18 ( _) => WASI_HTTP_EXPORT_2023_10_18 ,
130130 _ => unreachable ! ( ) , // WAGI variant will never appear here
0 commit comments