Skip to content

Latest commit

 

History

History
364 lines (276 loc) · 21.9 KB

CHANGELOG.md

File metadata and controls

364 lines (276 loc) · 21.9 KB

v0.35.0 - 2025-01-24

Breaking Change: Rename the Path::name field to Path::path, and make it have the entire path. This effectively reverts the previous release, as it was not possible for many consumers to migrate (rust#135799).

v0.34.0 - 2025-01-15

Breaking Change: The Path::name field now only holds item name rather than the full path. Users needing the full path can find it in the Crate::paths map (rust#134880).

No changes were made to the schema (i.e. the public api for this crate is unchanged), but the format version has been bumped, as this may effect consuming tools regardless.

v0.33.0 - 2024-12-03

Breaking Change: Add new is_unsafe field in Static struct (rust#133715).

v0.32.2 - 2024-10-23

Library Improvement: ItemKind, TraitBoundModifier, and MacroKind all now implement Copy (rust#131976).

v0.32.1 - 2024-10-20

New Feature: The optional rustc-hash cargo feature has been added. This changes the hashing algorithm used to a speedy non-cryptographic hashing algorith also used in rustc. This has lead to modest but appreciable performace gains for some consumers (#42, rust#131936).

v0.32.0 - 2024-10-17

Breaking Change: Rename Trait::is_object_safe to is_dyn_compatible. This is a part of a language wide rename to make the term explain its meaning (rust#131595).

v0.31.0 - 2024-10-13

Breaking Change: The Id type now wraps a u32 instead of a String. The should hopefully increase performance (rust#130078).

Documentation Improvement: Remove false claim from ProcMacro::helpers docs (rust#130939).

v0.30.0 - 2024-09-13

Breaking Change: Many structs and fields have been renamed (rust#128667):

  • Import is now Use, to better reflect the syntax and the reference.
  • TypeBinding is now AssocItemConstraint, to reflect that it can also work on associated constants, and that it can either require the associated item to equal a term, or satisfy bounds.
    • Similarly, TypeBindingKind is now AssocItemConstraintKind
    • bindings has been renamed to constraints on GenericArgs::AngleBracketed
  • ForeignType has been renamed to ExternType, because that's what the feature is called. "Foreign" refers to types that aren't from the current crate, whereas Extern Types are entirely opaque to the type system (and may be in the current crate).
  • ItemEnum::AssocConst and ItemEnum::AssocType's default field has been renamed to value, to clarify that they can appear in both an impl and trait item.
  • Header is now FunctionHeader, to be clearer what it is.
  • FnDecl is now FunctionSignature, as it's also used for FunctionPointer types (and not just function items).
    • decl field is now sig
  • Boolean fields are now is_ or has_ prefixed for clarity:
    • fields_stripped is now has_fields_stripped
    • variants_stripped is now has_stripped_variants
    • const_ is now is_const
    • async_ is now is_async
    • unsafe_ is now is_unsafe
    • synthetic is now is_synthetic
    • mutable is now is_mutable
    • c_variadic is now is_c_variadic
    • negative is now is_negative
    • glob is now is_glob

v0.29.1 - 2024-08-13

Documentation Improvements: Typo fixes (rust#128903, #29).

v0.29.0 - 2024-08-01

Note

Due to a mistake, this version was never published to crates.io. Users can use v0.29.1 instead.

Breaking Change: Removed OpaqueTy, ItemKind::OpaqueTy and ItemEnum::OpaqueTy. These were only generated with rarely used nightly features, so almost all documents will be unaffected (rust#127276).

v0.28.1 - 2024-08-01

Documentation Improvements: The library is now (almost) entirely documented (rust#127290)!

v0.28.0 - 2024-07-18

Breaking Change: Add GenericBound::Use for the (currently unstable) precise_capturing feature (rust#127632).

v0.27.0 - 2024-07-04

Breaking Change: WherePredicate::RegionPredicate has been renamed to LifetimePredicate, to avoid compiler-internal terminology. The bounds field has been renamed to outlives, and changed from Vec<GenericBound> to Vec<String>, because the only bound that lifetimes can have is that they outlife other lifetimes (rust#127289).

v0.26.0 - 2024-06-06

Breaking Change: Remove type_ from Constant, and add it to ItemEnum::Constant (rust#125958).

Documentation Improvements: rust#125130, rust#124322.

v0.25.0 - 2024-04-19

Breaking Change: Add Type::Pat for unstable pattern types. (rust#120131)

v0.24.0 - 2023-12-23

Breaking Change: Trait now includes the is_object_safe field. (rust#119246)

Internal Improvement: The scripts to generate the changelog have been revamped to allow hand-written information in the changelog, and to make the release process easier.

v0.23.0 - 2023-08-23

Breaking Change: Typedef has been renamed to TypeAlias, as this is what people (and the reference) generally call these items. (rust#115078)

v0.22.0 - 2023-05-23

Breaking Change: All enums now use external tagging. No change is required to move to this version (all all the types are the same), but it won't be able to read JSON files from older rustdoc versions, as enums will be represented differently. This change allows using non-self-describing serde serializers (like bincode), although rustdoc itself won't generate these. (rust#111427)

v0.21.0 - 2023-05-13

Breaking Change: Type::QualifiedPath.trait_ is now an Option<Path> (instead of path). This is to support the (currently unstable) inherent associated types feature. (rust#109410)

v0.20.0 - 2023-01-03

Breaking Change: Variant has been split into Variant and VariantKind, so the Discriminant can always be reported. Previously, it could only be reported for a plain enum variant (i.e. one with no fields or braces). (rust#106354)

v0.19.0 - 2022-11-21

v0.18.0 - 2022-09-27

v0.17.0 - 2022-09-08

v0.16.0 - 2022-09-07

v0.15.0 - 2022-09-05

v0.14.0 - 2022-08-15

v0.13.1 - 2022-08-10

v0.13.0 - 2022-08-09

v0.12.0 - 2022-07-18

v0.11.0 - 2022-05-18

v0.10.0 - 2022-03-14

v0.9.0 - 2022-03-12

v0.8.0 - 2022-03-04

v0.7.0 - 2022-02-24

v0.6.0 - 2022-02-01

v0.5.0 - 2021-10-16

v0.4.0 - 2021-09-06

v0.3 - 2021-06-25

v0.2.0 - 2021-01-23

v0.1.0 - 2020-12-06