What's Changed
Features
- Support sub-select logic in router by @reshke in #1052
- Add exit_on_init_sql router setting by @Denchick in #1045
- add pretty logging option to the router config by @Denchick in #1062
spqr-router run [-P|--pretty-log]enables pretty logging by @Denchick in #1048- Two phase commit support by @reshke in #1078
- Add REDISTRIBUTE CHECK command by @EinKrebs in #1075
- Support LIMIT X OFFSET Y by @reshke pg-sharding/lyx#46
- Support ILIKE by @reshke pg-sharding/lyx#47
- Support more CREATE/DROP cases pg-sharding/lyx#48
- Support UPDATE AS pg-sharding/lyx#49
Roles support
- Fix frontend and backend rules reloading by @Denchick in #1056
- minor client refactoring by @Denchick in #1058
- Simple role system (router only) by @Denchick in #1059
- Move grant logic from config/ to pkg/catalog/grant.go by @Denchick in #1061
- Simple role system, the second iteration by @Denchick in #1064
- move router/rule/rulemgr.go -> pkg/rulemgr/rulemgr.go by @Denchick in #1080
- Add frontend rules to the coordinator's config by @Denchick in #1081
Fixes, Tests, Documentation
- Do not process comment lines in initsql by @reshke in #1029
- Add docs/routing/hints.mdx by @Denchick in #1033
- REDISTRIBUTE: Put server name in double quotes by @diPhantxm in #1034
- Update
daemonizeandconsoleoption descriptions by @Denchick in #1040 - Use rcfg.MemqdbBackupPath instead of persist flag by @Denchick in #1037
- add some order in tests workflow running by @Denchick in #1041
- Remove
persistoption and addmemqdb-backup-pathto the spqr-router by @Denchick in #1038 - use config.RouterConfig() in cmd/router/main.go by @Denchick in #1043
- Migrate from golang/mock to uber/mock by @EinKrebs in #1042
- minor cmd/router/main.go refactoring by @Denchick in #1044
- pgproto-debug and show-notice-messages CLI options by @Denchick in #1046
- Add spell checker to workflows by @EinKrebs in #1036
- Minor spqrlog.ReloadLogger refactoring by @Denchick in #1049
- minor console refactoring by @Denchick in #1057
- Fix func application queries by @reshke in #1072
- Better options for coordinator logging by @Denchick in #1074
- Minor etcdqdb log enhancement by @Denchick in #1079
- Bumps by @dependabot in #1028 #1035 #1047 #1053 #1054 #1067 #1066 #1068 #1065
Full Changelog: 2.4.0...2.5.0