v0.7.2
 Β· 7 min read
Release date: April 08, 2024
This is a patch release, containing a critial bug fix to avoid wrongly delete data files (#3635).
It's highly recommended to upgrade to this version if you're using v0.7.
Breaking changesβ
- refactor!: Renames the new memtable to PartitionTreeMemtable by @evenyag in #3547
 - fix!: columns table in information_schema misses some columns by @killme2008 in #3639
 
π Featuresβ
- feat: Partition memtables by time if compaction window is provided by @evenyag in #3501
 - feat: acquire all locks in procedure by @WenyXu in #3514
 - feat: implement the drop database parser by @WenyXu in #3521
 - feat(mito): Checks whether a region should flush periodically by @evenyag in #3459
 - feat(metasrv): implement maintenance by @tisonkun in #3527
 - feat: update dashboard to v0.4.9 by @ZonaHex in #3531
 - feat: support per table memtable options by @evenyag in #3524
 - feat(flow): shared in-memory state for dataflow operator by @discord9 in #3508
 - feat: update pgwire to 0.20 for improved performance by @sunng87 in #3538
 - feat: support multi params in promql range function macro by @Taylor-lagrange in #3464
 - feat: support append-only mode in time-series memtable by @v0y4g3r in #3540
 - feat: Able to pretty print sql query result in http output by @YCCDSZXH in #3539
 - feat: return new added columns in region server's extension response by @waynexia in #3533
 - feat: update physical table's schema on creating logical table by @waynexia in #3570
 - feat: implement the drop database procedure by @WenyXu in #3541
 - feat: batch alter logical tables by @fengjiachun in #3569
 - feat: support time range in copy table by @v0y4g3r in #3583
 - feat: update physical table schema on alter logical tables by @fengjiachun in #3585
 - feat(auth): watch file user provider by @tisonkun in #3566
 - feat: Support printing postgresql's 
byteadata type in its "hex" and "escape" format by @J0HN50N133 in #3567 - feat: Implement append mode for a region by @evenyag in #3558
 - feat: create regions persist true by @fengjiachun in #3590
 - feat: remove support for logical tables in the create table procedure by @fengjiachun in #3592
 - feat: adds metric engine to information_schema engines table by @killme2008 in #3599
 - feat: support 
2+2and/status/buildinfoby @waynexia in #3604 - feat(tql): add initial support for start,stop,step as sql functions by @etolbakov in #3507
 - feat: Implement an unordered scanner for append mode by @evenyag in #3598
 - feat: allow cross-schema query in promql by @sunng87 in #3545
 - feat: let alter table procedure can only alter physical table by @fengjiachun in #3613
 - feat(function): add timestamp epoch integer support for to_timezone by @etolbakov in #3620
 - feat: impl show index and show columns by @killme2008 in #3577
 - feat: group requests by peer by @fengjiachun in #3619
 - feat: Support outputting various date styles for postgresql by @J0HN50N133 in #3602
 - feat: reject invalid timestamp ranges in copy statement by @v0y4g3r in #3623
 - feat(procedure): auto split large value to multiple values by @WenyXu in #3605
 - feat(procedure): enable auto split large value by @WenyXu in #3628
 - feat: introduce wal benchmarker by @niebayes in #3446
 - feat: adding victoriametrics remote write by @sunng87 in #3641
 - feat: Add timers to more mito methods by @evenyag in #3659
 - feat: cluster information by @fengjiachun in #3631
 - feat: update dashboard to v0.4.10 by @ZonaHex in #3663
 
π Bug Fixesβ
- fix: clone data instead of moving it - homemade future is dangerous by @waynexia in #3542
 - fix: performance degradation caused by config change by @v0y4g3r in #3556
 - fix(flow): Arrange get range with batch unaligned by @discord9 in #3552
 - fix: set http response chartset to utf-8 when using table format by @xxxuuu in #3571
 - fix: update pk_cache in compat reader by @waynexia in #3576
 - fix: incorrect version info in by @waynexia in #3586
 - fix: canonicalize catalog and schema names by @killme2008 in #3600
 - fix: adjust status code to http error code map by @waynexia in #3601
 - fix: run purge jobs in another scheduler by @evenyag in #3621
 - fix: mistakely removes compaction inputs on failure by @v0y4g3r in #3635
 - fix: move object store read/write timer into inner by @dimbtp in #3627
 - fix: construct correct pk list with pre-existing pk by @waynexia in #3614
 
π Refactorβ
- refactor: remove removed-prefixed keys by @WenyXu in #3535
 - refactor: introduce the DropTableExecutor by @WenyXu in #3534
 - refactor: refactor CacheInvalidator by @WenyXu in #3550
 - refactor: handle error for http format by @tisonkun in #3548
 - refactor: remove redundant PromStoreProtocolHandler::write by @v0y4g3r in #3553
 - refactor: reduce one clone by carefully pass ready boundary by @tisonkun in #3543
 - refactor: try upgrade regex-automata by @tisonkun in #3575
 - refactor: refactor drop table executor by @WenyXu in #3589
 - refactor(table): remove unused table requests by @zhongzc in #3603
 - refactor: cache invalidator by @fengjiachun in #3611
 - refactor: alter logical tables by @fengjiachun in #3618
 - refactor: move create database to procedure by @CookiePieWw in #3626
 - refactor: drop Table trait by @tisonkun in #3654
 
π Documentationβ
- docs: add v0.7 TSBS benchmark result by @evenyag in #3512
 - docs: revise README file by @tisonkun in #3522
 - docs: readme style and project status by @tisonkun in #3528
 - docs: improve fn comments by @tisonkun in #3526
 
π§ͺ Testingβ
- test: add a parameter type mismatch test case to sql integration test by @xxxuuu in #3568
 - test: add tests for drop databases by @WenyXu in #3594
 - test: add more integration test for kafka wal by @niebayes in #3190
 - test(sqlness): release databases after tests by @WenyXu in #3648
 
βοΈ Miscellaneous Tasksβ
- ci: add bin options to reduce build burden by @WenyXu in #3518
 - ci: unassign issues stale 14 days ago by @tisonkun in #3529
 - feat: http header with metrics by @shuiyisong in #3536
 - chore: avoid unnecessary cloning by @fengjiachun in #3537
 - chore: fix comment in fetch-dashboard-assets.sh by @tisonkun in #3546
 - ci: use a PAT to list all writers by @tisonkun in #3559
 - chore: avoid confusing TryFrom by @tisonkun in #3565
 - chore: retain original headers by @tisonkun in #3572
 - ci: use single commit on the deployment branch by @evenyag in #3580
 - chore: limit OpenDAL's feature gates by @waynexia in #3584
 - chore: Delete CODE_OF_CONDUCT.md by @tisonkun in #3578
 - chore: add back core dependency by @shuiyisong in #3588
 - chore: do not reply for broadcast msg by @fengjiachun in #3595
 - ci: ignore type in sqlness sql and result files by @waynexia in #3616
 - ci: bump license header checker action version by @tisonkun in #3655
 - chore: generate release notes with git-cliff by @tisonkun in #3650
 - chore: add manifest related metrics by @MichaelScofield in #3634
 - chore: bump version to 0.7.2 by @waynexia in #3658
 
Buildβ
- build(deps): remove some unused dependencies by @dimbtp in #3582
 - build(deps): bump h2 from 0.3.24 to 0.3.26 by @dependabot[bot] in #3642
 - build(deps): bump whoami from 1.4.1 to 1.5.1 by @dependabot[bot] in #3643
 
New Contributorsβ
- @CookiePieWw made their first contribution in #3626
 - @xxxuuu made their first contribution in #3571
 - @YCCDSZXH made their first contribution in #3539
 
All Contributorsβ
We would like to thank the following contributors from the GreptimeDB community:
@CookiePieWw, @J0HN50N133, @MichaelScofield, @Taylor-lagrange, @WenyXu, @YCCDSZXH, @ZonaHex, @dimbtp, @discord9, @etolbakov, @evenyag, @fengjiachun, @killme2008, @niebayes, @shuiyisong, @sunng87, @tisonkun, @v0y4g3r, @waynexia, @xxxuuu, @zhongzc