Skip to content

0.5.2

Choose a tag to compare

@github-actions github-actions released this 20 Oct 10:55
· 40 commits to main since this release
6f67d64

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-azure template stopped at
    publishing the Function ("Can't determine project language from files"): func read the
    runtime from local.settings.json, which such a project, like a fresh clone, doesn't have.
    deploy.ps1 and the demo's run-demo.ps1 now 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.ps1 with connection strings on two Azure SQL databases. The dry run, the setup
      (Terraform, publishing the Function, the first sync: 500 and 300 rows), -SyncNow after
      updates, inserts and a delete in the parent, and -Destroy all completed, with the child
      matching the parent row for row.
  • 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