Skip to content

Commit

Permalink
v0.32.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aDotInTheVoid committed Oct 17, 2024
1 parent 7fc07fa commit a8ab424
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="v0.32.0"></a>
# [v0.32.0](https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.32.0) - 2024-10-17


**Breaking Change**: Rename `Trait::is_object_same` to `is_dyn_compatible`. This is a part of a [language wide rename](https://github.com/rust-lang/rust/issues/130852) to [make the term explain its meaning](https://internals.rust-lang.org/t/object-safety-is-a-terrible-term/21025) ([rust#131595](https://github.com/rust-lang/rust/pull/131595)).

- Format Version: 36
- Upstream Commit: [`2e6f3bd1d32455e535de1d9ee154253c333aec73`](https://github.com/rust-lang/rust/commit/2e6f3bd1d32455e535de1d9ee154253c333aec73)
- Diff: [v0.31.0...v0.32.0](https://github.com/aDotInTheVoid/rustdoc-types/compare/v0.31.0...v0.32.0)

<a name="v0.31.0"></a>
# [v0.31.0](https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.31.0) - 2024-10-13

Expand Down
2 changes: 1 addition & 1 deletion COMMIT.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
05c0591321f9956c1f0df4785d3737f40cffb598
2e6f3bd1d32455e535de1d9ee154253c333aec73
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustdoc-types"
version = "0.31.0"
version = "0.32.0"
edition = "2018"
license = "MIT OR Apache-2.0"
description = "Types for rustdoc's json output"
Expand Down
9 changes: 6 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use serde::{Deserialize, Serialize};
/// This integer is incremented with every breaking change to the API,
/// and is returned along with the JSON blob as [`Crate::format_version`].
/// Consuming code should assert that this value matches the format version(s) that it supports.
pub const FORMAT_VERSION: u32 = 35;
pub const FORMAT_VERSION: u32 = 36;

/// The root of the emitted JSON blob.
///
Expand Down Expand Up @@ -1082,8 +1082,11 @@ pub struct Trait {
pub is_auto: bool,
/// Whether the trait is marked as `unsafe`.
pub is_unsafe: bool,
/// Whether the trait is [object safe](https://doc.rust-lang.org/reference/items/traits.html#object-safety).
pub is_object_safe: bool,
// FIXME(dyn_compat_renaming): Update the URL once the Reference is updated and hits stable.
/// Whether the trait is [dyn compatible](https://doc.rust-lang.org/reference/items/traits.html#object-safety)[^1].
///
/// [^1]: Formerly known as "object safe".
pub is_dyn_compatible: bool,
/// Associated [`Item`]s that can/must be implemented by the `impl` blocks.
pub items: Vec<Id>,
/// Information about the type parameters and `where` clauses of the trait.
Expand Down

0 comments on commit a8ab424

Please sign in to comment.