Skip to content

v0.10.1

Choose a tag to compare

@github-actions github-actions released this 07 May 22:04
v0.10.1
49147ef

Bug Fixes

  • Restrict analyze_raw rangeless large-file guard to code files only: non-code files (Markdown, TOML, YAML, JSON, lock files, plain text) have no AST alternatives and are now readable rangeless at any size; the guard fires only when the file extension resolves to a known language (#767)
  • Enforce line range for large code files in analyze_raw: rangeless calls on files over 100 lines now return isError: true with an actionable message pointing to analyze_module; the MAX_RANGELESS_LINES = 100 constant is defined in core; tool description updated to match (#763)

Refactoring

  • API hygiene in aptu-coder-core: add #[non_exhaustive] to 8 public enums and structs (CallChainEntry, ReferenceType, AnalysisMode, CallChain, FileRenameResult, FileRenameError, ErrorMeta, EditError); add missing PartialEq, Eq, Hash derives to 13 value types; replace pub use types::* glob with an explicit 41-type selective re-export; remove EditRenameParams.kind (was always a runtime error); change EditInsertOutput.position from String to InsertPosition (wire format unchanged); fix ast_recursion_limit schema minimum from 1 to 0; add AnalyzeFileField::All variant (#762)

Documentation

  • Update benchmark infra notes for the analyze_raw rangeless restriction (#766)

CI

  • Speed up CI with cache sharing and parallel semver-checks (#764)
  • Replace wagoid Docker action with npx commitlint (#768)
  • Switch all runners to ubuntu-24.04-arm (#769)

Tests

  • Add test_analyze_raw_rangeless_large_file_rejected (.rs suffix) and test_analyze_raw_rangeless_large_noncode_file_allowed to cover the code-file guard boundary (#767)
  • Add MCP-layer smoke test for the rangeless large-file rejection path (#763)
  • Add test_analyze_file_field_all_equivalent_to_none, test_analyze_file_field_all_dominates, test_edit_insert_output_position_serde (#762)

Full Changelog: v0.10.0...v0.10.1