Skip to content

Commit 732ba70

Browse files
committed
Bump version to 0.28.4-beta
Update changelog and breaking notes for the Tip display fix (parameterized strategy type name now shown correctly in show output).
1 parent 0ddbd8b commit 732ba70

3 files changed

Lines changed: 29 additions & 1 deletion

File tree

BREAKING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
This document outlines all breaking changes introduced in CTBase v0.18.0-beta compared to v0.17.4. Use this guide to migrate your code and understand the impact of these changes.
44

5+
## Non-breaking note (0.28.4-beta)
6+
7+
- **`Strategies`: Tip line in `show` now displays the parameterized type
8+
name.** The `Base.show(io, MIME"text/plain", strategy)` method previously
9+
used `type_name` (`nameof(T)`) in the Tip message, causing parameterized
10+
instances like `DifferentiationInterface{GPU}()` to show
11+
`describe(DifferentiationInterface)` instead of
12+
`describe(DifferentiationInterface{GPU})`. The fix replaces `type_name`
13+
with `display_name`, which already includes the parameter. **No breaking
14+
change**: purely a display fix with no API or behavior change beyond the
15+
corrected Tip text. No migration required.
16+
517
## Non-breaking note (0.28.3-beta)
618

719
- **`Differentiation`: `build_ad_backend` removed from the public API.**

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@ All notable changes to CTBase will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.28.4-beta] - 2026-07-23
9+
10+
### 🐛 Bug Fixes
11+
12+
#### **Strategies** — Tip line in `show` now shows parameterized type name
13+
14+
- **`Base.show(io, MIME"text/plain", strategy)`**: the Tip message now uses
15+
`display_name` (which includes the parameter, e.g.
16+
`DifferentiationInterface{GPU}`) instead of `type_name` (just
17+
`nameof(T)`). Previously, a parameterized strategy instance like
18+
`DifferentiationInterface{GPU}()` would display
19+
`Tip: use describe(DifferentiationInterface)` instead of
20+
`Tip: use describe(DifferentiationInterface{GPU})`.
21+
- Added tests with a fake parameterized strategy to verify both the
22+
non-parameterized and parameterized cases.
23+
824
## [0.28.3-beta] - 2026-07-22
925

1026
### 🛠 Enhancements

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "CTBase"
22
uuid = "54762871-cc72-4466-b8e8-f6c8b58076cd"
3-
version = "0.28.3-beta"
3+
version = "0.28.4-beta"
44
authors = ["Olivier Cots <olivier.cots@irit.fr>", "Jean-Baptiste Caillau <caillau@univ-cotedazur.fr>"]
55

66
[deps]

0 commit comments

Comments
 (0)