zed_extension_api: Release v0.5.0 (#29802)
This PR releases v0.5.0 of the Zed extension API. Support for this version of the extension API will land in Zed v0.186.x. Release Notes: - N/A
This commit is contained in:
parent
9efc09c5a6
commit
9147f89257
4 changed files with 4 additions and 7 deletions
|
@ -62,7 +62,7 @@ pub fn wasm_api_version_range(release_channel: ReleaseChannel) -> RangeInclusive
|
|||
|
||||
let max_version = match release_channel {
|
||||
ReleaseChannel::Dev | ReleaseChannel::Nightly => latest::MAX_VERSION,
|
||||
ReleaseChannel::Stable | ReleaseChannel::Preview => since_v0_4_0::MAX_VERSION,
|
||||
ReleaseChannel::Stable | ReleaseChannel::Preview => latest::MAX_VERSION,
|
||||
};
|
||||
|
||||
since_v0_0_1::MIN_VERSION..=max_version
|
||||
|
@ -113,8 +113,6 @@ impl Extension {
|
|||
let _ = release_channel;
|
||||
|
||||
if version >= latest::MIN_VERSION {
|
||||
authorize_access_to_unreleased_wasm_api_version(release_channel)?;
|
||||
|
||||
let extension =
|
||||
latest::Extension::instantiate_async(store, component, latest::linker())
|
||||
.await
|
||||
|
|
|
@ -8,7 +8,6 @@ use wasmtime::component::{Linker, Resource};
|
|||
use super::latest;
|
||||
|
||||
pub const MIN_VERSION: SemanticVersion = SemanticVersion::new(0, 4, 0);
|
||||
pub const MAX_VERSION: SemanticVersion = SemanticVersion::new(0, 4, 0);
|
||||
|
||||
wasmtime::component::bindgen!({
|
||||
async: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue