Skip to content

Commit 33243c4

Browse files
committed
v0.49.0
1 parent cdf19b5 commit 33243c4

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
1+
<a name="v0.49.0"></a>
2+
# [v0.49.0](https://github.com/rust-lang/rustdoc-types/releases/tag/v0.49.0) - 2025-06-23
3+
4+
**Breaking Change(??)**: `#[optimize(size)]` in `Item::attrs` is now `"#[attr = Optimize(Size)]"`, instead of `"#[optimize(size)]"`
5+
([rust#138291](https://github.com/rust-lang/rust/pull/138291)).
6+
7+
- Format Version: 49
8+
- Upstream Commit: [`3c418ec505233927d562ff906d8eea309aee1905`](https://github.com/rust-lang/rust/commit/3c418ec505233927d562ff906d8eea309aee1905)
9+
- Diff: [v0.48.0...v0.49.0](https://github.com/rust-lang/rustdoc-types/compare/v0.48.0...v0.49.0)
10+
111
<a name="v0.48.0"></a>
212
# [v0.48.0](https://github.com/rust-lang/rustdoc-types/releases/tag/v0.48.0) - 2025-06-19
313

414
**Breaking Change(??)**: `#[inline]` in `Item::attrs` as `"#[attr =
5-
Inline(Hint)]"`, instead of `#["inline"]`
15+
Inline(Hint)]"`, instead of `"#[inline]"`
616
([rust#138165](https://github.com/rust-lang/rust/pull/138165)).
717

818

COMMIT.txt

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

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.48.0"
3+
version = "0.49.0"
44
edition = "2018"
55
license = "MIT OR Apache-2.0"
66
description = "Types for rustdoc's json output"

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ use serde_derive::{Deserialize, Serialize};
3636
// will instead cause conflicts. See #94591 for more. (This paragraph and the "Latest feature" line
3737
// are deliberately not in a doc comment, because they need not be in public docs.)
3838
//
39-
// Latest feature: Pretty printing of inline attributes changed
40-
pub const FORMAT_VERSION: u32 = 48;
39+
// Latest feature: Pretty printing of optimize attributes changed
40+
pub const FORMAT_VERSION: u32 = 49;
4141

4242
/// The root of the emitted JSON blob.
4343
///

0 commit comments

Comments
 (0)