Tags: abitofhelp/functional
Tags
chore: Prepare release 2.1.1 - Update version in alire.toml (2.1.0 → 2.1.1) - Update version package (Patch 0 → 1) - Move [Unreleased] content to [2.1.1] in CHANGELOG - Update version references in documentation Release notes: - Added test build mode to functional.gpr for downstream compatibility
feat!: Redesign Try module for universal Result type compatibility BREAKING CHANGES: - Renamed Functional.Try.To_Result → Functional.Try.Try_To_Result - Renamed Functional.Try.To_Option → Functional.Try.Try_To_Functional_Option - Removed child packages Functional.Try.To_Result and Functional.Try.To_Option - Consolidated all Try functions into single Functional.Try package Added: - Try_To_Result: General bridge for ANY Result type (domain-specific, custom) - Try_To_Functional_Result: Convenience wrapper for Functional.Result types - Try_To_Functional_Option: Convenience wrapper for Functional.Option types - Generic parameters allow custom Ok/Err constructors for maximum flexibility - Comprehensive documentation with infrastructure boundary examples Changed: - Try module now supports domain Result types, not just Functional.Result - Architecture enables clean separation: domain has no functional dependency - Pattern demonstrated in tzif project with Domain.Error.Result.From_Error Documentation: - Updated README with new Try API and detailed examples - Updated CHANGELOG with migration guide (1.0.0 → 2.0.0) - Added Try module usage section in README - Deleted redundant RESTRICTIONS.md and EMBEDDED_RESTRICTIONS_SOLUTION.md Version: 2.0.0 All tests pass (83/83) Zero warnings, zero errors