Dbpack Versions Save

A db proxy for distributed transaction, read write splitting and sharding! Support any language! It can be deployed as a sidecar in a pod.

v0.5.0

1 year ago

Here are the instructions.

Features

  • feat: support delete on sharded table (44) (a0a5bda)
  • feat: support update on sharded table (45) (8dd789e)
  • feat: support multiple columns order by (133) (7a213c2)
  • feat: support limit without orderby (168) (dbff926)
  • feat: support cross-database delete transactions (180) (90f9d42)
  • feat: support count aggregate func on sharded table (78) (8290190)
  • feature: support cross-database update transactions (193) (b184688)
  • feat: support show stmt (209) (1b4e902)
  • feat: support query on global table (134) (1d2d32d)
  • feat: support check conn liveness (260) (59b9ff1)
  • in sharding mode, support local transaction (236) (97c5e18)
  • feat: support xa protocol (261) (6611c17)
  • feature: support show table status (189) (f896fc3)
  • feat: support show columns and show index in sharding mode (269) (2c20554)
  • feat: export dead branch session api (264) (fd87df8)
  • feat: support number range sharding algorithm (235) (5177880)
  • feat: support create index and drop index in sharding mode (175) (dc372d9)
  • feat: support show tables in sharding mode (190) (1c353ea)
  • fix: finished distributed pk feature (42) (8bb0903)
  • feature: support route insert sql to shadow table (258) (5a461ec)
  • feat: segment sequence support define initial value (281) (6655483)

Bug Fixes

  • fix: in sharding mode, merge result miss some rows (214) (1aebf5c)
  • fix: support release savepoint (251) (63b19cb)
  • fix: release savepoint should not return connection (252) (47f1059)
  • fix: match url should support prefix and regex match type (254) (5caeb6c)
  • fix: xa commit/rollback should executed by master conn in rws mode (280) (9962372)

Changes

  • refactor: refact topology to support sharding db (234) (a8fe90d)
  • refactor: default restore string without default charset (253) (4d6da29)
  • refactor status api (265) (dca3b50)
  • refactor: optimize sequence generator (42) (67d9506)

v0.4.0

1 year ago

Features

  • feature: support rate limit filter (181) (8d6877d)
  • feature: support circuit breaker (182) (7a1a977)
  • feat: support savepoint statement (229) (146f75d)

Bug Fixes

  • fix: mysql 8.0 set transaction isolation error (226) (246386a)
  • fix: restore string without default charset (227) (0daddb0)
  • fix: should restore xid hint (239) (66137ba)

Changes

  • refactor: refactor config to support deploy as gateway (231) (f5f49bd)
  • refactor: isolate filter with appid (233) (12c94c4)
  • refactor: refactor db group (242) (a7ddbfc)

v0.3.2

1 year ago

Features

feature: support customize request buffer size for http request (https://github.com/CECTC/dbpack/issues/218) (593fd25)

Changes

chore: print ping failed err (https://github.com/CECTC/dbpack/pull/216) (852a0f2)

v0.3.1

1 year ago

Features

  • feature: support gin middleware and grpc interceptor (212) (a74d1d2)

v0.3.0

1 year ago

We previewed audit log at v0.2.0, now we released audit log and sql tracing. And, there are a sample of sql tracing, If we run this sample, we can view complete distributed transaction tracing data at http://localhost:16686/. And we previewed column encryption and decryption.

Features

  • add more trace span and integrate with jaeger (177) (d703959)
  • add trace for BackendConnection (204) (36b3894)
  • support column encryption (24) (946c190)

Bug Fixes

  • fix: construct a TraceContext with the correct traceparent (203) (3ecb2cc)

v0.2.2

1 year ago

Changes

  • refactor: AuditLog filter PreHandle support more stmtnode type (198) (bb408a5)
  • refactor: support manipulating the same data in different transaction… (199) (040b4d1)

v0.2.1

1 year ago

Added TCC sample

v0.2.1

Bug Fixes

  • in tcc mode, json.Unmarshal requestContext.Headers failed (194) (6e1f8c3)

v0.2.0

1 year ago

We released read write splitting at v0.1.0. Now, We have fixed some bugs and added the ability to use the UseDB hint to customize query request routing.

Bug Fixes

  • currentRecords may be nil (157) (e7c8747)
  • php 8.0 pdo will check the flag bit (163) (0fd83bb)
  • borrowed connections should be returned when not in use (164) (b1c8330)
  • load balance algorithm unmarshal error (169) (7819ce9)

Features

  • support usedb hint for customize the sql routing (13) (be37d88)
  • audit log filter (103) (e7f819d)

v0.1.2

1 year ago

Bug Fixes

  • rollback when global session timeout (145) (1798cd1)
  • when register branch session, global session can not change (146) (11ea3dd)

Features

  • HttpDistributedTransaction filter support prefix matching (148) (cdb757a)
  • HttpDistributedTransaction filter support regular matching (149) (cdb757a)

v0.1.1

1 year ago

Added dotnet samples

Bug Fixes

Features

Changes

  • refactor: update global session status, branch session status in txn (120) (9829387)