zed_extension_api: Release v0.3.0 (#26495)
This PR releases v0.3.0 of the Zed extension API. Support for this version of the extension API will land in Zed v0.178.x. Release Notes: - N/A
This commit is contained in:
parent
a364a13458
commit
96510b72b8
4 changed files with 4 additions and 5 deletions
|
@ -6,8 +6,7 @@ repository = "https://github.com/zed-industries/zed"
|
||||||
documentation = "https://docs.rs/zed_extension_api"
|
documentation = "https://docs.rs/zed_extension_api"
|
||||||
keywords = ["zed", "extension"]
|
keywords = ["zed", "extension"]
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
# Change back to `true` when we're ready to publish v0.3.0.
|
publish = true
|
||||||
publish = false
|
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|
|
@ -23,7 +23,7 @@ need to set your `crate-type` accordingly:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
zed_extension_api = "0.1.0"
|
zed_extension_api = "0.3.0"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib"]
|
||||||
|
@ -63,6 +63,7 @@ Here is the compatibility of the `zed_extension_api` with versions of Zed:
|
||||||
|
|
||||||
| Zed version | `zed_extension_api` version |
|
| Zed version | `zed_extension_api` version |
|
||||||
| ----------- | --------------------------- |
|
| ----------- | --------------------------- |
|
||||||
|
| `0.178.x` | `0.0.1` - `0.3.0` |
|
||||||
| `0.162.x` | `0.0.1` - `0.2.0` |
|
| `0.162.x` | `0.0.1` - `0.2.0` |
|
||||||
| `0.149.x` | `0.0.1` - `0.1.0` |
|
| `0.149.x` | `0.0.1` - `0.1.0` |
|
||||||
| `0.131.x` | `0.0.1` - `0.0.6` |
|
| `0.131.x` | `0.0.1` - `0.0.6` |
|
||||||
|
|
|
@ -59,7 +59,7 @@ pub fn wasm_api_version_range(release_channel: ReleaseChannel) -> RangeInclusive
|
||||||
|
|
||||||
let max_version = match release_channel {
|
let max_version = match release_channel {
|
||||||
ReleaseChannel::Dev | ReleaseChannel::Nightly => latest::MAX_VERSION,
|
ReleaseChannel::Dev | ReleaseChannel::Nightly => latest::MAX_VERSION,
|
||||||
ReleaseChannel::Stable | ReleaseChannel::Preview => since_v0_2_0::MAX_VERSION,
|
ReleaseChannel::Stable | ReleaseChannel::Preview => latest::MAX_VERSION,
|
||||||
};
|
};
|
||||||
|
|
||||||
since_v0_0_1::MIN_VERSION..=max_version
|
since_v0_0_1::MIN_VERSION..=max_version
|
||||||
|
|
|
@ -8,7 +8,6 @@ use wasmtime::component::{Linker, Resource};
|
||||||
use super::latest;
|
use super::latest;
|
||||||
|
|
||||||
pub const MIN_VERSION: SemanticVersion = SemanticVersion::new(0, 2, 0);
|
pub const MIN_VERSION: SemanticVersion = SemanticVersion::new(0, 2, 0);
|
||||||
pub const MAX_VERSION: SemanticVersion = SemanticVersion::new(0, 2, 0);
|
|
||||||
|
|
||||||
wasmtime::component::bindgen!({
|
wasmtime::component::bindgen!({
|
||||||
async: true,
|
async: true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue