bytestrone-ef-6-1-3-to-ef-6-5-0-upgrade
bytestrone EF 6.1.3 to EF 6.5.0 upgrade
What It Does
This package ships a single byte-preserving @intuita-inc/filemod codemod that dispatches by file path:
*.config- Updates
<package ...>entries forEntityFrameworkfrom6.1.3to6.5.0 - Updates
<package ...>entries forEntityFramework.SqlServerCompactfrom6.1.3to6.5.0 - Updates EntityFramework binding redirects from
newVersion="6.0.0.0"tonewVersion="6.5.0.0"insidedependentAssemblyblocks forEntityFramework
- Updates
*.csproj- Updates
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>tov4.6.2
- Updates
The codemod does targeted string replacements only. It does not parse XML, pretty-print XML, or reserialize files. Unchanged files are left untouched, and changed files preserve existing BOM and newline style because the codemod only rewrites the matched text.
Workflow
workflow.yaml runs two steps:
Run byte-preserving EntityFramework filemodAI review and cleanup(optional)
Workflow Parameter
runAiCleanup- Type:
boolean - Default:
true - Purpose: enables the optional AI cleanup step after the deterministic filemod pass
- Type:
The AI step is intended only for follow-up cleanup after the main transform. It should review the resulting diff, preserve the migration intent, handle edge cases conservatively, and avoid unrelated rewrites.
Installation
bash
Usage
Run the package workflow on a target repository:
bash
Run the deterministic filemod directly during local development:
bash
Disable the optional AI cleanup step:
bash
Guarantees And No-Op Cases
- Does not globally replace every
6.1.3string - Does not touch non-EntityFramework package entries in
.configfiles - Does not touch unrelated binding redirects in non-EntityFramework
dependentAssemblyblocks - Does not touch
TargetFrameworkVersionvalues other than exactv4.5.1 - Is idempotent on repeated runs
Development
bash
License
MIT