Skip to content

Commit edbc684

Browse files
committed
Merge branch '7.2'
# Conflicts: # .github/workflows/auto-mysql56-tests.yml # .github/workflows/auto-pgsql100-tests.yml # .github/workflows/auto-pgsql91-tests.yml # .github/workflows/auto-pgsql92-tests.yml # .github/workflows/auto-pgsql96-tests.yml # Orm/Xtensive.Orm.Firebird/Sql.Drivers.Firebird/v2_5/Extractor.cs # Orm/Xtensive.Orm.Firebird/Sql.Drivers.Firebird/v4_0/Extractor.cs # Orm/Xtensive.Orm.SqlServer/Sql.Drivers.SqlServer/v09/Extractor.cs # Orm/Xtensive.Orm.Tests.Core/Helpers/TopologicalSorterTest.cs # Orm/Xtensive.Orm.Tests.Core/Linq/SerializableExpressionsTest.cs # Orm/Xtensive.Orm.Tests.Framework/Orm.config # Orm/Xtensive.Orm.Tests/Interfaces/UnusedTypeRemovalTest.cs # Orm/Xtensive.Orm.Tests/Issues/IssueJira0197_ExtendedErrorInformation.cs # Orm/Xtensive.Orm.Tests/Linq/CustomExpressionCompilers.cs # Orm/Xtensive.Orm.Tests/Upgrade/GeneratorUpgrade/MultidatabaseTest.cs # Orm/Xtensive.Orm.Tests/Upgrade/GeneratorUpgrade/MultischemaTest.cs # Orm/Xtensive.Orm.Tests/Upgrade/GeneratorUpgrade/SimpleSchemaTest.cs # Orm/Xtensive.Orm/IoC/ServiceContainer.cs # Orm/Xtensive.Orm/Orm/Transaction.cs # Orm/Xtensive.Orm/Orm/Upgrade/Internals/DomainModelConverter.cs # Version.props
2 parents 436afd9 + a414976 commit edbc684

501 files changed

Lines changed: 4977 additions & 2965 deletions

File tree

Some content is hidden

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

.github/workflows/auto-firebird5-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
name: Tests on Firebird 5
154154
strategy:
155155
matrix:
156-
net: [ 'net6.0', 'net7.0', 'net8.0' ]
156+
net: [ 'net8.0' ]
157157
# For security reasons we allow test runs either for pushes from the team or for pull-requests after their changes were seen and approved by someone
158158
#
159159
# push filter - to cover pushes from the team to main branch of major version

.github/workflows/auto-mssql2019-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ jobs:
144144
name: Tests on MS SQL Server 2019
145145
strategy:
146146
matrix:
147-
net: [ 'net6.0', 'net7.0', 'net8.0' ]
147+
net: [ 'net6.0', 'net8.0' ] # only LTS
148148
# For security reasons we allow test runs either for pushes from the team or for pull-requests after their changes were seen and approved by someone
149149
#
150150
# push filter - to cover pushes from the team to main branch of major version

.github/workflows/auto-mysql57-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
name: Tests on MySQL 5.7
151151
strategy:
152152
matrix:
153-
net: [ 'net6.0', 'net7.0', 'net8.0' ]
153+
net: [ 'net6.0', 'net8.0' ] # only LTS
154154
# For security reasons we allow test runs either for pushes from the team or for pull-requests after their changes were seen and approved by someone
155155
#
156156
# push filter - to cover pushes from the team to main branch of major version

.github/workflows/auto-mysql80-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
name: Tests on MySQL 8.0
154154
strategy:
155155
matrix:
156-
net: [ 'net6.0', 'net7.0', 'net8.0' ]
156+
net: [ 'net6.0', 'net8.0' ] # only LTS
157157
# For security reasons we allow test runs either for pushes from the team or for pull-requests after their changes were seen and approved by someone
158158
#
159159
# push filter - to cover pushes from the team to main branch of major version

.github/workflows/auto-mysql90-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
name: Tests on MySQL 9.0
154154
strategy:
155155
matrix:
156-
net: [ 'net6.0', 'net7.0', 'net8.0' ]
156+
net: [ 'net6.0', 'net8.0' ] # only LTS
157157
# For security reasons we allow test runs either for pushes from the team or for pull-requests after their changes were seen and approved by someone
158158
#
159159
# push filter - to cover pushes from the team to main branch of major version

.github/workflows/auto-pgsql140-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ jobs:
144144
name: Tests on PostgreSQL 14.0
145145
strategy:
146146
matrix:
147-
net: [ 'net6.0', 'net7.0', 'net8.0' ]
147+
net: [ 'net6.0', 'net8.0' ] # only LTS
148148
# For security reasons we allow test runs either for pushes from the team or for pull-requests after their changes were seen and approved by someone
149149
#
150150
# push filter - to cover pushes from the team to main branch of major version

.github/workflows/auto-pgsql170-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
name: Tests on PostgreSQL 17.0
154154
strategy:
155155
matrix:
156-
net: [ 'net6.0', 'net7.0', 'net8.0' ]
156+
net: [ 'net6.0', 'net8.0' ] # only LTS
157157
# For security reasons we allow test runs either for pushes from the team or for pull-requests after their changes were seen and approved by someone
158158
#
159159
# push filter - to cover pushes from the team to main branch of major version

.github/workflows/auto-sqlite3-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142
name: Tests on SQLite 3
143143
strategy:
144144
matrix:
145-
net: [ 'net6.0', 'net7.0', 'net8.0' ]
145+
net: [ 'net6.0', 'net8.0' ] # only LTS
146146
# For security reasons we allow test runs either for pushes from the team or for pull-requests after their changes were seen and approved by someone
147147
#
148148
# push filter - to cover pushes from the team to main branch of major version

ChangeLog/7.2.1-Z_Final.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[main] Added Query.SingleAsync()/SingleOrDefaultAsync and QueryEndpoint.SingleAsync()/SingleOrDefaultAsync methods
2+
[main] Addressed issue of not disposing IAsyncEnumerator which caused query being open
3+
[main] Addressed issue of overwriting exception on attempt to rollback the transaction of Domain upgrade if commit operation failed
4+
[main] LeftJoin extension marked as Obsolete to prepare movement to .NET 10, LeftJoinEx provided as substitution
5+
[main] IPriorityQueue interface became Obsolete
6+
[main] EnumerableUtils.One() marked as Obsolete
7+
[main] Performance and memory usage improvements
8+
[main] Fixed certain issues connected with SerializableExpressions deserialization
9+
[postgresql] Update Npgsql to 9.0.4
10+
[weaver] Updated Mono.Cecil package to v0.11.6, which resolves certain issues of unsynced pdb files

Extensions/Xtensive.Orm.Localization/Configuration/LocalizationConfiguration.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ private static LocalizationConfiguration GetConfigurationFromSection(Configurati
140140
/// <returns>Loaded configuration or default configuration if loading failed for some reason.</returns>
141141
public static LocalizationConfiguration Load(IConfiguration configuration, string sectionName = null)
142142
{
143-
ArgumentValidator.EnsureArgumentNotNull(configuration, nameof(configuration));
143+
ArgumentNullException.ThrowIfNull(configuration);
144144

145145
if (configuration is IConfigurationRoot configurationRoot) {
146146
return new LocalizationConfigurationReader().Read(configurationRoot, sectionName ?? DefaultSectionName);
@@ -161,7 +161,7 @@ public static LocalizationConfiguration Load(IConfiguration configuration, strin
161161
/// <returns>Loaded configuration or default configuration if loading failed for some reason.</returns>
162162
public static LocalizationConfiguration Load(IConfigurationSection configurationSection)
163163
{
164-
ArgumentValidator.EnsureArgumentNotNull(configurationSection, nameof(configurationSection));
164+
ArgumentNullException.ThrowIfNull(configurationSection);
165165

166166
return new LocalizationConfigurationReader().Read(configurationSection);
167167
}
@@ -175,7 +175,7 @@ public static LocalizationConfiguration Load(IConfigurationSection configuration
175175
/// <returns>Loaded configuration or default configuration if loading failed for some reason.</returns>
176176
public static LocalizationConfiguration Load(IConfigurationRoot configurationRoot, string sectionName = null)
177177
{
178-
ArgumentValidator.EnsureArgumentNotNull(configurationRoot, nameof(configurationRoot));
178+
ArgumentNullException.ThrowIfNull(configurationRoot);
179179

180180
return new LocalizationConfigurationReader().Read(configurationRoot, sectionName ?? DefaultSectionName);
181181
}

0 commit comments

Comments
 (0)