Skip to content

Latest commit

 

History

History
54 lines (47 loc) · 2.81 KB

Changes.md

File metadata and controls

54 lines (47 loc) · 2.81 KB

version BIT.Data.Sync 1.0.12

  • Changed the version of the EF Core packages as shown below:
  • EfCorePostgresVersion: 8.0.4
  • EfCorePomeloMysqlVersion: 8.0.2
  • EfCoreSqliteVersion: 8.0.5
  • EfCoreSqlServerVersion: 8.0.5

version BIT.Data.Sync 1.0.4

  • Added a new extension method AddSyncServerWithDeltaStoreNode to AspNetCoreServiceExtensions.

version BIT.Data.Sync 1.0.3

  • IDelta now has a read and write index property: string Index { get; set; }.
  • DeltaStoreBase now requires the sequence service as part of the constructor.
  • IDeltaProcessor now has a read-only property for SequenceService: ISequenceService SequenceService { get; }.
  • IDeltaStoreExtensions.CreateDeltaCore saves the delta creation date in UTC.

version 7.0.3.2

  • Added extension AddSyncFrameworkForMysql.
  • Added extension AddSyncFrameworkForNpgsql.
  • Added extension AddSyncFrameworkForSqlite.
  • Added extension AddSyncFrameworkForSqlServer.
  • Added BIT.Data.Sync.AspNetCore to host the controllers and extension for the sync server.
  • Added AddSyncServerWithMemoryNode to add a memory node to the sync server.
  • Added AddSyncServerWithNodes to the sync server.
  • Added SyncServer template.

version 7.0.3.1

version BIT.Data.Sync 1.0.1

ISequenceService

  • Added new interface ISequenceService that is in charge of generating sequence numbers for delta entities.
  • Added new EfSequenceService (ISequenceService implementation).
  • Added new MemorySequenceService (ISequenceService implementation).
  • Updated delta index comparison query to use strings instead of GUIDs.
  • Breaking change: delta indexes are now strings instead of GUIDs.

version BIT.Data.Sync 1.0.0

BIT.Data.Sync

  • Set default date to Delta.cs due to exception raised in some situations.
  • Added new functions to IDeltaStore. Similarly updated DeltaStoreBase, EFDeltaStore and MemoryDeltaStore.
  • Updated functions to allow the use of a single DeltaStore by multiple client nodes.

    It has a bug which prevents fetching deltas from Delta entity. At the moment, it can't be used for the same DeltaStore by multiple clients.

  • Added Date in IDelta interface. It is added because of null exception thrown when date is not supplied.
  • Added DateTimeOffset as known types in SerializeHelper class, as it fails if DateTimeOffset is used.

BIT.Data.Sync.EfCore

  • Fixed a bug in SyncFrameworkBatchExecutor.cs. The issue occurs when data is either updated or deleted. The GetParameters function adds parameter1 as the name of the parameter instead of @p1, @p2, etc. in the generated query.
  • Updated SyncFrameworkDbContext context.

General

  • Updated AllDatabaseTests.

New Feature Added

  • New sample console application added. Console app ReadMe.
  • New sample SyncServer added.