Skip to content

Commit c1a8496

Browse files
committed
Merge branch 'master' into master-typeid-as-parameter
# Conflicts: # Orm/Xtensive.Orm.PostgreSql/Sql.Drivers.PostgreSql/v8_0/Compiler.cs # Orm/Xtensive.Orm/Orm/Providers/SqlCompiler.cs # Orm/Xtensive.Orm/Sql/Compiler/SqlCompiler.cs # Orm/Xtensive.Orm/Sql/Info/QueryFeatures.cs
2 parents 3525a34 + a876491 commit c1a8496

File tree

1,115 files changed

+42716
-29174
lines changed

Some content is hidden

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

1,115 files changed

+42716
-29174
lines changed

ChangeLog/6.0.10_Z_Final.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[main] Fixed certain cases of NRE happened on Domain build due to views in extracted schema
2+
[main] Fixed NotSupportedException appeared on x86 architecture when DateTimeOffset is used in entites

ChangeLog/6.0.7_Z_Final.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[main] Fixed issue of actual NULL constant being treated as a caching value
2+
[main] Fixed rare case of infinite loop on batching commands
3+
[main] Improved VS compatibility by not processing design-time builds
4+
[main] Introduced IDbConnectionAccessor that gives access to certain stages of connection opening

ChangeLog/6.0.8_Z_Final.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[main] Resolved DateTimeOffset reading issues for certain queries with JOIN
2+
[main] Improved compiled queries work with entity parameters
3+
[main] Coalesce operator with local Entity/Structure instance in it is prohibited to prevent wrong query results
4+
[main] Ternary operator with local Entity/Structure instance in it is prohibited to prevent wrong query results
5+
[bulkoperations] Ressuracted check for transaction to prevent unrollbackable changes

ChangeLog/6.0.9_Z_Final.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[main] Improved enum comparison in queries so result SQL queries won't break index seek if any exists
2+
[main] Improved enum comparison in partial indexes
3+
[main] Addressed certain issues with with async queries containing .Store() and .In() via temporary table
4+
[sqlserver] Fixed Full-text indexes extraction for Azure SQL provider
5+
[sqlserver] Correct extraction of custom sequences based on types other than BIGINT

ChangeLog/7.0.1_Z_Final.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[main] Changed boolean expression translation to have better index utilization (rebuild of filtered indexes required)
2+
[main] Introduced access to DbConnection by using IDbConnectionAccessor implementers
3+
[main] Much faster query cache in multithreaded workloads
4+
[main] Addressed issue appeared in 7.0.0 when certain items of prefetch graph weren't fetched
5+
[main] Fixed certain issues caused by unnecessary check for zombie transactions on commit
6+
[main] Improved silent cleanup detection when new and removed Entities happen to conflict by table
7+
[main] Improved speed and memory usage of Session creation
8+
[main] Overall performance improvements
9+
[web] Introduced better way of integration with ASP.NET

ChangeLog/7.0.1_dev.txt

Whitespace-only changes.

ChangeLog/7.0.2_Z_Final.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[main] Addressed certain issues of enum equality expressions translation that appeared in v7.0.0
2+
[sqlserver] Replaced usage of DATEDIFF with DATEDIFF_BIG for v13 and newer
3+
[sqlserver] Improved certain operations based on DateTime/DateTimeOffset subtraction for v13 and newer

ChangeLog/7.0.3_Z_Final.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[main] NodeCollection supports different equality comparers for internal name index
2+
[sqlserver] Fixed TimeSpan.Ticks extraction problem
3+
[oracle] Fixed scheme extraction for case-sensitive schema names

ChangeLog/7.1.0-Beta-1.txt

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
[main] ThreadSafeCache, ThreadSafeDictionary, ThreadSafeList collections are removed
2+
[main] INamedValueCollection and its the only implementer NamedValueCollection are removed
3+
[main] ICollectionChangeNotifier, CollectionChangeNotifierEventArgs are removed
4+
[main] ArrayUtils and EnumerableUtils<T> are removed
5+
[main] ISet<T> interface is removed and all usages are replaced with System.Collections.Generic.ISet<T>
6+
[main] Set<T>, SetSlim<T>, ReadOnlySet<T> collections and abstract SetBase class are removed
7+
[main] ReadOnlyList<T>, ReadOnlyCollection<T>, ReadOnlyDictionary<TKey, TValue> collections are removed
8+
[main] ThreadSafeCached type is removed
9+
[main] Triplet<T> and Triplet<TFirst,TSecond,TThird> are removed
10+
[main] TypeClassifier, LazyDictionary and FlagRegistry collections are removed
11+
[main] DifferentialDictionary and DifferentialDictionaryDifference types are removed
12+
[main] CollectionBase<T> is removed
13+
[main] StringExtensions.Join() methods are removed
14+
[main] CollectionExtensions.ReverseList() method is removed
15+
[main] SqlTranslator/SqlCompiler APIs were significantly changed in order to improve memory usage and perfromance
16+
[main] Introduced IQueryable<T>.Tag() extensions allowing to add tags to result SQL statement
17+
[main] Introduced Session.Tag() method for being able to tag queries within returned TagScope
18+
[main] Domain.TagsEnabled is introduced as easier alternative to DomainConfiguration.TagLocation!=TagLocation.Nowhere check
19+
[main] NativeTypeClassifier collection now inherits ClassifiedCollection directly
20+
[main] FlagCollection.Keys no returns .Net IReadOnlyList<TKey>
21+
[main] CollectionBaseSlim<T> no longer implements IList<T> and ICollection but implements ICollection<T> and IReadOnlyList<T>
22+
[main] AggregateException.Exceptions property changed its return type to IReadOnlyList<Exception>
23+
[main] AggregateException constuctors get array of exceptions instead of IEnumerable<Exception>
24+
[main] CopyDataHint.CopiedColumns property changed its return type to IReadOnlyList<Pair<string>>
25+
[main] DateHint.Identitites property changed return type to IReadOnlyList<IdentityPair>
26+
[main] UpdateDataHint.UpdateParameter property changed return type to IReadOnlyList<Pair<string, object>>
27+
[main] IUpgrader methods now return IReadOnlyList<NodeAction>
28+
[main] PropertyAccessorDictionary has changed API due to change of the base type and interfaces
29+
[main] FullTextIndexDefCollection changed its base type to CollectionBaseSlim<FullTextIndexDef>
30+
[main] HierarchyDefCollection base type changed to CollectionBaseSlim<HierarchyDef>
31+
[main] HierarchyDefCollection and TypeDefCollection changed events set due to change of base type
32+
[main] SessionConfiguration collection API changed due to changes in base type CollectionBaseSlim<T>
33+
[main] IGenerationTerm.Terms property changed return type to IReadOnlyList<string>
34+
[main] IProximityTerm.Terms property changed its return type to IReadOnlyList<IProximityOperand>
35+
[main] IOperation properties (PrecedingOperations, FollowingOperations, UndoOperations, IdentifiedEntities) changed return type
36+
[main] HierarchyInfo.Types property changed return type to IReadOnlyList<TypeInfo>
37+
[main] IndexInfo.Columns property return type changed to IReadOnlyList<ColumnInfo>
38+
[main] KeyInfo's Fields and Columns properties changed to ReadOnlyList<FieldInfo> and IReadOnlyList<ColumnInfo> respectively
39+
[main] TypeIndexInfoCollection.RealPrimaryIndexes property return type changed to IReadOnlyList<IndexInfo>
40+
[main] TypeIndexInfoCollection.GetIndexesContainingAllData() method changed its return type to IReadOnlyList<IndexInfo>
41+
[main] TypeInfo members that returned IList<T> changed return type to IReadOnlyList<TypeInfo>
42+
[main] PersistRequestBuilderContext.AffectedIndexes changed return type to IReadOnlyList<IndexInfo>
43+
[main] QueryRowFilterParameterBinding.RowTypeMapping changed return type to IReadOnlyList<TypeMapping>
44+
[main] ProviderInfo.SupportedTypes changed return type to IReadOnlySet<Type>
45+
[main] SessionHandler.Prefetch/PrefetchAsync changed type of one of incoming parameters from IList<T> to IReadOnlyList<T>
46+
[main] ContainsTableProvider.TargetColumns changed return type to IReadOnlyList<FullTextColumnInfo>
47+
[main] ColumnCollection is no longer inherited from ReadOnlyList<Column> but implements IReadOnlyList<Column>
48+
[main] ColumnGroupCollection is no longer inherited from ReadOnlyCollection<Column> but implements IReadOnlyList<ColumnGroup>
49+
[main] ChangeFieldTypeHint.AffectedColumns changed return type to IReadOnlyList<string>
50+
[main] RemoveFieldHint.AffectedColumns changed return type to IReadOnlyList<string>
51+
[main] RemoveTypeHint.AffectedTables changed return type to IReadOnlyList<string>
52+
[main] SchemaComparisonResult.UnsafeActions changed return type to IReadOnlyList<NodeAction>
53+
[main] UpgradeContext.Modules changed return type to IReadOnlyList<IModule>
54+
[main] UpgradeContext.OrderedUpgradeHandlers changed return type to IReadOnlyList<IUpgradeHandler>
55+
[main] UpgradeContext.UpgradeHandlers changed return type to IReadOnlyDictionary<Assembly, IUpgradeHandler>
56+
[main] KeyMapping.Map property changed type to .Net IReadOnlyDictionary<Key, Key>
57+
[main] InterfaceMapping's properties of ReadOnlyList<T> type changed the type to .Net IReadOnlyList<T>
58+
[main] Node's IncomingConnections and OutgoingConnections properties changed types to IReadOnlyList<NodeConnection<TNodeItem, TConnectionItem>>
59+
[main] CompositePreCompiler.Items became readonly field and changed its type to IReadOnlyList<IPreCompiler>
60+
[main] SqlCompilerConfiguration's SchemaMapping and DatabaseMapping properties changed return types to IReadOnlyDictionary<string, string>
61+
[main] TypeMappingRegistry.Mappings and ReverseMappings properties changed return types to IReadOnlyDictionary<TKey, TValue>
62+
[main] Xtensive.Orm.Services.QueryTranslationResult became read-only structure
63+
[main] Query and ParameterBindings properties of Xtensive.Orm.Services.QueryTranslationResult changed their types and became read-only
64+
[main] SqlTranslator.BuildBatch() method changed its parameter from string[] to IReadOnlyList<string>
65+
[main] TypeReference, QueryRequest QueryParameterBinding types became read-only structures
66+
[main] TypeInfoRef, ColumnInfoRef, ColumnGroup and ComparisonRule types became read-only structures
67+
[main] RecordSetHeader constructors changed IEnumerable<T> paremters to IReadOnlyList<T>
68+
[main] ColumnGroupCollection no longer takes IEnumerable<T> as parameter of constructor
69+
[main] ColumnCollection no longer takes IEnumerable<T> as parameter of constructor, only constructor with IReadOnlyList<T> is available now
70+
[main] Overall perfromance improved
71+
[main] Fixed issue when Execute/CreateDelayedQuery APIs query cache caused long-living objects
72+
[firebird] Added support for Firebird 4
73+
[sqlserver] Microsoft.Data.SqlClient is updated to verson 4.0.0
74+
[mysql] Added support for MySQL 5.7 and 8.0
75+
[mysql] Updated version of Google.Protobuf package

ChangeLog/7.1.0-Beta-2-dev.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[main] Obsolete CatalogHelper class has been removed
2+
[main] Obsolete ReacreateTableHint has been removed
3+
[main] Obsolete Session.SelectStorageNode() method is removed
4+
[main] Obsolete methods from ArrayExtensions, EnumerableExtensions and QueryableExtensions have been removed
5+
[main] Obsolete DeleteDataHint.PostCopy property has been removed
6+
[main] Obsolete QueryEndpoint's members have been removed
7+
[main] Obsolete Query's members have been removed
8+
[main] Obsolete members of DelayedScalarQuery<T> have been removed
9+
[main] Obsolete FieldInfo.IsDynalicallyDefined property's been removed (FieldInfo.IsDynamicallyDefined is still there)
10+
[main] Some EventArgs inheritors that were sealed classes transformed to read-only structures
11+
[main] DbCommandEventArgs became read-only structure
12+
[main] SqlCustomFunctionCall and SqlFunctionCall share one base type
13+
[main] SqlFunctionCall.Arguments property is IReadOnlyList now and parameters can't be changed after instance creation
14+
[main] Xtensive.Sql.Dml.Extensions.IsNullReference() extension method is marked obsolete, use 'is null' operator instead
15+
[main] BitFaster.Caching package reference is updated to 1.0.7
16+
[main] No error caused by ambiguity due to new IQueryable extension methods of .Net 6
17+
[reprocessing] DomainBuildErrorEventArgs (not sealed) became read-only structure
18+
[reprocessing] ExecuteErrorEventArgs (not sealed) became read-only structure
19+
[tracking] TrackingCompletedEventArgs (sealed) became read-only structure
20+
[Web] Removed Obsolete SessionManager and StartupConfigurationExtension

0 commit comments

Comments
 (0)