Skip to content

Commit be0c2d4

Browse files
committed
v0.48.0
1 parent da48b64 commit be0c2d4

File tree

4 files changed

+28
-3
lines changed

4 files changed

+28
-3
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
<a name="v0.48.0"></a>
2+
# [v0.48.0](https://github.com/rust-lang/rustdoc-types/releases/tag/v0.48.0) - 2025-06-19
3+
4+
**Breaking Change(??)**: `#[inline]` in `Item::attrs` as `"#[attr =
5+
Inline(Hint)]"`, instead of `#["inline"]`
6+
([rust#138165](https://github.com/rust-lang/rust/pull/138165)).
7+
8+
9+
> [!NOTE]
10+
> Due to a mistake, format version 47/rustdoc-types 0.47.0 was skipped, and will
11+
> never exist see [here](https://github.com/rust-lang/rust/pull/138165#discussion_r2157457743)
12+
> for details.
13+
14+
- Format Version: 48
15+
- Upstream Commit: [`81f8b570b9dd5d7bef27e1f1391dc73eb8fa4ff6`](https://github.com/rust-lang/rust/commit/81f8b570b9dd5d7bef27e1f1391dc73eb8fa4ff6)
16+
- Diff: [v0.46.1...v0.48.0](https://github.com/rust-lang/rustdoc-types/compare/v0.46.1...v0.48.0)
17+
118
<a name="v0.46.1"></a>
219
# [v0.46.1](https://github.com/rust-lang/rustdoc-types/releases/tag/v0.46.1) - 2025-06-05
320

COMMIT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
763663ad56672b0f0635ad25c0c1a52e7773e0b9
1+
81f8b570b9dd5d7bef27e1f1391dc73eb8fa4ff6

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustdoc-types"
3-
version = "0.46.1"
3+
version = "0.48.0"
44
edition = "2018"
55
license = "MIT OR Apache-2.0"
66
description = "Types for rustdoc's json output"

src/lib.rs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,15 @@ use serde_derive::{Deserialize, Serialize};
2929
/// This integer is incremented with every breaking change to the API,
3030
/// and is returned along with the JSON blob as [`Crate::format_version`].
3131
/// Consuming code should assert that this value matches the format version(s) that it supports.
32-
pub const FORMAT_VERSION: u32 = 46;
32+
//
33+
// WARNING: When you update `FORMAT_VERSION`, please also update the "Latest feature" line with a
34+
// description of the change. This minimizes the risk of two concurrent PRs changing
35+
// `FORMAT_VERSION` from N to N+1 and git merging them without conflicts; the "Latest feature" line
36+
// will instead cause conflicts. See #94591 for more. (This paragraph and the "Latest feature" line
37+
// are deliberately not in a doc comment, because they need not be in public docs.)
38+
//
39+
// Latest feature: Pretty printing of inline attributes changed
40+
pub const FORMAT_VERSION: u32 = 48;
3341

3442
/// The root of the emitted JSON blob.
3543
///

0 commit comments

Comments
 (0)