Repository navigation
Releases
v2.0.1
Added
- Migrondi: The CLI now installs on Windows ARM64 through Scoop (
migrondi.jsoncarries anarm64build beside64bit) and on Linux ARM64 through a Flatpak bundle (migrondi-<version>-linux-arm64.flatpak, plus the stablemigrondi-linux-arm64.flatpakalias) built on an ARM runner. The UI still has no Windows or Linux ARM64 build, so its Scoop package and Flatpak bundle stay x64-only. - Project: Releases now publish a Flatpak channel: each release's bundles are imported into an OSTree repository kept on the
flatpakbranch and served with the docs site, so installing via the.flatpakreffiles registers themigrondiremote andflatpak updatepicks up every new release. Direct-install bundles still ride each release. - Project: The
migrondi-cliagent skill now covers themcpcommand, and the README shows how to install the Migrondi skills withnpx skills add AngelMunoz/Migrondi. The MCP documentation is CLI-first and its harness examples register the server without--config, passingconfigPathper tool call.
v2.0.0
Added
- Migrondi: The
mcpserver's tools are now stateless — every tool accepts aconfigPathargument to target any project from one registration (sendnullto use the startup binding), and two new tools join the surface:init_projectcreates a project in a directory (never deleting files) andupdate_project_configrewritesmigrondi.jsonfields in place.create_migrationalso acceptsmanualTransactionfor statements that cannot run inside a transaction. - Migrondi: New
mcpcommand serves one project over stdio as an MCP server, so agents and harnesses can drive migrations as tools (get_project,list_migrations, dry runs,create_migration,run_migrations,run_rollback) instead of shell commands.--configselects the project, anchors its directory as the project root, and layersMIGRONDI_*variables and the config override flags on top;--readonlyserves only the read tools. All server logs go to stderr, keeping stdout clean for strict MCP clients. - Migrondi:
newaccepts--up/--downinline SQL and--up-file/--down-fileto read a section from a file (or stdin with-), so a migration can be created with its content in one call instead of creating an empty file and editing it afterwards. - Migrondi:
listaccepts--pending/--applied,--limit/--last,--search <text>, and--show-path/--show-contentto filter and inspect migrations without scanning the migrations folder by hand. - Migrondi:
upanddownaccept--to <name>to apply up to, or roll back to, a named migration (name, filename, or timestamp) instead of counting migrations; the positional amount stays optional and cannot be combined with--to. - Project: Added
migrondi-cliandmigrondi-libraryagent skills under.agents/skills, covering CLI usage for agents andMigrondi.Coreembedding patterns such as custom migration sources. - Migrondi.UI: The desktop app ships on the Goo rendering stack: projects list and management, virtual projects, migration apply/rollback/dry-run with step counts, a highlighted migration view with pending-migration editing, Navs routing, an OS-following dark/light theme, and an HTTP MCP host mode. The shell, project list, new-project flow, and project screen share one design system (palette tiers, button hierarchy, chips, page headers): runs are the only primary actions and ask before applying or rolling back, previews and step limits sit beside them, and each screen names its single next step.
- MigrondiUI: The desktop app also ships as the
migrondiui.NET tool:dotnet tool install --global MigrondiUIinstalls it, anddnx MigrondiUIruns it without an install. - MigrondiUI: Linux releases include a Flatpak bundle (
io.github.angelmunoz.migrondi.ui) built from the same self-contained archive, soflatpak install --bundleinstalls the app and its launcher. - Migrondi: Linux releases include a separate Flatpak bundle (
io.github.angelmunoz.migrondi) built from the CLI archive, soflatpak install --bundleinstalls themigrondicommand on its own. - Project: Windows installs use Scoop manifests published with each release (
migrondi.json,migrondi-ui.json), soscoop installandscoop updatefetch and verify the archives.
Changed
-
Migrondi: Breaking: Binary releases are self-contained folders inside zip archives, not single-file executables, and no AOT build is used. Extract the archive and run
MigrondiorMigrondi.UI. -
Migrondi.Core, Migrondi.Mcp: Breaking: the libraries target
net10.0only;net8.0support is gone, so consuming applications must upgrade to .NET 10 or later. -
Migrondi, MigrondiUI: Breaking: the CLI and the desktop app target
net10.0andnet11.0; thenet8.0andnet9.0targets are gone. Tool installs need .NET 10 or later, and the release archives bundle the .NET 11 runtime. -
CI: Releases publish to NuGet with trusted publishing and take the version from
CHANGELOG.md. The run packsMigrondi,MigrondiUI,Migrondi.Core, andMigrondi.Mcp, and publishes CLI archives for six RIDs and UI archives for Windows x64, Linux x64, and macOS arm64. -
MigrondiUI: The app database and virtual project files now live in the user's local application data folder instead of next to the executable. An existing database moves on first start, and app or tool updates no longer replace the data.
-
Migrondi.Mcp: Breaking (behavioral): the multi-project
get_projecttool no longer returns database connection strings (local project config and virtual project detail); report hosts must never expose them. -
Migrondi: Breaking (behavioral): the MCP server re-reads the project config on every tool call, so config edits and
init_projecttake effect on the next call without restarting the server, andget_projectreflects the per-call project. Tool calls that omit optional arguments must now send them as explicitnull(the schemas list them as required-but-nullable). -
Migrondi.Mcp: The shared MCP layer now reports full tool annotations (
idempotentHinton read tools,openWorldHint: falseeverywhere), the real package version in theinitializeresponse instead of a hardcoded value, and serves HTTP statelessly — no session store, localhost-onlyOriginacceptance, and no redundantMcp-Session-Idheaders. -
Migrondi.Mcp: MCP clients see the real parameter names (
amount,projectId, ...) in tool schemas again instead ofdelegateArg0, which made those arguments impossible to pass; sendnullfor an omitted "all migrations" value (e.g.{"amount": null}). -
Project: Migrated all projects to central package management via
src/Directory.Packages.props, removing per-project package versions and consolidating dependency versions in one place. -
Project: Switched to the Microsoft Testing Platform (
global.json) and bumped test-related packages to their latest stable versions. -
MigrondiUI: Upgraded from Avalonia 11 to Avalonia 12 and updated UI code to match the new API surface (
Watermark→PlaceholderText,IBinding→BindingBase, nullableTextBox.Texthandling, andJsonElementdeserialization). -
MigrondiUI: Updated Avalonia-related dependencies (AvaloniaEdit, TextMate, SukiUI, NXUI) to their Avalonia 12-compatible versions.
-
Migrondi.Tests: Migrated to
MSTest.Sdk/4.2.3. -
MigrondiUI.Tests: Migrated to the Microsoft Testing Platform with the xUnit v3 runner, targeting
net10.0only. -
Project: Updated all package dependencies to their latest stable versions, including Avalonia 12.1.6, ModelContextProtocol 2.4.0, MSTest 4.5.2, Serilog 4.4.0, and the database drivers, and updated the local Fantomas and FsDocs tools.
-
Project: Moved the MCP tooling into a new shared
Migrondi.Mcpproject that holds the tool definitions, service contracts, result encoders, and both transports. MigrondiUI now keeps only the host code that builds its project collection and starts the server, so the CLI can host the same MCP tools against a single project in a later phase.
Removed
- Project: The
migrondi_install.shandmigrondi_install.ps1install scripts andbuild.fsxare gone. Install with the .NET tools, Scoop, or a release archive; build withdotnet build. - MigrondiUI: The Avalonia app is replaced by
Migrondi.UI.--stdiofor the GUI is gone — themigrondiCLI serves stdio.
Fixed
- Migrondi: The CLI now flushes its logger on exit, so log-then-exit errors (such as a rejected MCP transport) always reach stderr instead of being lost when the process ends before the console logger drains.
- MigrondiUI: MCP mode (
--stdio/--http) no longer writes log lines to stdout; all logs go to stderr, so MCP clients receive only protocol messages. - Migrondi.Mcp: Every tool that reports a migration (
list_migrations, both dry runs,run_migrations,run_rollback,get_migration) now reports the same real file name (e.g.1794436380501_add_users.sql). Previously these results recomposed the timestamp onto the decoded name — which already carries it for standard-written files — producing doubled names like1794436380501_1794436380501_add_usersthat match no file on disk and broke handing identifiers to the CLI (status,--to). For virtual projects the file name also lacked the.sqlsuffix. - Migrondi.Mcp: The
create_migrationtool result now reports the migration's name (e.g.add_users) and its real file name (e.g.1794436380501_add_users.sql). Previously the file name was reported as the name and the timestamp was recomposed onto it, producing a doubled file name like1794436380501_1794436380501_add_users.sql; for virtual projects the file name also lacked the.sqlsuffix. - Migrondi:
statusnow returns a non-zero exit code when no migration matches the given name, instead of reportingNotFoundwith a success exit code. - Project: Addressed the high-severity
SQLitePCLRaw.lib.e_sqlite3vulnerability (GHSA-2m69-gcr7-jv3q) by overridingSQLitePCLRaw.bundle_e_sqlite3to3.0.5in central package management. - Project: Addressed the high-severity
System.Security.Cryptography.Pkcsvulnerabilities (GHSA-846f-f764-76mx, GHSA-2fmv-rv2c-59x7) that Microsoft.Data.SqlClient pulled in, by overriding that package to10.0.14in central package management. No project reports a vulnerable package now. - Migrondi.UI: Local migration save, delete, and lookup now resolve the configured migrations directory and locate files by decoded content (falling back to the filename), instead of globbing the project root by name — pending local migrations always save instead of reporting
NotFound. Saving a timestamped file also normalizes itsNAMEto the friendly name. - MigrondiUI: Virtual project migrations no longer show doubled timestamps (e.g.
1695829818636_CreateUsersTable_1695829818636.sql). New migration...
v1.3.0
Added
-
We've found some general isues that warrant the release of 1.3.0, the UI version will be in preview for the forseable future even if marked as a stable release, a notice was added to the startup fo the UI version
-
MigrondiUI: Logs a preview notice at startup — MigrondiUI is preview software (regardless of whether a release is marked stable, beta, or rc), expect breaking changes before it stabilizes at 2.0.
Changed
- Migrondi: Breaking (behavioral):
initno longer silently overwrites an existingmigrondi.json— it now stops with an error so an existing project isn't clobbered.--forceoverwrites with the default configuration;--force --mergeadopts the values already in the file instead (recovering known fields even from a partial or otherwise-invalid JSON), and--mergerequires--force.
Fixed
- Migrondi.Core: Apply/rollback reported the wrong numbers — the summary counted every pending/applied migration rather than the ones actually being processed, and applying nothing still returned the full migration history (so re-running
uplogged every already-applied migration as newly applied, and the MCP apply result over-counted). Counts and results now reflect only the migrations processed in that run. - Migrondi:
statuslogged nothing for a valid migration and crashed when the name lacked a.sqlsuffix. It now reportsAppliedorPendingfor a plain migration name (and a cleanNotFoundfor an unknown one) in both human and JSON output. - Migrondi: JSON output for
list([mi-json]) embedded each migration as an escaped JSON string, forcing a second decode pass; migrations are now emitted as native JSON objects.
v1.3.0-beta-001
Added
- MigrondiUI: Desktop GUI application for managing multiple Migrondi projects
- MigrondiUI: Virtual project support - create projects without physical files
- MigrondiUI: Local project import and visualization
- MigrondiUI: Migration execution from GUI
- MigrondiUI: MCP (Model Context Protocol) server mode for AI assistant integration
- MigrondiUI: MCP tools now return typed domain results (
Result<'T, 'E>) instead of rawCallToolResult - MigrationName module with validation for migration names
- ResultExtensions for C# interop with F# Result type
global.jsonpinning SDK to 10.0.301
Changed
- MigrondiUI references Migrondi.Core by project reference rather than NuGet
- Updated Microsoft.Extensions.Logging.Console from 9.0.6 to 10.0.3
- Target frameworks: Library (Migrondi.Core, Migrondi.Tests) targets net8.0 + net10.0 LTS; apps (Migrondi CLI, MigrondiUI) also target net9.0 until November 2026
- Upgraded ModelContextProtocol from 0.8.0-preview.1 to 1.4.0
- Aligned Serilog.Extensions.Logging to 10.0.0 and Serilog.Sinks.Console to 6.1.1 in MigrondiUI
- Simplified CI workflow to a single build+test job
- Removed dead
MigrondiExt.fs— superseded byMigrationOperationsFactoryin Services.fs - Project: Updated FSharp.SystemCommandLine from 2.0.0-beta5.3 to the stable 2.1.0 release
Fixed
- Migrondi.Core: Applying or rolling back migrations against SQL Server failed. The migrations history table is now created with an auto-incrementing id, without the
GOstatement (invalid over the data provider), and without a hard-codeddboschema, so it respects the connection's default schema. The async "last applied" lookup also uses SQL Server'sTOP 1rather than the unsupportedLIMIT 1. - Migrondi: Commands that don't touch the database (
new,init,--help) crashed at startup whenever the configured database was unreachable or used a non-SQLite driver. Database setup now runs only for the commands that actually need it. - MCP
StructuredContenttype compatibility with ModelContextProtocol 1.4.0 (JsonNode→Nullable<JsonElement>) - CI workflow attempting to build Migrondi.Core for net9.0 (target no longer exists)
v1.2.0
What's Changed
- fix: make sure that custom source resolution get the expected uris and not resolved file paths by @AngelMunoz in #46
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
- feat(serialization): Expose serialization to avoid userland duplication by @AngelMunoz in #44
Full Changelog: v1.0.1...v1.1.0
v1.0.1
What's Changed
- Migrondi - v1.0.0 by @AngelMunoz in #32
- refactor(core): remove RepoDB as a dependency by @AngelMunoz in #39
- feat(Core): migration-source-abstractions by @AngelMunoz in #42
Full Changelog: v0.7.1...v1.0.1
v1.0.0-rc-002
What's Changed
- refactor(core): remove RepoDB as a dependency by @AngelMunoz in #39
Installation scripts
Migrondi has always been intended to run standalone, no dotnet required, so if you're a JS/TS/Ruby/PHP/Go/Rust (whatever works for you) developer and don't need or are interested at all in dotnet you're still able to enjoy the benefits of migrondi.
Give it a try to the installation scripts
Linux/Mac
curl -fsSL https://raw.githubusercontent.com/AngelMunoz/Migrondi/vnext/migrondi_install.sh | bashWindows
iwr https://raw.githubusercontent.com/AngelMunoz/Migrondi/vnext/migrondi_install.ps1 -UseBasicParsing | iexKeep in mind that by default both scripts will try to add MIGRONDI_HOME env var, as well as add it to your PATH via the profile file (.bashrc, .zshrc, $profile (for powershell)), to avoid that please use the following parameter
- linux/mac
--no-profile - powershell
-NoProfile
you would need to then manually add to the path if that were the case, for more info check the README
Full Changelog: v1.0.0-beta-014...v1.0.0-rc-002
v1.0.0-beta-014
Allow the migrondi cli tool to run on net8 as well
Full Changelog: v1.0.0-beta-013...v1.0.0-beta-014
v1.0.0-beta-013
Release Notes
Features
- Connection String Handling
- Added a new
getConnectionStrfunction to robustly handle database connection strings, ensuring correct path resolution for both rooted and relative paths, including Windows-style paths. (fixes #37 )
- Added a new
Improvements & Refactoring
- Visibility Updates
- Changed interface visibility for
IMiMigrationSerializerandIMiConfigurationSerializer. - Changed class visibility for
MigrondiSerializer. - Updated member visibility for
MigrondiDriverand madeAsString/FromStringpublic. - Made
IMiFileSystempublic.
- Changed interface visibility for
These changes were made in order to explore the viability of the core packages being offered as a library that can do some customizations
Build & Dependency Updates
- Framework Update
- Upgraded target framework from
net8.0tonet9.0in build scripts and project files.
- Upgraded target framework from
- Project Path Fixes
Other
- Version Bump
- Incremented project version.
Full Changelog: v1.0.0-beta-011...v1.0.0-beta-013