Mysql-replication

Latest version: v1.0.9

Safety actively analyzes 679296 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 14

5.0.1

- Added tests now include php 7.2 and MariaDb 10.3
- Added truncate table test (37)
- Added MariaDb events ids to const
- Added filtering dummy events generated by MariaDB
- Added missing throws in BasicTest

5.0.0

- Removed unused classes from code and merged some classes to one class
- Added ability in MySQLReplicationFactory to provide implementations interfaces in constructor. This will give ability to replace default classes to your own
- Added Config to MySQLReplicationFactory constructor (35)
- Changed register subscriber to accept interface of EventSubscriberInterface over EventSubscribers class (36)
- Changed moved exception messages to main exception class
- Changed psr-2 "elseif " replaced to "else if"
- Fixed 5.7 json column deserialization for null value + tests
- Changed minor refactoring in classes

4.0.0

- Removed unused (probably?) classes ConfigService, BinaryDataReaderService
- Changed Event class broke into smaller methods to be cleaner
- Added some unit test
- Added BinLogCurrent to keep current binlogFile, binlog position and gtid also added example how to resume script based on this data
- Moved to php 5.6 sorry.. the future is now ;)

3.0.1

- Fixed in config filter_var validation if 0 given
- Changed if bin log and bin log file not given then use master otherwise given data will be send to master
- Fixed isCheckSum mysql returns string NONE not an empty array and mariaDbGtid fix (tx to kobi97)
- Added travis mysql 5.6 and 5.7 env
- Removed mariaDB support for query event
- Fixed clear table map cache after rotate event

3.0.0

- Added Cache interfaces for table info
- Changed examples to use ConfigBuilder
- Changed BinLogSocketConnect to separate sockets handling to another class + added interface for socket class
- Changed tests namespace to MySQLReplication
- Changed all exception messages moved to MySQLReplicationException
- Added CHANGELOG.md
- Simplify many classes and removed some of them
- Added decorators for server version recognition
- Changed if datetime not recognised will return null (0000-00-00 00:00:00 is invalid date)
- Added 'custom' param to config if some custom params must be set in extended/implemented own classes
- Added new tests
- Changed Repository $schema to $database
- Changed - YEAR = 0 will return null not 1900
- Removed Exception from Columns class
- Added format description event
- Changed inserts to not existing tables/columns will be returned as WriteEvent with empty Fields (see BasicTest::shouldGetWriteEventDropTable)
- Changed TABLE_MAP_EVENT will no longer appear after adding events to only/ignore configuration
- Fixed events with dropped columns will return a proper columns amount
- Changed configuration to static calls
- Removed absolute method getConnection from repository
- Added Heartbeat period and event support

2.2.0

- Removed foreign keys from events

Page 4 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.