Skip to content

Maria merge #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 255 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
255 commits
Select commit Hold shift + click to select a range
08e02ad
Merge remote-tracking branch 'shyiko/pr/288'
osheroff Apr 24, 2020
a851c19
Merge remote-tracking branch 'shyiko/pr/275'
osheroff Apr 24, 2020
4a7de10
update pom.xml with fork info
osheroff Apr 24, 2020
83e28a4
add deploy notes
osheroff Apr 24, 2020
2a034d3
add 0.22.0 notes
osheroff Apr 24, 2020
73afc83
oops, remove runtime dep on sonatype
osheroff Apr 24, 2020
4437b71
fixes for JSON objects inside JSON objects
osheroff Apr 26, 2020
1dd27a6
move from vagrant setup to onetimeserver setup
osheroff Apr 26, 2020
38e317d
add circleci config
osheroff Apr 26, 2020
dce6066
test circleCI
osheroff Apr 26, 2020
7e95e4a
get rid of javax.xml dependency, target java 8
osheroff Apr 26, 2020
95d80b2
remove the other instance of javax.xml
osheroff Apr 26, 2020
32b457a
get rid of checkstyle & coverage
osheroff Apr 26, 2020
1811e45
skip GTID tests on 5.5. better way of setting up GTID.
osheroff Apr 27, 2020
bf28578
rename pipeline to 8.0
osheroff Apr 27, 2020
1771e96
skip GTID on 5.5
osheroff Apr 27, 2020
ecd1139
re-enable 8.0 check
osheroff Apr 27, 2020
1452ab9
fix merge
osheroff Apr 27, 2020
75b5de5
fix package name
auntyellow Apr 28, 2020
2c33620
bump tests under 8.0.19
osheroff Apr 28, 2020
8c027a0
Merge pull request #1 from auntyellow/master
osheroff Apr 29, 2020
81ba863
update changelog
osheroff Apr 29, 2020
e775757
make releases automatic
osheroff Apr 30, 2020
620c10b
add integration test for mysql 8.0 json partial update
osheroff May 1, 2020
16329a7
fix maven compiler args
osheroff May 1, 2020
8e83bd9
add in some tests around the mysql 8.0.19 gaps
osheroff May 1, 2020
430c446
gitignore vim stuff
osheroff May 1, 2020
13648df
remove vagrant stuff
osheroff May 1, 2020
01476e2
prevent TableMapEventData hash from growing unbounded.
osheroff May 1, 2020
04f8d49
fix bugs exposed by adding array test
osheroff May 1, 2020
0d9905e
Merge pull request #3 from osheroff/ben/fix_array_gaps_too
osheroff May 1, 2020
664cd18
Merge pull request #2 from osheroff/ben/lru_cache
osheroff May 1, 2020
68bb36c
Merge branch 'master' into mysql8_auth
osheroff May 2, 2020
23d2c01
add mysql 8 auth test
osheroff May 2, 2020
b70895c
response with plugin-auth, deal with empty password on auth-switch
osheroff May 2, 2020
6e52314
WIP: authenticator refactor
osheroff May 2, 2020
4a08f0d
move packet number ownership into PacketChannel
osheroff May 2, 2020
49ed9ab
wait for tests longer
osheroff May 2, 2020
2cfcc59
try some debug logging
osheroff May 3, 2020
35fa10f
remove superfluous extra event listeners
osheroff May 3, 2020
9c999c7
fix test race condition.
osheroff May 3, 2020
7fa1f09
Merge pull request #4 from osheroff/packetnumber_refactor
osheroff May 3, 2020
23b7bfe
Merge remote-tracking branch 'origin/master' into mysql8_auth
osheroff May 3, 2020
148ce23
finish refactor into Authenticator class, more sequence-number fixes
osheroff May 3, 2020
9bc7705
mysql 8 authentication: first passing test.
osheroff May 3, 2020
ce680a8
finish off slow path for caching_sha2_authentication
osheroff May 4, 2020
f84cfde
make the tests play nice with each other
osheroff May 5, 2020
02bd10b
code clean-up; unify XOR code, switch some arguments around
osheroff May 5, 2020
48fe686
use the already existing `writeZeroTerminatedString`
osheroff May 5, 2020
3810fcd
downgrade logging to debug level
osheroff May 5, 2020
b33e8ab
fix EOFError crash in test suite
osheroff May 6, 2020
6d64f1d
Merge pull request #5 from osheroff/mysql8_auth
osheroff May 6, 2020
5f8e7b5
bump version
osheroff May 12, 2020
1a00ac2
remove unused var
osheroff May 12, 2020
d1395ed
rework resultset error handling
osheroff May 12, 2020
366ce9e
Merge pull request #6 from osheroff/better_errors
osheroff May 26, 2020
073532e
v0.23.1
osheroff May 26, 2020
f546e2e
propagate all exceptions that occur in binary log client
crispmark Jul 23, 2020
d3c019e
added integration test
crispmark Jul 24, 2020
39ea1e6
Merge pull request #9 from crispmark/propagate-exceptions
osheroff Jul 25, 2020
4862319
fixed auth exception test
crispmark Jul 25, 2020
dfd5621
Merge pull request #10 from crispmark/fix-auth-exception-test
osheroff Jul 26, 2020
2e6147b
v0.23.2
osheroff Jul 26, 2020
9764d2e
update new maven slug
osheroff Aug 5, 2020
8ca21a4
update maven url
auntyellow Aug 9, 2020
8204086
Merge pull request #11 from auntyellow/master
osheroff Aug 15, 2020
7d6d123
add EventDeserializer.CompatibilityMode.INTEGER_AS_BYTE_ARRAY impl.
zzt93 Oct 24, 2020
09e9e64
add testDeserializationOfIntegerAsByteArray in BinaryLogClientIntegra…
zzt93 Oct 25, 2020
45586e8
recover onetimeserver script.
zzt93 Oct 25, 2020
9e2fb39
DBZ-2499: Debezium Connectors are failing while reading binlog: Unkno…
morozov Oct 27, 2020
9e4208c
Merge pull request #23 from morozov/DBZ-2499
osheroff Oct 29, 2020
712ce17
fix tests
osheroff Oct 29, 2020
30cb49b
Merge branch 'pr/21'
osheroff Oct 29, 2020
b4aaed2
v0.23.3
osheroff Oct 29, 2020
a0a65cd
Add Auth Plugin Name to for native password auth to fix Azure connect…
redcape Jan 16, 2021
fec2fe6
Merge pull request #27 from redcape/master
osheroff Jan 16, 2021
ed9336a
v0.23.4
osheroff Jan 17, 2021
fc2da16
wip: new tls verifier so we can upgrade to jvm 11
osheroff Jan 22, 2021
174798b
move test off mysqlx port
osheroff Jan 22, 2021
200cb75
Merge branch 'master' into replace_tls_hostname_verifier
osheroff Jan 22, 2021
b912bbb
add some logging, build for jdk 11
osheroff Jan 23, 2021
e2c05f6
remove dead config
osheroff Jan 23, 2021
c72e356
bump maven-compiler, maven-source plugin
osheroff Jan 23, 2021
cd618db
update version in README.md
osheroff Jan 25, 2021
795ce90
Merge pull request #28 from osheroff/replace_tls_hostname_verifier
osheroff Feb 4, 2021
47466e7
version 0.24.0
osheroff Feb 4, 2021
9519b3c
correct maven-source-plugin version
osheroff Feb 5, 2021
0953a3f
slog through and cleanup javadoc warnings
osheroff Feb 5, 2021
d475cb4
Provide fast skip method implementation
jpechane Feb 18, 2021
02f1eda
Add support for blocks
jpechane Mar 1, 2021
c3c5c34
Merge pull request #31 from jpechane/array-skip
osheroff Mar 3, 2021
4aa1fd8
Merge branch 'master' of github.com:osheroff/mysql-binlog-connector-java
osheroff Mar 3, 2021
584b800
v0.24.1
osheroff Mar 3, 2021
891ffee
0.25.0
osheroff Mar 4, 2021
4d1bf9c
update README.md
osheroff Mar 30, 2021
67e6a95
move usage up
osheroff Mar 30, 2021
252dead
fix badgey thingy
osheroff Mar 30, 2021
ff9a791
Optimize read operation on ByteArrayInputStream
ramanenka Mar 26, 2021
7773a28
Merge pull request #34 from ramanenka/optimize-read-array-in-bytearra…
osheroff Apr 20, 2021
6fc750f
v0.25.1
osheroff Apr 20, 2021
532f474
Introduce overridable setupConnection() method
elw00d Jun 9, 2021
efcb635
Set DefaultSSLSocketFactory to TLSv1.2 in line with JDK 11.0.11: http…
Jun 15, 2021
84eaf6d
Update version from 0.25.1 to 0.26.0
Jun 16, 2021
5c911b6
Merge pull request #38 from elw00d/master
osheroff Jun 17, 2021
4771a48
Revert "Update version from 0.25.1 to 0.26.0"
Jun 17, 2021
eaa47df
Merge pull request #39 from wjlow/master
osheroff Jun 20, 2021
273fc15
v0.25.2
osheroff Jun 25, 2021
9cc270e
update CHANGELOG
osheroff Jun 25, 2021
3598de7
Adding support Mariadb events, such as GTID and annotate rows event(sql)
Jul 13, 2021
1f27791
refact to support mariadb types
wingerx Jul 15, 2021
486a447
add some doc informations about mariadb
wingerx Jul 16, 2021
ae3c591
#40 Adding support for column visibility as supported by MySQL 8.0.23
gunnarmorling Jun 17, 2021
12f1585
#47 Adding GitHub Actions CI
gunnarmorling Jul 17, 2021
feb9221
Merge pull request #41 from gunnarmorling/40
osheroff Jul 29, 2021
96edcd5
v0.25.3
osheroff Jul 29, 2021
9bf861a
avoid computing lag for events not having timestamp (HEARTBEAT)
jolivares Aug 12, 2021
bd5959d
Add details to the EOF exceptions
morozov Sep 10, 2021
fcb9194
Merge pull request #55 from morozov/eof-details
osheroff Oct 13, 2021
bbf53d7
bump to 0.25.4
osheroff Oct 13, 2021
e503662
update changelog
osheroff Oct 13, 2021
a93b785
Merge pull request #53 from jolivares/master
osheroff Nov 13, 2021
0292696
Process JSON field names using offsets
jpechane Jan 28, 2022
1a560fb
Merge pull request #64 from jpechane/json-8.0
osheroff Jan 28, 2022
9ec6632
bump changelog
osheroff Jan 28, 2022
908b5a1
remove custom deploy stuff
osheroff Mar 24, 2022
3248583
stop crashing in BufferedSocketInputStream#read
osheroff Apr 15, 2022
9b9b9d3
v0.25.6
osheroff Apr 15, 2022
c19b1ad
update changelog
osheroff Apr 15, 2022
51fc0c9
#74 Deserialize table map metadata failed with java.io.EOFException: …
harveyyue Jun 19, 2022
a7f2de3
Add support for compressed binlogs https://issues.redhat.com/browse/D…
Jun 30, 2022
9ad7645
Merge pull request #75 from harveyyue/ISSUE-74
osheroff Jul 14, 2022
524dfb3
Merge pull request #76 from gohandp/master
osheroff Jul 14, 2022
3fcbe9e
v0.26.0
osheroff Jul 15, 2022
334c405
comment out test
osheroff Jul 15, 2022
bcf7a43
actually bump version, chumpstick
osheroff Jul 15, 2022
13378cb
stop holding keepalive lock while waiting for shutdown
osheroff Jul 16, 2022
fee145c
try to get circle back up and running
osheroff Jul 18, 2022
c544bc0
I'm dumb.
osheroff Jul 18, 2022
64ba553
Merge pull request #78 from osheroff/fix_deadlock
osheroff Jul 19, 2022
185fccc
0.26.1
osheroff Jul 19, 2022
87103b0
Updated gitignore
mvelliste Jul 8, 2015
c03860b
Fixed '0000-00-00 00:00:00' dates -> null in binlog
mvelliste Jul 30, 2015
f2452b4
Exceptions thrown in binlog processing will now cause whole update to…
mvelliste Oct 30, 2015
8e0752f
Configure java.util.logging
georgewfraser Dec 4, 2015
fc7bc6d
Deployment
georgewfraser Mar 10, 2016
7c59d43
Ignore target/
georgewfraser Jan 2, 2017
fbce9a3
Don't verify for REQUIRED or PREFERRED
georgewfraser Dec 29, 2016
a485c6d
Latest version
georgewfraser Jan 2, 2017
c13fc72
Update version
georgewfraser Jan 18, 2017
d0fc54c
Fixed top-level JSON null value
mvelliste Jan 31, 2017
7a06077
Updated version
mvelliste Jan 31, 2017
27f53e1
Added json null test
mvelliste Feb 3, 2017
eb1da47
version++
mvelliste Feb 7, 2017
0b3f203
TLSHostnameVerifier uses no longer available API
georgewfraser Oct 2, 2018
52bb8a3
refactor(BinaryLogClient): make binlogChecksum related methods/fields…
glarwood Oct 5, 2018
68619b4
refactor(BinaryLogClient): manually undo fd9f0333b6c28829c1c3d09ac6df…
glarwood Apr 29, 2019
edee5cc
fix(ByteArrayOutputStream): use composed OutputStream#write
glarwood May 13, 2019
4b24ae5
specified year zero condition
fivetran-ellen Oct 12, 2019
dfcb631
fix(AbstractRowsEventDataDeserializer): add microsecond precision for…
glarwood Mar 31, 2020
d5616cf
fix(AbstractRowsEventDataDeserializer): add microsecond precision for…
glarwood Apr 1, 2020
994af2d
Add AURORA_PADDING event types and refactor event types to no longer …
fivetran-mattalexander Oct 12, 2020
da0dbae
Make event id private and final
fivetran-mattalexander Oct 12, 2020
d2a6f70
Create unknown event type for invalid and proprietary event types. Re…
fivetran-shivavanamala Nov 13, 2020
e88feff
Removed AURORA_PADDING event
fivetran-shivavanamala Nov 13, 2020
26a2c5a
Changed the way unknown event type is being created
fivetran-shivavanamala Nov 13, 2020
194d5be
EventType.forId() returns EventType.UNKNOWN if invalid eventId is pas…
fivetran-shivavanamala Nov 19, 2020
ba5bae5
refactor: Removed redundant single line function
fivetran-shivavanamala Nov 19, 2020
028bb39
feature(table_map_event_data_serializer): add support of ColumnVisibi…
zekail Oct 28, 2021
467dbe7
fix(table_map_event_data_serializer): skip deserializing the table ma…
zekail Oct 29, 2021
9bf8e2c
fix(table_map_event_data_serializer): log a message when skipping des…
zekail Oct 29, 2021
e1254f5
fix for json parsing error
IG-ReDCAD Feb 9, 2022
6120bac
Fork BinaryLogClient to FF abortRequest change
fivetran-mattalexander Mar 17, 2022
52542ab
cleanup(mysql): [T-252649] consolidate new abort logic
jmlw May 16, 2022
c3a744e
re-add abort logic on its own (without old deadlock fix)
ashleycoxley Aug 6, 2022
8123277
Merge remote-tracking branch 'origin/master' into wingerx/master
osheroff Aug 12, 2022
1c21400
fixup javadoc stuff
osheroff Aug 12, 2022
67a840e
can we build under maria?
osheroff Aug 12, 2022
5d4c0fd
see about running tests
osheroff Aug 12, 2022
fbc9c73
streamline a touch
osheroff Aug 12, 2022
f2ea85c
oh java
osheroff Aug 12, 2022
85840c3
add --debug
osheroff Aug 13, 2022
6247519
bump
osheroff Aug 13, 2022
988750e
maria fixes in JSON land
osheroff Aug 13, 2022
492c6a4
can maven be quiet plz?
osheroff Aug 13, 2022
7c52c0a
abstract out some tests, shuffle around maria-specific stuff
osheroff Aug 13, 2022
2ae2eb8
refactor: bring mariaDB back into the mainline path
osheroff Aug 14, 2022
9e19267
update README
osheroff Aug 14, 2022
420d192
checkpoint
osheroff Aug 14, 2022
6690878
pre-3
osheroff Aug 22, 2022
8f32e1e
Merge pull request #79 from osheroff/osheroff/mariadb_gtid
osheroff Aug 27, 2022
4c83012
0.27.0
osheroff Aug 27, 2022
c6ab6e0
update CHANGELOG
osheroff Aug 27, 2022
2e4686f
fix test speed
osheroff Aug 27, 2022
eaa9e56
correct mariadb_slave_capability value
osheroff Aug 28, 2022
96446c5
Merge pull request #80 from osheroff/correct_capability
osheroff Aug 28, 2022
faed360
update changelog
osheroff Aug 28, 2022
2774bed
0.27.1
osheroff Aug 31, 2022
561b18a
add client identity method
ashleycoxley Sep 6, 2022
bcd1970
Merge pull request #2 from fivetran/client-identity
ashleycoxley Sep 6, 2022
d76c7ee
implement a better regex for detecting mariadb gtid strs
osheroff Sep 16, 2022
2e65351
Merge pull request #82 from osheroff/more_reliable_gtid
osheroff Sep 16, 2022
1c6b8f9
0.27.2
osheroff Sep 16, 2022
2ea9f6c
pass useSendAnnotate etc through non-gtid commands
osheroff Sep 26, 2022
8bf8973
0.27.3
osheroff Sep 26, 2022
4eb294a
Add MariaDB BINLOG_CHECKPOINT(161) event.
Oct 2, 2022
6dec4fe
Update Databind to Remediate CVE
UcanInfosec Oct 30, 2022
7057e6a
set maria slave capability to 4
osheroff Nov 1, 2022
48dd5f8
0.27.4
osheroff Nov 1, 2022
93b2570
update changelog
osheroff Nov 1, 2022
04f629b
Merge pull request #88 from UcanInfosec/patch-1
osheroff Nov 2, 2022
45572e0
Merge pull request #85 from bluebike/checkpoint-event
osheroff Nov 2, 2022
f1f0e9c
0.27.5
osheroff Nov 2, 2022
ccca397
update CHANGELOG
osheroff Nov 2, 2022
d711ecb
Updated gitignore
mvelliste Jul 8, 2015
c09f444
Fixed '0000-00-00 00:00:00' dates -> null in binlog
mvelliste Jul 30, 2015
e10fa85
Exceptions thrown in binlog processing will now cause whole update to…
mvelliste Oct 30, 2015
e1a873d
Configure java.util.logging
georgewfraser Dec 4, 2015
8b8c2f8
Deployment
georgewfraser Mar 10, 2016
39997e6
Ignore target/
georgewfraser Jan 2, 2017
1369c2f
Latest version
georgewfraser Jan 2, 2017
8487db5
Update version
georgewfraser Jan 18, 2017
f42e8ac
Fixed top-level JSON null value
mvelliste Jan 31, 2017
a8f584b
Updated version
mvelliste Jan 31, 2017
05ac2e5
Added json null test
mvelliste Feb 3, 2017
48c75b3
version++
mvelliste Feb 7, 2017
7bf4e4f
TLSHostnameVerifier uses no longer available API
georgewfraser Oct 2, 2018
c73f9ce
refactor(BinaryLogClient): make binlogChecksum related methods/fields…
glarwood Oct 5, 2018
d06003d
refactor(BinaryLogClient): manually undo fd9f0333b6c28829c1c3d09ac6df…
glarwood Apr 29, 2019
b0370a9
fix(ByteArrayOutputStream): use composed OutputStream#write
glarwood May 13, 2019
336b771
specified year zero condition
fivetran-ellen Oct 12, 2019
cdabe05
fix(AbstractRowsEventDataDeserializer): add microsecond precision for…
glarwood Mar 31, 2020
7b8bba4
fix(AbstractRowsEventDataDeserializer): add microsecond precision for…
glarwood Apr 1, 2020
6b3bb72
Add AURORA_PADDING event types and refactor event types to no longer …
fivetran-mattalexander Oct 12, 2020
dfa9de1
Make event id private and final
fivetran-mattalexander Oct 12, 2020
30987eb
Create unknown event type for invalid and proprietary event types. Re…
fivetran-shivavanamala Nov 13, 2020
c7c70fd
Removed AURORA_PADDING event
fivetran-shivavanamala Nov 13, 2020
c11cb2e
Changed the way unknown event type is being created
fivetran-shivavanamala Nov 13, 2020
41fc68b
EventType.forId() returns EventType.UNKNOWN if invalid eventId is pas…
fivetran-shivavanamala Nov 19, 2020
4e3ac3c
refactor: Removed redundant single line function
fivetran-shivavanamala Nov 19, 2020
256fd4a
feature(table_map_event_data_serializer): add support of ColumnVisibi…
zekail Oct 28, 2021
c835a5b
fix(table_map_event_data_serializer): skip deserializing the table ma…
zekail Oct 29, 2021
f0f73e3
fix(table_map_event_data_serializer): log a message when skipping des…
zekail Oct 29, 2021
cfe843e
fix for json parsing error
IG-ReDCAD Feb 9, 2022
710f48b
Fork BinaryLogClient to FF abortRequest change
fivetran-mattalexander Mar 17, 2022
ecd7088
cleanup(mysql): [T-252649] consolidate new abort logic
jmlw May 16, 2022
c9186f0
re-add abort logic on its own (without old deadlock fix)
ashleycoxley Aug 6, 2022
655337d
add client identity method
ashleycoxley Sep 6, 2022
812e3a9
Fix merge errors
fivetran-mattalexander Nov 16, 2022
8fba192
Fix isContainedWithin to correctly return True when positions are equ…
fivetran-mattalexander Nov 17, 2022
c0a01af
Merge tag 'maria-support-with-fix'
fivetran-mattalexander Jul 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
version: 2.1

executors:
jdk11:
docker:

jobs:
build:
docker:
- image: cimg/openjdk:11.0
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "pom.xml" }}
- run:
name: Cache m2 artifacts
command: mvn dependency:go-offline
- save_cache:
key: dependency-cache-{{ checksum "pom.xml" }}
paths: [ "~/.m2" ]
test:
docker:
- image: cimg/openjdk:11.0
parameters:
mysql:
type: string
environment:
MYSQL_VERSION: "<< parameters.mysql >>"
JAVA_TOOL_OPTIONS: "-Xmx250m -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "pom.xml" }}
- run:
name: "testing under version << parameters.mysql >>"
command: mvn verify -Dgpg.skip
- store_artifacts:
path: test.log

workflows:
version: 2
build_and_test:
jobs:
- build
- test:
name: "test-5.5"
mysql: "5.5"
requires: [ "build" ]
- test:
name: "test-5.7"
mysql: "5.7"
requires: [ "build" ]
- test:
name: "test-8.0"
mysql: "8.0"
requires: [ "build" ]
- test:
name: "test-mariadb"
mysql: "mariadb"
requires: [ "build" ]

45 changes: 45 additions & 0 deletions .github/workflows/mysql-57.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#
# Copyright Gunnar Morling
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Build and run tests against MySQL 5.7

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Cache Maven packages
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: mvn -B install --file pom.xml
45 changes: 45 additions & 0 deletions .github/workflows/mysql-80.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#
# Copyright Gunnar Morling
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Build and run tests against MySQL 8.0

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Cache Maven packages
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: MYSQL_VERSION=8.0 mvn -B install --file pom.xml
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
.idea
*.idea
*.iml
.DS_Store
target
.classpath
.project
.settings
.vagrant
.*.sw*
target/
1 change: 0 additions & 1 deletion .mvn/maven.config

This file was deleted.

14 changes: 0 additions & 14 deletions .mvn/settings.xml

This file was deleted.

130 changes: 116 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,108 @@
# Changelog
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## [0.27.5](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.27.5...0.27.4) - 2022-11-01

- add mariadb BINLOG_CHECKPOINT event

## [0.27.4](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.27.4...0.27.3) - 2022-11-01

- move mariadb_slave_capability back to 4

## [0.27.3](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.27.3...0.27.2) - 2022-09-25

- pass use-annotate-rows through non-gtid mariadb connections

# Changelog
## [0.27.2](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.27.2...0.27.1) - 2022-09-16

- Fix the maria gtid detection regex to avoid erroneously detecting mysql gtids as maria

## [0.27.1](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.27.0...0.27.1) - 2022-08-28

- fix a bug around the capability that we send maria

## [0.27.0](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.26.1...0.27.0) - 2022-08-27

- Add "official" MariaDB support. @wingerx started this worked and @ivapiv bugged me until it was
done, thanks all. This includes:
- MariaDB GTID support
- support for the ANNOTATE_ROWS_EVENTS
- MariaDB detection in getMariaDB()

## [0.26.1](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.26.0...0.26.1) - 2022-07-18

- fix deadlock with disconnect and keepalive thread.

## [0.26.0](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.25.6...0.26.0) - 2022-07-15

- Compressed binlogs, thank you Somesh Malviya
- fix crash on unknown field type

# Changelog

## [0.25.6](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.25.5...0.25.6) - 2022-04-14

- stop crashing in an inopportune place

## [0.25.5](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.25.4...0.25.5) - 2022-01-28

- mysql 8 also puts JSON keys in any damn place it likes

## [0.25.4](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.25.3...0.25.4) - 2021-10-13

- add debugging info to eof exception

## [0.25.3](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.25.2...0.25.3) - 2021-07-29

- support mysql 8's invisible columns

## [0.25.2](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.25.1...0.25.2) - 2021-06-25

- allow `setupConnection()` to be overridden
- upgrade to TLS v1.2

## [0.25.1](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.25.0...0.25.1) - 2021-04-20

- performance improves in ByteArrayInputStream#read

## [0.25.0](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.24.1...0.25.0) - 2021-03-04

- bring back jdk 8 support, this caused... ahem. Issues.

## [0.24.1](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.24.0...0.24.1) - 2021-03-03

- Fix for performance issues read JSON columns

## [0.24.0](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.23.3...0.24.0) - 2021-02-04

- Move up to JDK 11, drop support for JDK 8

## [0.23.4](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.23.3...0.23.4) - 2021-01-17

- correct authentication error that was causing a problem with Azure

## [0.23.3](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.23.2...0.23.3) - 2020-10-29

- add EventDeserializer.CompatibilityMode.INTEGER_AS_BYTE_ARRAY if you want raw integer data
- don't crash on AWS Aurora's unknown event types

## [0.23.2](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.23.1...0.23.2) - 2020-07-25

- `connect` now throws `IllegalStateException` when already connected

## [0.23.1](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.22.2...0.23.1) - 2020-05-25

- this releases adds support for mysql 8's `caching_sha2_password` authentication method

## [0.22.2](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.22.0...0.22.2) - 2020-04-29

- Fix bugs in 0.22.0 involving nested JSON objects.

## [0.22.0](https://github.com/osheroff/mysql-binlog-connector-java/compare/0.20.1...0.22.0) - 2020-04-24

- *THIS RELEASE IS BUGGY. DO NOT USE.*
- master server id is exposed in the library https://github.com/shyiko/mysql-binlog-connector-java/pull/319
- Fixes for JSON data in mysql 8.0.16+ https://github.com/shyiko/mysql-binlog-connector-java/pull/288
- more fixes for the bizarre azure platform https://github.com/shyiko/mysql-binlog-connector-java/pull/275

## [0.20.1](https://github.com/shyiko/mysql-binlog-connector-java/compare/0.20.0...0.20.1) - 2019-05-12

Expand Down Expand Up @@ -97,7 +199,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [0.10.1](https://github.com/shyiko/mysql-binlog-connector-java/compare/0.10.0...0.10.1) - 2017-02-28

### Fixed
- HEARTBEAT tracking ([118](https://github.com/shyiko/mysql-binlog-connector-java/issues/118#issuecomment-283138143)).
- HEARTBEAT tracking ([118](https://github.com/shyiko/mysql-binlog-connector-java/issues/118#issuecomment-283138143)).

## [0.10.0](https://github.com/shyiko/mysql-binlog-connector-java/compare/0.9.2...0.10.0) - 2017-02-28

Expand All @@ -119,13 +221,13 @@ isn't reached within `BinaryLogClient::connectTimeout` from `BinaryLogClient::co

### Fixed

- NPE in case of EOF (BinaryLogClient) ([153](https://github.com/shyiko/mysql-binlog-connector-java/pull/153)).
- NPE in case of EOF (BinaryLogClient) ([153](https://github.com/shyiko/mysql-binlog-connector-java/pull/153)).

## [0.9.0](https://github.com/shyiko/mysql-binlog-connector-java/compare/0.8.1...0.9.0) - 2017-02-07

### Added

- `BinaryLogClient::connectTimeout` (3 seconds by default).
- `BinaryLogClient::connectTimeout` (3 seconds by default).
NOTE: `BinaryLogClient::keepAliveConnectTimeout` has been deprecated and is going to be removed in 1.0.0.

## [0.8.1](https://github.com/shyiko/mysql-binlog-connector-java/compare/0.8.0...0.8.1) - 2016-01-10
Expand All @@ -144,14 +246,14 @@ isn't reached within `BinaryLogClient::connectTimeout` from `BinaryLogClient::co

### Fixed

- `SSLMode.PREFERRED` handling (verification against the CA is no longer enforced) ([#142](https://github.com/shyiko/mysql-binlog-connector-java/pull/142)).
- `SSLMode.PREFERRED` handling (verification against the CA is no longer enforced) ([#142](https://github.com/shyiko/mysql-binlog-connector-java/pull/142)).
NOTE: This change does NOT affect `SSLMode.VERIFY_CA` / `SSLMode.VERIFY_IDENTITY`.

## [0.7.3](https://github.com/shyiko/mysql-binlog-connector-java/compare/0.7.2...0.7.3) - 2016-12-26

### Fixed

- Handling of DATE/DATETIME/TIMESTAMP "zero" value (e.g. '0000-00-00') when
- Handling of DATE/DATETIME/TIMESTAMP "zero" value (e.g. '0000-00-00') when
`CompatibilityMode.DATE_AND_TIME_AS_LONG_MICRO` is set (false by default).

## [0.7.2](https://github.com/shyiko/mysql-binlog-connector-java/compare/0.7.1...0.7.2) - 2016-12-26
Expand All @@ -173,7 +275,7 @@ isn't reached within `BinaryLogClient::connectTimeout` from `BinaryLogClient::co

## [0.6.0](https://github.com/shyiko/mysql-binlog-connector-java/compare/0.5.2...0.6.0) - 2016-11-27

### Added
### Added
- `EventDeserializer` compatibility modes to mimic upcoming 1.0.0 event deserialization behavior ([#131](https://github.com/shyiko/mysql-binlog-connector-java/pull/131)).

## [0.5.2](https://github.com/shyiko/mysql-binlog-connector-java/compare/0.5.1...0.5.2) - 2016-11-19
Expand Down Expand Up @@ -202,9 +304,9 @@ isn't reached within `BinaryLogClient::connectTimeout` from `BinaryLogClient::co

### Fixed
- GTID "rollover".
- binlog position tracking (`binaryLogClient.binlogPosition` is no longer updated on TABLE_MAP so that in case of
reconnect (using a different instance of client) table mapping (used by *RowsEventDataDeserializer|s) could be
reconstructed before hitting *RowsEvent.
- binlog position tracking (`binaryLogClient.binlogPosition` is no longer updated on TABLE_MAP so that in case of
reconnect (using a different instance of client) table mapping (used by *RowsEventDataDeserializer|s) could be
reconstructed before hitting *RowsEvent.

## [0.4.0](https://github.com/shyiko/mysql-binlog-connector-java/compare/0.3.3...0.4.0) - 2016-08-15

Expand Down Expand Up @@ -242,7 +344,7 @@ isn't reached within `BinaryLogClient::connectTimeout` from `BinaryLogClient::co

### Fixed
- Possible infinite loop in case of EOF in the middle of `ByteArrayInputStream::fill`.

## [0.2.3](https://github.com/shyiko/mysql-binlog-connector-java/compare/0.2.2...0.2.3) - 2015-08-31

### Fixed
Expand All @@ -269,8 +371,8 @@ isn't reached within `BinaryLogClient::connectTimeout` from `BinaryLogClient::co
- Support for authentication via empty password ([#39](https://github.com/shyiko/mysql-binlog-connector-java/issues/39)).

### Changed
- Server error reporting ([#37](https://github.com/shyiko/mysql-binlog-connector-java/issues/37)).
WARNING: If you are using exception message to identify specific server errors - you'll need to switch to
- Server error reporting ([#37](https://github.com/shyiko/mysql-binlog-connector-java/issues/37)).
WARNING: If you are using exception message to identify specific server errors - you'll need to switch to
`ServerException`::[errorCode](https://github.com/shyiko/mysql-binlog-connector-java/commit/1817d0ff709c65c31af9236dcc4e50cc3ad1023b#diff-0dff747d57cb3f5f0548be89a81e29f8R37) (as message no longer includes error code).

### Fixed
Expand Down
Loading