From b362f43ff2b632a2f2eb191cc75ffa7f681bff8f Mon Sep 17 00:00:00 2001 From: Roman Volosatovs Date: Fri, 17 Jan 2025 12:14:49 +0100 Subject: [PATCH] chore(0.3): bump `@since` gates to `0.3.0` Signed-off-by: Roman Volosatovs --- wit-0.3.0-draft/insecure-seed.wit | 4 ++-- wit-0.3.0-draft/insecure.wit | 6 +++--- wit-0.3.0-draft/random.wit | 6 +++--- wit-0.3.0-draft/world.wit | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/wit-0.3.0-draft/insecure-seed.wit b/wit-0.3.0-draft/insecure-seed.wit index 66a4694..4708d90 100644 --- a/wit-0.3.0-draft/insecure-seed.wit +++ b/wit-0.3.0-draft/insecure-seed.wit @@ -3,7 +3,7 @@ package wasi:random@0.3.0; /// /// It is intended to be portable at least between Unix-family platforms and /// Windows. -@since(version = 0.2.0) +@since(version = 0.3.0) interface insecure-seed { /// Return a 128-bit value that may contain a pseudo-random value. /// @@ -22,6 +22,6 @@ interface insecure-seed { /// This will likely be changed to a value import, to prevent it from being /// called multiple times and potentially used for purposes other than DoS /// protection. - @since(version = 0.2.0) + @since(version = 0.3.0) insecure-seed: func() -> tuple; } diff --git a/wit-0.3.0-draft/insecure.wit b/wit-0.3.0-draft/insecure.wit index 7f2b86f..4ea5e58 100644 --- a/wit-0.3.0-draft/insecure.wit +++ b/wit-0.3.0-draft/insecure.wit @@ -3,7 +3,7 @@ package wasi:random@0.3.0; /// /// It is intended to be portable at least between Unix-family platforms and /// Windows. -@since(version = 0.2.0) +@since(version = 0.3.0) interface insecure { /// Return `len` insecure pseudo-random bytes. /// @@ -13,13 +13,13 @@ interface insecure { /// There are no requirements on the values of the returned bytes, however /// implementations are encouraged to return evenly distributed values with /// a long period. - @since(version = 0.2.0) + @since(version = 0.3.0) get-insecure-random-bytes: func(len: u64) -> list; /// Return an insecure pseudo-random `u64` value. /// /// This function returns the same type of pseudo-random data as /// `get-insecure-random-bytes`, represented as a `u64`. - @since(version = 0.2.0) + @since(version = 0.3.0) get-insecure-random-u64: func() -> u64; } diff --git a/wit-0.3.0-draft/random.wit b/wit-0.3.0-draft/random.wit index 5edfa2b..786ef25 100644 --- a/wit-0.3.0-draft/random.wit +++ b/wit-0.3.0-draft/random.wit @@ -3,7 +3,7 @@ package wasi:random@0.3.0; /// /// It is intended to be portable at least between Unix-family platforms and /// Windows. -@since(version = 0.2.0) +@since(version = 0.3.0) interface random { /// Return `len` cryptographically-secure random or pseudo-random bytes. /// @@ -17,13 +17,13 @@ interface random { /// This function must always return fresh data. Deterministic environments /// must omit this function, rather than implementing it with deterministic /// data. - @since(version = 0.2.0) + @since(version = 0.3.0) get-random-bytes: func(len: u64) -> list; /// Return a cryptographically-secure random or pseudo-random `u64` value. /// /// This function returns the same type of data as `get-random-bytes`, /// represented as a `u64`. - @since(version = 0.2.0) + @since(version = 0.3.0) get-random-u64: func() -> u64; } diff --git a/wit-0.3.0-draft/world.wit b/wit-0.3.0-draft/world.wit index d01746d..838d380 100644 --- a/wit-0.3.0-draft/world.wit +++ b/wit-0.3.0-draft/world.wit @@ -1,13 +1,13 @@ package wasi:random@0.3.0; -@since(version = 0.2.0) +@since(version = 0.3.0) world imports { - @since(version = 0.2.0) + @since(version = 0.3.0) import random; - @since(version = 0.2.0) + @since(version = 0.3.0) import insecure; - @since(version = 0.2.0) + @since(version = 0.3.0) import insecure-seed; }