Skip to content

Modernize 2026 - #105

Merged
ctreffs merged 116 commits into
masterfrom
modernize-2026
Feb 12, 2026
Merged

Modernize 2026#105
ctreffs merged 116 commits into
masterfrom
modernize-2026

Conversation

@ctreffs

@ctreffs ctreffs commented Feb 11, 2026

Copy link
Copy Markdown
Member

Modernize 2026: Swift 6.1, Documentation & Workflows

This PR represents a comprehensive modernization of the Fireblade ECS project, bringing it up to date with the latest Swift standards (6.1), achieving near-100% documentation coverage, and standardizing the CI/CD pipeline.

1. Swift 6.1 Modernization

  • Language Update: Updated project to Swift 6.1.
  • Strict Concurrency: Addressed concurrency warnings and adopted strict checking where applicable.
  • Code Cleanup: Removed deprecated APIs and modernized syntax.
  • Generic Constraints: Updated generic constraints to align with modern Swift practices.
  • Benchmarks Optimization: Introduced benchmarks package trait to conditionally compile performance tests, reducing build times for standard users.

2. Comprehensive Documentation (Goal: 100%)

  • Full API Coverage: Systematically documented all public APIs, including Nexus, Entity, Family, and core component protocols.
  • Complexity Analysis: Added O(1), O(n), etc., complexity notes to performance-critical methods.
  • DocC Integration: Resolved all documentation compiler warnings.
  • Metrics: Achieved >95% documentation coverage across Globals, Members, and Types.

3. Workflow Standardization & CI/CD

  • Reference Implementation: Synchronized GitHub Actions with FirebladeMath standards.
  • New Platforms: Added ci-ios.yml for iOS simulator testing.
  • WASM Support: Aligned ci-wasm.yml with the standard workflow structure, targeting swift-6.1-RELEASE.
  • Documentation Pipeline:
    • Replaced documentation.yml with docs.yml.
    • Implemented versioned documentation (main, latest) output.
    • Added automated HTML redirects and post-deployment smoke tests.

4. Developer Experience (DevEx)

  • Makefile Improvements:
    • Added/Updated targets: docs-generate, docs-check-coverage, docs-check-links.
    • Fixed clean target.
    • Aligned Makefile variables (REPO_NAME, DOCS_VERSION_PATH) for better tooling integration.

@ctreffs
ctreffs enabled auto-merge (squash) February 12, 2026 19:45
@ctreffs
ctreffs merged commit 37c1100 into master Feb 12, 2026
12 of 14 checks passed
@ctreffs
ctreffs deleted the modernize-2026 branch February 12, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant