Skip to content

Commit d727345

Browse files
authoredFeb 26, 2024
v2.5.0 (#51)
* PostgreSQL support. * Migrate to CoreEx.Text.SentenceCase * Additional fixes and doco. * Column name default improvements. * Finalize. * Update CI Fix compile error. * Change postgres docker password * Password typo.
1 parent df5ddd6 commit d727345

File tree

90 files changed

+1969
-710
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+1969
-710
lines changed
 

‎.github/workflows/CI.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,14 @@ jobs:
3939

4040
- name: Start MySQL
4141
run: docker run --name db-mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=yourStrong#!Password -d mysql
42+
43+
- name: Pull Postgres
44+
run: docker pull postgres
45+
46+
- name: Start Postgres
47+
run: docker run --name db-postgres -p 5432:5432 -e POSTGRES_PASSWORD=yourStrong#!Password -d postgres
4248

43-
- name: Sleep (allow SqlServer and MySQL to complete startup)
49+
- name: Sleep (allow databases to complete startup)
4450
run: sleep 10
4551

4652
- name: Set EnvVar for Test
@@ -50,6 +56,7 @@ jobs:
5056
echo "DbEx_ConnectionStrings__EmptyDb=Data Source=localhost, 1433;Initial Catalog=DbEx.Empty;User id=sa;Password=yourStrong(!)Password;TrustServerCertificate=true" >> $GITHUB_ENV
5157
echo "DbEx_ConnectionStrings__ConsoleDb=Data Source=localhost, 1433;Initial Catalog=DbEx.Console;User id=sa;Password=yourStrong(!)Password;TrustServerCertificate=true" >> $GITHUB_ENV
5258
echo "DbEx_ConnectionStrings__MySqlDb=Server=localhost; Port=3306; Database=dbex_test; Uid=root; Pwd=yourStrong#!Password;" >> $GITHUB_ENV
59+
echo "DbEx_ConnectionStrings__PostgresDb=Server=localhost; Port=5432; Database=dbex_test; Username=postgres; Pwd=yourStrong#!Password; Pooling=false" >> $GITHUB_ENV
5360
5461
- name: Test
5562
run: dotnet test --no-build --verbosity normal

‎CHANGELOG.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,18 @@
22

33
Represents the **NuGet** versions.
44

5+
## v2.5.0
6+
- *Enhancement:* Added [PostgreSQL](https://www.postgresql.org/) database migrations support.
7+
- *Enhancement:* Added `DateOnly` and `TimeOnly` support (requires `net7.0`+) (see also `MigrationArgs.EmitDotNetDateOnly` and `MigrationArgs.EmitDotNetTimeOnly` to explicitly enable).
8+
- *Enhamcement:* Improved the `MigrationArgs` support throughout to simplify usage, and improve configurablility and consistency; enabling greater flexibility to control the migration process/activities.
9+
- *Internal*:
10+
- All `throw new ArgumentNullException` checking migrated to the `xxx.ThrowIfNull` extension method equivalent.
11+
- All _Run Code Analysis_ issues resolved.
12+
513
## v2.4.0
614
- *Enhancement:* Added `MigrationAssemblyArgs` to allow for the specification of zero or more `Data` folder names.
715
- *Fixed:* Updated `CoreEx` to version `3.9.0`.
816

9-
1017
## v2.3.15
1118
- *Fixed:* Updated `CoreEx` to version `3.8.0`.
1219
- *Fixed:* Updated `OnRamp` to version `2.0.0` which necessitated internal change from `Newtonsoft.Json` (now deprecated) to `System.Text.Json`; additionally, the `DataParser` was refactored accordingly.

0 commit comments

Comments
 (0)