Skip to content

Enhance and clean up by AI Agents

Choose a tag to compare

@luk036 luk036 released this 01 May 07:03
· 83 commits to master since this release

fractions-cpp v1.1.1 Release Notes

This is a patch release focused on build stability, dependency upgrades, code quality, and AI agent tooling for the fractions‑cpp C++ fraction arithmetic library.


🚀 What’s New

  • Added agentic coding guidelines (AGENTS.md) for AI‑assisted development
  • Added iFlow context documentation (IFLOW.md)
  • Added Python AI integration directory (python_ai/)
  • Added Rust AI integration directory (rust_ai/) with property‑based tests
  • Added svgbob math diagrams in documentation
  • Expanded unit tests & property‑based test coverage

🔧 Build & Tooling Improvements

  • Bumped project version to 1.1.1
  • Upgraded fmt from 10.2.1 → 12.1.0
  • Upgraded spdlog from older version → 1.17.0
  • Fixed Termux build issues (xmake + compiler flags)
  • Fixed macOS build
  • Fixed CI pipeline failures
  • Added ‑Wno‑deprecated‑literal‑operator for Termux compatibility
  • Unified code formatting with clang‑format / cmake‑format (fix‑format)

✨ Code Quality & Refactoring

  • Replaced push_back() / std::endl → emplace_back() / '\n'
  • Updated test assertions: CHECK() → CHECK_EQ(), CHECK_NE(), CHECK_FALSE(), CHECK_LT(), etc.
  • Enforced variable names ≥ 3 characters
  • Removed trailing whitespace
  • Standardized header naming & class naming:
    • Fraction → FastFraction → ExtFraction
    • fractions.hpp → fastfractions.hpp → restored main fractions.hpp
  • Reduced overflow risks in pyfractions.hpp
  • Cleaned up unused fields & build artifacts

📚 Documentation

  • Added/updated Doxygen‑style document comments (via OpenCode + MiniMax M2.5)
  • Improved inline math formulas with svgbob
  • Updated project overview in GEMINI.md

🧪 Testing

  • Added stress tests
  • Added property‑based tests (Rust & C++)
  • Expanded unit test coverage
  • Fixed test consistency across platforms

📦 Dependencies

  • fmt: 12.1.0
  • spdlog: 1.17.0
  • doctest: 2.4.11
  • RapidCheck (property tests)

🛠 Compatibility

  • C++11 (core) / C++17 (tests)
  • CMake 3.14–3.22
  • Tested on Linux, macOS, Android (Termux)

Contributors

  • luk036
  • iFlow
  • Gemini CLI
  • OpenCode + MiniMax M2.5

Full Changelog: 1.1...1.1.1