Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: krowinski/php-mysql-replication
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.0.0
Choose a base ref
...
head repository: krowinski/php-mysql-replication
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 19 commits
  • 91 files changed
  • 14 contributors

Commits on Mar 9, 2021

  1. Fix for negative number handling (DECIMAL -51.1234 could not read). (#80

    )
    
    * Fix for negative number handling (DECIMAL -51.1234 could not read). This seems to fix it.
    Inspired by fengxiangyun/mysql-replication@a9da836
    dominiquegerber authored Mar 9, 2021
    Configuration menu
    Copy the full SHA
    cc89cda View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    krowinski authored Mar 9, 2021
    Configuration menu
    Copy the full SHA
    2872cfe View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2021

  1. Update README.md

    typo
    krowinski authored Mar 10, 2021
    Configuration menu
    Copy the full SHA
    4107322 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Fix JsonBinaryDecoder when there is NULL in data or if there is long …

    …array with small numbers (#96)
    
    Thank you
    matyx authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    4ea690f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    95f852a View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. New release (#104)

    * - Change: drop support for < 8.2
    - Change: moved to enums, promoted properties
    - Added: logger for more socket info
    - Added: slave_uuid support
    - Change: config no longer static
    - Chore: typos in README/code
    - Chore: replace/remove old urls from code
    - Chore: changed variables to underscore
    - Added: support caching_sha2_password
    - Change: BinLogServerInfo static calls removed also added method getServerInfo to MySQLReplicationFactory
    krowinski authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    9202753 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. Configuration menu
    Copy the full SHA
    d9107c8 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Configuration menu
    Copy the full SHA
    79085c5 View commit details
    Browse the repository at this point in the history
  2. Symfony Backward Compatibility (#113)

    * Remove symfony/dependency-injection dependency - it is unused
    
    * Enable backward compatibility to symfony 6
    DZunke authored Mar 13, 2024
    Configuration menu
    Copy the full SHA
    c2c2ea7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6150f0e View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Configuration menu
    Copy the full SHA
    a60da9f View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2024

  1. Configuration menu
    Copy the full SHA
    3c365e8 View commit details
    Browse the repository at this point in the history
  2. feat: update logging level to debug (#126)

    Co-authored-by: Deeka Wong <[email protected]>
    huangdijia and huangdijia authored Dec 23, 2024
    Configuration menu
    Copy the full SHA
    00c4b8d View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2025

  1. Configuration menu
    Copy the full SHA
    a7f7f00 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a251b5 View commit details
    Browse the repository at this point in the history
  3. Run tests with multiple php and mysql versions (#136)

    * Updating workflow
    
    * Add query for MySQL 8.4
    cgrabenstein authored Apr 18, 2025
    Configuration menu
    Copy the full SHA
    7a94fef View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    36e95c3 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2025

  1. Fix MySQL 8.4.0 and DBAL 4.x compatibility issues (#137)

    * fix #115 for mysql 8.0.0
    
    * fix #115 for mysql 8.4.0
    
    * fix #115 for mysql 8.4.0 phpunit test
    
    * fix issue #125
    
    * change to hetao29
    
    * Fix PHP 8.4 deprecation: Implicitly marking parameter as nullable is deprecated, the explicit nullable type must be used instead
    
    * change to krowinski
    
    * Fix maintainer feedback: always return strings from readInt64/unpackUInt64
    
    - Changed readInt64() to always return string instead of string|int
    - Changed unpackUInt64() to always return string instead of string|int
    - Changed readUInt64() return type to string for consistency
    - Applied code style fixes with composer cs:fix
    - Fixes failing tests: testShouldReadInt64 and testShouldPack64bit
    
    Addresses maintainer feedback from PR #116 regarding MySQL 8.4.0 compatibility.
    
    * Fix DBAL 4.x compatibility issue in testShouldReconnect
    
    In DBAL 4.x, Doctrine\DBAL\Exception became an interface instead of a concrete class.
    The test was trying to instantiate 'new Exception('')' which fails with
    'Cannot instantiate interface Doctrine\DBAL\Exception'.
    
    Fixed by using ConnectionException mock which implements the Exception interface,
    preserving the exact same test logic and coverage as the original DBAL 3.x version.
    
    * Fix MySQLRepository for DBAL 4.x compatibility
    
    Remove manual connection reconnection logic since DBAL 4.x handles
    reconnection automatically. The connect() method became protected
    in DBAL 4.x, causing 'Call to protected method' errors.
    
    Changes:
    - Removed manual ping/close/connect logic from getConnection()
    - DBAL 4.x automatically handles lost connections and reconnection
    - Kept ping() method as required by PingableConnection interface
    
    This fixes the repository to work with DBAL 4.x while maintaining
    the same functionality.
    
    ---------
    
    Co-authored-by: hetao <[email protected]>
    Co-authored-by: HeTao <[email protected]>
    3 people authored Jun 25, 2025
    Configuration menu
    Copy the full SHA
    635b8a5 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2025

  1. Configuration menu
    Copy the full SHA
    0ca0094 View commit details
    Browse the repository at this point in the history
Loading