Repository navigation
0.5.2
Fixes the quick start in projects created from the template: in 0.5.1 it stopped when publishing
the Function. The library and the scaffold tool are unchanged apart from the version.
Fixed
- The quick start in a project created from the
smarttablesync-azuretemplate stopped at
publishing the Function ("Can't determine project language from files"):funcread the
runtime fromlocal.settings.json, which such a project, like a fresh clone, doesn't have.
deploy.ps1and the demo'srun-demo.ps1now pass--dotnet-isolated.
Changed
- Turning on Change Tracking is now the first step of the quick start, in the README's Get
started, the NuGet guide and the template's READMEs.
Upgrading
Nothing to change in the databases or settings. For a project created from the 0.5.1 template,
either add --dotnet-isolated to the func azure functionapp publish line in
quickstart/deploy.ps1, or run dotnet new update and create the project again.
Tested
- Both ways in the README's Get started, from nuget.org in empty folders:
- Own app: a worker with the SmartTableSync package and SQL Server in Docker, with Change
Tracking turned on as the guide says. The first run created the child table and copied
1,000 rows; after updates, an insert and a delete in the parent, the next run synced 11 rows
and 1 delete. - Azure Function: the template, Change Tracking turned on as the guide says, and
deploy.ps1with connection strings on two Azure SQL databases. The dry run, the setup
(Terraform, publishing the Function, the first sync: 500 and 300 rows),-SyncNowafter
updates, inserts and a delete in the parent, and-Destroyall completed, with the child
matching the parent row for row.
- Own app: a worker with the SmartTableSync package and SQL Server in Docker, with Change
- Unit and integration tests (298 and 72) pass.
Install: dotnet add package SmartTableSync --version 0.5.2, the scaffold tool:
dotnet tool install --global SmartTableSync.Scaffold --version 0.5.2, and the Azure Function template
with the quick start: dotnet new install SmartTableSync.Templates::0.5.2