Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.6.1 #60

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@

Represents the **NuGet** versions.

## v2.6.1
- *Fixed:* Added `MigrationCommand.CreateMigrateAndCodeGen`. This can be useful in development scenarios where the `CodeGen` phase results in a new migration script that needs to be applied before any corresponding `Schema` operations are performed; in this case, a secondary

## v2.6.0
- *Enhancement:* Added a `DbColumnSchema.SqlType2` that does _not_ include nullability.
- *Enhancement:* The `SqlServerSchemaScript.SupportsReplace` is enabled where a `CREATE OR ALTER` is specified.
- *Enhancement:* The SQL Server [Event Outbox](https://github.com/Avanade/CoreEx/blob/main/src/CoreEx.Database.SqlServer/Outbox/EventOutboxEnqueueBase.cs) (_CoreEx_ `v3.26.0`) capabilities now support events as JSON versus existing TVP removing database dependency on a UDT (user-defined type).
- *Enhancement:* The SQL Server [Event Outbox](https://github.com/Avanade/CoreEx/blob/main/src/CoreEx.Database.SqlServer/Outbox/EventOutboxEnqueueBase.cs) (_CoreEx_ `v3.25.6`) capabilities now support events as JSON versus existing TVP removing database dependency on a UDT (user-defined type).
- *Fixed:* The logic for finding file-based SQL schema scripts has been corrected.

## v2.5.9
Expand Down
2 changes: 1 addition & 1 deletion Common.targets
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>2.6.0</Version>
<Version>2.6.1</Version>
<LangVersion>preview</LangVersion>
<Authors>Avanade</Authors>
<Company>Avanade</Company>
Expand Down
6 changes: 6 additions & 0 deletions src/DbEx/MigrationCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ public enum MigrationCommand
/// </summary>
All = Create | Migrate | CodeGen | Schema | Data,

/// <summary>
/// Performs <see cref="Create"/>, <see cref="Migrate"/> and <see cref="CodeGen"/>.
/// </summary>
/// <remarks>This can be useful in development scenarios where the <see cref="CodeGen"/> results in a new migration script that needs to be applied before any corresponding <see cref="Schema"/> operations are performed.</remarks>
CreateMigrateAndCodeGen = Create | Migrate | CodeGen,

/// <summary>
/// Performs <see cref="Migrate"/> and <see cref="Schema"/>.
/// </summary>
Expand Down
Loading