jennifer v0.8.4 Release Notes
Release Date: 2019-11-15 // over 4 years ago-
๐ Changes
QueryBuilder
- ๐ use adapter's
#read_column
inNestedRelationTree
- โ add
RelationTree#adapter
- ๐ fix
Ordering#order(Hash(String | Symbol, String | Symbol))
Adapter
- ๐ fix issue with treating
tinyint
mysql field asboolean
- remove
ResultParser#result_to_array
- โ add
Mysql#read_column
- add
Base.default_max_bind_vars_count
which returns default maximum count of bind variables that can be used inBase#bulk_insert
(default is 32766) Mysql.default_max_bind_vars_count
andPostgres.default_max_bind_vars_count
returns32766
- ๐
Base#bulk_insert
doesn't do table lock no more - if variables that should be inserted by
Base#bulk_insert
exceedBase.max_bind_vars
all of them are quoted and put into a query - โ remove
BaseSQLGenerator::ARRAY_ESCAPE
- move
BaseSQLGenerator::ARGUMENT_ESCAPE_STRING
toQuoting
- move
BaseSQLGenerator
.quote
,.escape_string
,.filter_out
toQuoting
- โ add correct values quoting for
postgres
adapter - โ add correct values quoting for
mysql
adapter - โช now logger writes
BEGIN
instead ofTRANSACTION START
,COMMIT
instead ofTRANSACTION COMMIT
andROLLBACK
instead ofTRANSACTION ROLLBACK
on corresponding transaction commands - โ add
SchemaProcessor::FkEventActions
enum to validateon_delete
andon_update
action values;String | Symbol
still should be used as an argument type everywhere
Config
- add
max_bind_vars_count
property to present maximum allowed count of bind variables to be used in bulk insert operation - add
MigrationFailureHandler
enum to validatemigration_failure_handler_method
value;Symbol | MigrationFailureHandler
should be used as an argument for it - fix
migration_failure_handler_method
config - make it instance property
- ๐ use adapter's