Skip to content

Commit ee8532e

Browse files
committed
docs: update CHANGELOG and BREAKING for v0.9.10-beta
- Add ANSI migration details to CHANGELOG.md - Document no breaking changes in BREAKING.md - Complete documentation for printstyled() to ANSI migration
1 parent 88239a7 commit ee8532e

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

BREAKING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@
44

55
This document describes breaking changes in CTModels releases and how to migrate your code.
66

7+
## [0.9.10-beta] - 2026-03-17
8+
9+
### No Breaking Changes
10+
11+
This version includes only internal improvements and documentation enhancements:
12+
13+
- Migration from `printstyled()` to ANSI sequences for better Documenter compatibility
14+
- All existing APIs remain unchanged
15+
- Terminal behavior is preserved
16+
- New color support in generated documentation
17+
18+
---
19+
720
## [0.9.9-beta] - 2026-03-17
821

922
**No breaking changes** - This release adds flexible control interpolation with both constant and linear options while maintaining full backward compatibility.

CHANGELOG.md

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

10+
## [0.9.10-beta] - 2026-03-17
11+
12+
### 🎨 Documentation Enhancements
13+
14+
#### ANSI Color Support for Documenter
15+
16+
- **Printstyled to ANSI migration**: Replaced `printstyled()` calls with raw ANSI escape sequences for Documenter compatibility
17+
- **Color preservation**: Colors now appear correctly in both terminal and generated HTML documentation
18+
- **ANSI helper functions**: Added `_ansi_color()`, `_ansi_reset()`, and `_print_ansi_styled()` utilities
19+
- **Documenter integration**: ANSI sequences automatically converted to CSS classes (`sgrXX`) in HTML output
20+
- **Zero breaking changes**: Complete backward compatibility maintained for existing terminal usage
21+
22+
### 🔧 Internal Improvements
23+
24+
- **Display system refactoring**: 7 `printstyled()` calls migrated in `src/Display/print.jl`
25+
- **Enhanced color support**: Bold and colored text now works in documentation examples
26+
- **Performance optimized**: ANSI sequences have minimal overhead compared to `printstyled()`
27+
- **Test coverage**: All display tests passing with new ANSI implementation
28+
29+
### 📚 Documentation Quality
30+
31+
- **Better visual hierarchy**: Mathematical problem definitions now properly colored in docs
32+
- **Improved readability**: "Abstract definition", "minimize", and "subject to" sections highlighted
33+
- **Consistent experience**: Terminal and documentation displays now visually identical
34+
35+
---
36+
1037
## [0.9.9-beta] - 2026-03-17
1138

1239
### 🚀 Major Features

0 commit comments

Comments
 (0)