PropertyValueAttributes, Bug Fixes, Enhancements, Requests, Upgrades
This release has included the recent bug fixes, enhancements, community pull-requests, requests and upgrades.
Credits
Thank you to our contributors and to all the collaborators.
Contributors
-
@SergerGood - Sergei Khlebnikov - special thanks to you man π ππΌββοΈ
- Added benchmarks for Linq2Db #804
- Small optimizations #805
- using the is pattern expression #806
- TextAttibute was deleted #809
- AutomaticConvert == Convert.ChangeType #810
- upgrade packages #811
- Support net5 #815
- using new language features #817
- fixed some allocations #818
- QueryBuilder work with StringBuilder #819
- Fixed tests after change QueryBuilder #820
- Collections used for contains are replaced with HashSet #827
- Using strings for Concat #828
- GetHashCode without Sting.Concat #829
- Upgrade packages #830
- Unnecessary allocation #833
- Async enumerable #834
- Removed unnecessary calls the methode GetHashCode #835
- replace Activator.CreateInstance() with new T() #841
- Using Comparer for OrderBy #842
- More optimal use of method String.IndexOf #843
- More optimal use of methods String.StartsWith and String.EndsWith #844
- More optimal use of method String.Contains #845
- Use readonly struct for less allocations #846
- Typed mappers #848
- Upgrade packages #852
- GetHashCode for own type #853
-
- [WIP] Postgres enum <-> .Net enum #855
Collaborators
For our active collaborators on this release:
For the other collaborators of this release (filing the Issues/Bugs, Questions, Recommendations, Verification/Validations, etc)
- @AngelMunoz
- @asleire
- @atresnjo
- @davidrot
- @baffourt
- @casperOne
- @codeweb
- @Dean-NC
- @gloriousjob
- @JanBrandenburger-LSF
- @JordanMarr
- @jvopalensky
- @Kaizer69
- @kiwidude68
- @LucaGabi
- @MatejMarecek
- @mslancashire
- @mhesham93
- @nandaccio
- @seongguk2i
- @Simon-Carr
- @SpaceOgre
- @veenroid
- @vilijatr
- @VincenzoCarlino
- @Xhanti
Please continue to do so and many thanks!
RepoDB (v1.12.8)
- NETSTANDARD2.0: Added the
Microsoft.Bcl.AsyncInterfaces v5.0.0
package. - NETSTANDARD2.0: Added the
Microsoft.Bcl.HashCode v1.1.1
package. - Added the
System.Linq.Async v5.0.0
package. - Added the
net5.0
as part of the target frameworks. - Bug: Dynamic insertion via
Dictionary<string, object>
is failing #791. - Bug:
IsDictionaryStringObject()
does not work in F# #789. - Bug: An identify field parameter issue is being thrown when invoking the MergeAll operation dynamically #849.
- Bug: A SQL syntax issue is being thrown if the BulkMerge is called with multiple qualifiers #850.
- Bug: Output parameters of type varchar gives
Size
exception #836. - Bug: Calls to any operation throws an object
NullReferenceException
if not properly initialized. #861. - Bug: Different lambdas in QueryAsync generate the same SQL expression (cache problem) #782.
- (Rebuilt Only) Bug: OrderField ignores MapAttribute #769
- Bug: OrderField ignores MapAttribute #769
- Bug: Querying by string field fails in VB .Net #767
- Bug: Insert exception since 1.1.3 with mysql... #765
- Enhancement: Added the
Size
property into the DirectionalQueryField object. - Enhancement: Exposed the
Type
property of the DirectionalQueryField object. - Enhancement: Added the
NULL
comparer as part of the qualifiers on the MergeAll, UpdateAll, BulkMerge and BulkUpdate operations. - Enhancement: Made the QueryGroup.GetString() method virtual.
- Enhancement: Added the QueryField.GetString() method (as virtual).
- Enhancement: Make the DbRepository.CreateConnection() method virtual. #856
- Enhancement: Made the
CreateConnection()
method of the BaseRepository class virtual. - Enhancement: Enhancement: Add an additional property on the DbField class that handles the DB Provider. #890
- Enhancement: Added the PropertyValueAttribute attribute class.
- Enhancement: Create a base class for the Type Map attributes (NpgsqlTypeMapAttribute, MySqlTypeMapAttribute, MicrosoftSqlServerTypeMapAttribute and SystemSqlServerTypeMapAttribute) #873.
- Enhancement: Add the attribute-based parameter setters for the
DbParameter
object. #886 - Enhancement: Add a mapper for PropertyValueAttribute #887
- Enhancement: Added the DbTypeAttribute attribute.
- Enhancement: Added the DirectionAttribute attribute.
- Enhancement: Added the IsNullableAttribute attribute.
- Enhancement: Added the NameAttribute attribute.
- Enhancement: Added the PrecisionAttribute attribute.
- Enhancement: Added the ScaleAttribute attribute.
- Enhancement: Added the SizeAttribute attribute.
- Enhancement: Added the PropertyValueAttributeMapper class.
- Enhancement: Added the PropertyValueAttributeCache class.
- Enhancement: Added the PropertyValueAttributeResolver class.
- Enhancement: Added the
PropertyValueAttributes()
method on the FluentMapper class. - Enhancement: Introduce the formatters for the QueryField class 899)
RepoDB.SqlServer (v1.1.4)
- Added the
net5.0
as part of the target frameworks. - Upgraded the
RepoDb
package tov1.12.8-beta5
. - Upgraded the
System.Data.SqlClient
package tov4.8.3
. - Deprecated both the MicrosoftSqlServerTypeMapAttribute and SystemSqlServerTypeMapAttribute attributes.
- Added the CompareInfoAttribute attribute. #884
- Added the ForceColumnEncryptionAttribute attribute. #884
- Added the LocaleIdAttribute attribute. #884
- Added the OffsetAttribute attribute. #884
- Added the SqlDbTypeAttribute attribute. #884
- Added the TypeNameAttribute attribute. #884
- Added the UdtTypeNameAttribute attribute. #884
- Added the XmlSchemaCollectionDatabaseAttribute attribute. #884
- Added the XmlSchemaCollectionNameAttribute attribute. #884
- Added the XmlSchemaCollectionOwningSchemaAttribute attribute. #884
- Enhancement: Add the attribute-based parameter setters for the
DbParameter
object. #886
RepoDB.SqlServer.BulkOperations (v1.1.4)
- Bug: BulkMergeAsync with multiple qualifiers #864
- Added the
net5.0
as part of the target frameworks. - Upgraded the
RepoDb
package tov1.12.8-beta5
. - Upgraded the
RepoDb.SqlServer
package tov1.1.4-beta4
.
RepoDB.SqlServer.BulkOperations (v1.1.3)
- Bug: Identity Values not set correctly with Bulk Insert from Sql Server due to Incorrect Sorting of data. #691
- The
hints
argument is removed from the BulkInsert viaDbDataReader
. - Added the
WriteToServer
method to cater the ordered resultset of the__RepoDb_OrderColumn
custom column.
RepoDB.PostgreSql (v1.1.3)
- Added the
net5.0
as part of the target frameworks. - Upgraded the
RepoDb
package tov1.12.8-beta5
. - Upgraded the
Npgsql
package tov5.0.10
. - Bug: Does Postgresql support querying on enums in non-raw form? #787.
- Bug: CountAsync (PostgreSql) fails when querying by Enum. #798.
- Bug: Anonymous record Insert fails if no id is provided #796.
- Bug: RepoDb.Exceptions.PrimaryFieldNotFoundException: The non-identity primary field must be present during insert operation. #786.
- Bug: The ENUM type of Postgre (DB) is not being handled properly in RepoDb.PostgreSql. #395 #854.
- Bug: Exception on Merge (PostgreSQL) #776.
- Enhancement: Added the ConvertedValueAttribute attribute. #884
- Enhancement: Added the DataTypeNameAttribute attribute. #884
- Enhancement: Added the NpgsqlDbTypeAttribute attribute. #884
- Enhancement: Deprecated the NpgsqlTypeMapAttribute attribute. #884
- Enhancement: Moved the
PostgreSqlDbSetting
toRepoDb.DbSettings
namespace. - Enhancement: Add the attribute-based parameter setters for the
DbParameter
object. #886
RepoDB.SqLite (v1.1.3)
- Upgraded the
RepoDb
package tov1.12.8-beta5
. - Upgraded the
Microsoft.Data.Sqlite
package tov5.0.10
. - Upgraded the
System.Data.SQLite.Core
package tov1.0.115
. - Added the
net5.0
as part of the target frameworks. - Bug: SQLite PrimaryKey with
AUTOINCREMENT
not recognized #802 - Bug: SQLite Identity field cannot identified #790
- Enhancement: Added the SqliteTypeAttribute attribute. #884
- Enhancement: Added the TypeNameAttribute attribute. #884
- Enhancement: Add the attribute-based parameter setters for the
DbParameter
object. #886
RepoDB.MySql (v1.1.4)
- Added the
net5.0
as part of the target frameworks. - Upgraded the
RepoDb
package tov1.12.8-beta5
. - Bug: Exception on Merge (PostgreSQL) #776. RELATED
- Enhancement: Added the MySqlDbTypeAttribute attribute. #884
- Enhancement: Deprecated the MySqlTypeMapAttribute attribute.
- Enhancement: Moved the
MySqlDbSetting
toRepoDb.DbSettings
namespace. - Enhancement: Add the attribute-based parameter setters for the
DbParameter
object. #886
RepoDB.MySqlConnector (v1.1.3)
- Upgraded the
MySqlConnector
package tov1.3.12
. - Upgraded the
RepoDb
package tov1.12.8-beta5
. - Added the
net5.0
as part of the target frameworks. - Enhancement: Added the MySqlDbTypeAttribute attribute. #884
- Enhancement: Deprecated the MySqlConnectorTypeMapAttribute attribute.
- Enhancement: Moved the
MySqlConnectorDbSetting
toRepoDb.DbSettings
namespace. - Enhancement: Add the attribute-based parameter setters for the
DbParameter
object. #886 - Bug: Exception on Merge (PostgreSQL) #776. RELATED
- Wrong ordinal for Nullable filed information in MySqlConnectorDbHelper.ReaderToDbFieldAsync #780