v0.10.1
Bug Fixes
- Restrict
analyze_rawrangeless 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 returnisError: truewith an actionable message pointing toanalyze_module; theMAX_RANGELESS_LINES = 100constant 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 missingPartialEq,Eq,Hashderives to 13 value types; replacepub use types::*glob with an explicit 41-type selective re-export; removeEditRenameParams.kind(was always a runtime error); changeEditInsertOutput.positionfromStringtoInsertPosition(wire format unchanged); fixast_recursion_limitschema minimum from 1 to 0; addAnalyzeFileField::Allvariant (#762)
Documentation
- Update benchmark infra notes for the
analyze_rawrangeless 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(.rssuffix) andtest_analyze_raw_rangeless_large_noncode_file_allowedto 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