v1.2.12 #49
djinn-soul
announced in
Announcements
v1.2.12
#49
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Changelog
1.2.12 (2026-02-14)
High-Level Summary
cytoscnpy/src/entry_point.rs) has been extensively refactored into a newentry_pointmodule, organizing configuration, detection, command handlers, and execution flow into separate, more manageable files.cytoscnpy/src/commands/fix.rs) has been modularized into a newfixdirectory, improving maintainability and testability.dataclass,attrsclasses (@attrs.define,@attrs.mutable),pydantic.BaseModel, andtyping.Protocol.recognizersmodule. Introduced entropy scanning fallback when AST parsing fails and refined AST-based recognizers to reduce false positives.--client vscodeflag for client-specific behavior. Improved Quick-fix actions with 'Fix All' support and better diagnostic-to-finding matching.1.2.12acrossCargo.lockandCargo.toml.Detailed Changes
Workspace & Tooling
Cargo.lock: Updatedcytoscnpy,cytoscnpy-cli, andcytoscnpy-mcpversions from1.2.11to1.2.12.Cargo.toml: Updated workspace package version to1.2.12. Addedcomplexityandperfclippy lints withwarnlevel.benchmark/benchmark_and_verify.py: Added error logging to_check_python_moduleand_check_skylosfunctions.Core Analyzer
cytoscnpy/src/analyzer/aggregation.rs:cytoscnpy/src/cli.rs:ClientKindenum (Vscode).--clientargument to CLI.--fixhelp message for unused variable renaming.Refactored: Fix Command (
cytoscnpy/src/commands/fix/)cytoscnpy/src/commands/fix.rs(Refactored to module)apply.rs: Core logic for applying dead code fixes.apply_plan.rs: Manages planning of edits (variables, imports, functions, classes).mod.rs: DefinesDeadCodeFixOptions,FixResult, andrun_fix_deadcode.plan.rs: Collection of items to fix and stats printing.ranges.rs: Utility functions for finding definition ranges and import edits.tests/: Extensive unit tests for apply logic, imports, and ranges.Refactored: Entry Point (
cytoscnpy/src/entry_point/)cytoscnpy/src/entry_point.rs: Refactored to export sub-modules.config.rs:AppConfigandsetup_configuration.detection.rs:detect_entry_point_callsfor identifying Python script entries.handlers/: Sub-modules foranalysis(context, fix, gates, report, run),metrics, andstats.paths.rs: Path resolution and argument validation utilities.run.rs: Main CLI entry point logic (run_with_args).Metrics & Rules
cytoscnpy/src/metrics/lcom4.rs:MethodKindclassification.calculate_lcom4to skip static methods.cytoscnpy/src/rules/quality/complexity.rs:is_exempt_classfor framework-specific classes.cytoscnpy/src/rules/secrets/mod.rs: UpdatedSecretScannerto use fallback scanning.cytoscnpy/src/rules/secrets/recognizers/: Modularized secret recognizers (ast.rs,custom.rs,entropy.rs,regex.rs,types.rs).cytoscnpy/tests/: Addedcohesion_exemptions_test.rsand expandedmetrics_test.rs.Documentation & Roadmap
docs/CLI.md: Updated with--clientoption details.docs/roadmap.md: Added 'Phase 6.x (Editor Client Flag)'.VS Code Extension (
editors/vscode/cytoscnpy/)package.json: Updated extension version to0.1.12. Refined setting descriptions.src/analyzer.ts&src/extension.ts: Appended--client vscodeto CLI calls.src/extension.ts:filterOverlappingFixesfor 'Fix All' actions.QuickFixProviderwith precise symbol names and rule-specific 'Fix All' actions.src/test/: Updated tests for new diagnostic formats and 'Fix All' functionality.This discussion was created from the release v1.2.12.
Beta Was this translation helpful? Give feedback.
All reactions