diff --git a/CHANGELOG.md b/CHANGELOG.md index 69526d9d8..cfa64a067 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,62 @@ +### Tag v1.8.0 (2024-05-10) +* Fix bug in handling sub events of replication.TransactionPayloadEvent. [#875](https://github.com/go-mysql-org/go-mysql/pull/875) ([froot](https://github.com/froot)) +* CI: Add tests for various MySQL versions. [#870](https://github.com/go-mysql-org/go-mysql/pull/870) ([dveeden](https://github.com/dveeden)) +* Fix 'invalid compressed sequence' error, issue #871. [#872](https://github.com/go-mysql-org/go-mysql/pull/872) ([dvilaverde](https://github.com/dvilaverde)) +* Fixing bad connection error when reading large compressed packets. [#863](https://github.com/go-mysql-org/go-mysql/pull/863) ([dvilaverde](https://github.com/dvilaverde)) +* Collation in auth handshake are 1-byte. [#865](https://github.com/go-mysql-org/go-mysql/pull/865) ([dvilaverde](https://github.com/dvilaverde)) +* Use new terms for replication on MySQL 8.4.0. [#867](https://github.com/go-mysql-org/go-mysql/pull/867) ([dveeden](https://github.com/dveeden)) +* CI: Fix warning about restore cache failure. [#869](https://github.com/go-mysql-org/go-mysql/pull/869) ([dveeden](https://github.com/dveeden)) +* CI: Update ci workflow. [#868](https://github.com/go-mysql-org/go-mysql/pull/868) ([dveeden](https://github.com/dveeden)) +* Set read deadline for new conection to fix handshake stuck. [#861](https://github.com/go-mysql-org/go-mysql/pull/861) ([tangenta](https://github.com/tangenta)) +* Allow setting the collation in auth handshake. [#860](https://github.com/go-mysql-org/go-mysql/pull/860) ([dvilaverde](https://github.com/dvilaverde)) +* Fix close canal client panic if use Execute after mysql host down. [#858](https://github.com/go-mysql-org/go-mysql/pull/858) ([tomwei7](https://github.com/tomwei7)) +* Fix: (*RowsEvent).handleUnsigned() panic. [#856](https://github.com/go-mysql-org/go-mysql/pull/856) ([equnchen](https://github.com/equnchen)) +* Fix comparison bug in MariadbGTIDSet.Equal() function. [#853](https://github.com/go-mysql-org/go-mysql/pull/853) ([okJiang](https://github.com/okJiang)) +* Separate serverID of Mariadb GTID set. [#852](https://github.com/go-mysql-org/go-mysql/pull/852) ([okJiang](https://github.com/okJiang)) +* Tune slice append performance. [#850](https://github.com/go-mysql-org/go-mysql/pull/850) ([hjweddie](https://github.com/hjweddie)) +* Refactor StartBackup to Support Custom Backup Handlers. [#849](https://github.com/go-mysql-org/go-mysql/pull/849) ([doraemonkeys](https://github.com/doraemonkeys)) +* Update client pool logic. [#846](https://github.com/go-mysql-org/go-mysql/pull/846) ([atercattus](https://github.com/atercattus)) +* Change JSON library to improve performance. [#840](https://github.com/go-mysql-org/go-mysql/pull/840) ([hjweddie](https://github.com/hjweddie)) +* Add support for createIndexStmt and dropIndexStmt. [#844](https://github.com/go-mysql-org/go-mysql/pull/844) ([deadspacewii](https://github.com/deadspacewii)) +* Add OnRowsQueryEvent to EventHandler. [#841](https://github.com/go-mysql-org/go-mysql/pull/841) ([sudevva](https://github.com/sudevva)) +* Update pingcap/tidb parser to new location. [#836](https://github.com/go-mysql-org/go-mysql/pull/836) ([hawkingrei](https://github.com/hawkingrei)) +* Make SyncedTimestamp goroutine-safe. [#835](https://github.com/go-mysql-org/go-mysql/pull/835) ([tsukanov-as](https://github.com/tsukanov-as)) +* Add comment about golang type of RowsEvent.Rows. [#828](https://github.com/go-mysql-org/go-mysql/pull/828) ([lance6716](https://github.com/lance6716)) +* Update pingcap/tidb parser to new location. [#834](https://github.com/go-mysql-org/go-mysql/pull/834) ([morgo](https://github.com/morgo)) +* Add a optional function to decode optional meta of table map event. [#833](https://github.com/go-mysql-org/go-mysql/pull/833) ([zing22845](https://github.com/zing22845)) +* Skip decoding of excluded table rows. [#831](https://github.com/go-mysql-org/go-mysql/pull/831) ([mcuelenaere](https://github.com/mcuelenaere)) +* Add EventCacheCount as member of BinlogSyncerConfig to limit streamer's event channel size. [#830](https://github.com/go-mysql-org/go-mysql/pull/830) ([zing22845](https://github.com/zing22845)) +* Feat: handle subevents in transaction payload event. [#827](https://github.com/go-mysql-org/go-mysql/pull/827) ([hjweddie](https://github.com/hjweddie)) +* Feat:add code comments & refactor mysql config constant. [#826](https://github.com/go-mysql-org/go-mysql/pull/826) ([CocaineCong](https://github.com/CocaineCong)) +* Add String() for FieldValue. [#825](https://github.com/go-mysql-org/go-mysql/pull/825) ([lance6716](https://github.com/lance6716)) +* Fix typo: expectSequnceNumber -> expectSequenceNumber. [#824](https://github.com/go-mysql-org/go-mysql/pull/824) ([gaaf](https://github.com/gaaf)) +* Refactor: modify the form of variable declarations. [#822](https://github.com/go-mysql-org/go-mysql/pull/822) ([CocaineCong](https://github.com/CocaineCong)) +* Add GTIDEvent interface to get the SequenceNumber and LastCommitted. [#818](https://github.com/go-mysql-org/go-mysql/pull/818) ([cameron-p-m](https://github.com/cameron-p-m)) +* Add function to parse 'extradata’ in rows event. [#817](https://github.com/go-mysql-org/go-mysql/pull/817) ([chungeun-choi](https://github.com/chungeun-choi)) +* Fix: prevent panic on malformed handshake. [#819](https://github.com/go-mysql-org/go-mysql/pull/819) ([btoonk](https://github.com/btoonk)) +* Add VisibilityBitmap to TableMapEvent in replication. [#813](https://github.com/go-mysql-org/go-mysql/pull/813) ([dongwook-chan](https://github.com/dongwook-chan)) +* Tests: select testdb and use MySQL 8.0 by default. [#789](https://github.com/go-mysql-org/go-mysql/pull/789) ([dveeden](https://github.com/dveeden)) +* Fix: constant name mismatch. [#805](https://github.com/go-mysql-org/go-mysql/pull/805) ([lengdavid](https://github.com/lengdavid)) +* Change unit test framework to https://github.com/stretchr/testify. [#803](https://github.com/go-mysql-org/go-mysql/pull/803) ([lance6716](https://github.com/lance6716)) +* Client: add close method for client pool. [#797](https://github.com/go-mysql-org/go-mysql/pull/797) ([RainJoe](https://github.com/RainJoe)) +* Bump golang.org/x/text from 0.3.6 to 0.3.8. [#802](https://github.com/go-mysql-org/go-mysql/pull/802) ([dependabot[bot]](https://github.com/apps/dependabot)) +* Switch zstd library to allow build on arm64 and amd64. [#801](https://github.com/go-mysql-org/go-mysql/pull/801) ([dveeden](https://github.com/dveeden)) +* Support LOCAL INFILE request. [#798](https://github.com/go-mysql-org/go-mysql/pull/798) ([masahide](https://github.com/masahide)) +* Support MySQL Compressed Protocol. [#787](https://github.com/go-mysql-org/go-mysql/pull/787) ([dveeden](https://github.com/dveeden)) +* Add test for attributes. [#790](https://github.com/go-mysql-org/go-mysql/pull/790) ([dveeden](https://github.com/dveeden)) +* Set library specific connection attributes. [#788](https://github.com/go-mysql-org/go-mysql/pull/788) ([dveeden](https://github.com/dveeden)) +* Add support for MariaDB compressed binlog events. [#786](https://github.com/go-mysql-org/go-mysql/pull/786) ([monder](https://github.com/monder)) +* Fix: should use column index to set null bitmap when building binary resultset. [#780](https://github.com/go-mysql-org/go-mysql/pull/780) ([luyui](https://github.com/luyui)) +* Mysql8 auth compatibility. [#781](https://github.com/go-mysql-org/go-mysql/pull/781) ([atercattus](https://github.com/atercattus)) +* Fix: server/handshake_resp_test.go 's mysql doc link can't be opened. [#782](https://github.com/go-mysql-org/go-mysql/pull/782) ([zhiiw](https://github.com/zhiiw)) +* Support for PARTIAL_UPDATE_ROWS_EVENT binlog event and PARTIAL_JSON mode. [#774](https://github.com/go-mysql-org/go-mysql/pull/774) ([atercattus](https://github.com/atercattus)) +* Canal: use localhost option. [#777](https://github.com/go-mysql-org/go-mysql/pull/777) ([AleksandrShibanov](https://github.com/AleksandrShibanov)) +* Update CI Ubuntu image version and increase timeout. [#779](https://github.com/go-mysql-org/go-mysql/pull/779) ([lance6716](https://github.com/lance6716)) +* This fixes issue #34. Using the wrong hostname. [#36](https://github.com/go-mysql-org/go-mysql/pull/36) ([gdey](https://github.com/gdey)) +* Decoding of compressed binlog events. [#773](https://github.com/go-mysql-org/go-mysql/pull/773) ([dveeden](https://github.com/dveeden)) +* Update Terminology. [#772](https://github.com/go-mysql-org/go-mysql/pull/772) ([dveeden](https://github.com/dveeden)) +* Allow to run all tests with mysql:8. [#765](https://github.com/go-mysql-org/go-mysql/pull/765) ([atercattus](https://github.com/atercattus)) + ### Tag v1.7.0 (2023-01-31) * Replication - just return an error not logging it. [#764](https://github.com/go-mysql-org/go-mysql/pull/764) ([atercattus](https://github.com/atercattus)) * Binlogsyncer: Format config in logs. [#763](https://github.com/go-mysql-org/go-mysql/pull/763) ([dveeden](https://github.com/dveeden)) diff --git a/README.md b/README.md index 821d63c3a..926c1532d 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,10 @@ A pure go library to handle MySQL network protocol and replication. ## How to migrate to this repo To change the used package in your repo it's enough to add this `replace` directive to your `go.mod`: ``` -replace github.com/siddontang/go-mysql => github.com/go-mysql-org/go-mysql v1.7.0 +replace github.com/siddontang/go-mysql => github.com/go-mysql-org/go-mysql v1.8.0 ``` -v1.7.0 - is the last tag in repo, feel free to choose what you want. +v1.8.0 - is the last tag in repo, feel free to choose what you want. ## Changelog This repo uses [Changelog](CHANGELOG.md).