Skip to content

Releases: dragonflydb/dragonfly

v1.2.1

26 Apr 17:35
0b13eaa
Compare
Choose a tag to compare

Dragonfly v1.2.1

This is a patch release that fixes a case issue with v1.2.0. The issue caused Dragonfly to persist hash keys in low case only.
This release fixes the issue, all users who pulled v1.2.0 are advised to upgrade to this version. Thanks @heikomat for reporting this!

What's Changed

Full Changelog: v1.2.0...v1.2.1

v1.2.0

24 Apr 12:53
d78a9da
Compare
Choose a tag to compare

Dragonfly v1.2.0

Another strong release for Dragonfly. Important changes include:

  • Starting this release, Dragonfly will automatically save a snapshot on exit and will automatically load it back
    when it starts from the same directory. This feature has been a much-asked-for - we hope you find it useful!
    Thanks @royjacobson for implementing it!
    • As before, the snapshot's filename will contain a timestamp by default, and will not override previous snapshots. To overwrite previous snapshots, pass a custom value to the --dbfilename configuration option.
    • To disable automatic snapshots, pass an empty string to --dbfilename.
      Thanks @royjacobson !
  • Replication stability improvements - thanks to @adiholden
  • Lots of performance and stability improvements around PubSub - @dranikpg
  • Lots of performance improvements around Lua scripting and transactions. @dranikpg
  • Support for IPv6 - @royjacobson
  • Automatically recognize container limits when deducing maxmemory and number of cpus: @talbii
  • Json improvements by @iko1

What's Changed

New Contributors

Huge thanks to all the contributors! ❤️

Full Changelog: v1.1.0...v1.2.0

v1.1.2

04 Apr 09:48
6d26909
Compare
Choose a tag to compare

Dragonfly v1.1.2

This is another patch release on top of v1.1.1 that fixes a memory leak during PUBLISH operation #1034

What's Changed

  • fix: another pass on fixing namespace imports to support fb2 by @romange in #1024
  • fix(server): Return the replica's port on ROLE command by @royjacobson in #1027
  • fix(server): Use connection pool only for regular messages by @dranikpg in #1038

New Contributors

Full Changelog: v1.1.1...v1.1.2

v1.1.1

03 Apr 02:44
9b03b2c
Compare
Choose a tag to compare

Dragonfly v1.1.1

This is a patch release on top of v1.1.0 that fixes failures on some of the kernels. If you use v1.0.0 it's recommended to upgrade to
v1.1.1, which addresses the following critical bugs:

  1. Fixed data race on arm64 architectures causing crashes due to incorrect memory ordering barriers (#1009)
  2. Resolved data corruption within the HGET command (#994)
  3. Corrected ZPOPMIN (#977 and #1011)
  4. Enhanced replication by supporting master authentication using the masterauth flag (#1000)

v1.1.0

02 Apr 18:04
f953946
Compare
Choose a tag to compare

Dragonfly v1.1.0

This update addresses critical bugs and it is highly recommended for all users currently on v1.0.0 in production to upgrade. The following issues have been resolved:

  1. Fixed data race on arm64 architectures causing crashes due to incorrect memory ordering barriers (#1009)
  2. Resolved data corruption within the HGET command (#994)
  3. Corrected ZPOPMIN (#977 and #1011)
  4. Enhanced replication by supporting master authentication using the masterauth flag (#1000)

In addition to these bug fixes, we have introduced new features:

  1. Added support for Resp3 (will work automatically with a resp3-enabled client).
  2. Docker images have smaller footprint (with stripped binaries).

What's Changed

New Contributors

Full Changelog: v1.0.0...v1.1.0

v1.0.0

20 Mar 08:46
bb78c6e
Compare
Choose a tag to compare

Dragonfly v1.0.0

We are thrilled to announce that Dragonfly now supports primary-to-secondary replication! 🎆 🎆

You can either configure Dragonfly as a secondary instance alongside your existing Redis master,
or establish your own replicated DF-to-DF setup. The configuration process is quite similar to that of Redis.
For more information, please check out our replication setup page.

In addition to this feature, the latest release includes final touches and bug fixes to enhance Dragonfly's stability.

What's Changed

  • fix(tests): Disable logging in replication tests by @dranikpg in #906
  • fix(regression-tests): fix cpu print step by @adiholden in #910
  • fix: logging in sentinel_test by @talbii in #869
  • fix(pytest): Add master restart delay by @dranikpg in #909
  • chore(helm): update golden files to latest version by @Pothulapati in #915
  • fix(server): Change WaitForCallbacks mem order by @dranikpg in #914
  • fix(tests):Some test cases for redis replication by @ashotland in #918
  • fix: send a single RDB_OPCODE_FULLSYNC_END from a snapshot by @romange in #920
  • fix(core): Auto cast doubles to ints in lua scripts by @dranikpg in #922
  • chore(helm): Make release pipeline to update golden files by @Pothulapati in #916
  • feat(server): Implement BITPOS. by @chakaz in #907
  • Skip version check if $DFLY_DEV_ENV is set by @ashotland in #928
  • fix: Fix a corruption when connection writes interleaving messages by @romange in #926
  • feat(workflow): Add Vercel Docs Hook to release workflow by @vahnag in #919
  • fix(docs):Delete api_status.md by @ashotland in #921
  • feat(server): Pragmas from scripts by @dranikpg in #927
  • chore: change thread_local to __thread when possible. by @romange in #930
  • feat: increase expiry period to 8 years. by @romange in #932
  • fix(redis_replicaiton_test): fix compare set types by @adiholden in #929
  • bug(redis replication): fix multi transaction replication stable state by @adiholden in #934
  • fix: correctly set batching mode during pubsub by @romange in #937
  • feat(server): hello and info sidekiq compatibility by @ashotland in #941
  • feat(ci): Add daily builds BFS verification by @Pothulapati in #936
  • fix(replication): redis replication flush all before full sync by @adiholden in #946
  • fix(rdb_load): replica load expired keys by @adiholden in #948
  • fix(ci): Use correct x86-64 with builds by @Pothulapati in #950
  • Integration test docker image with Go client by @pascaldekloe in #943
  • chore: some pytests and logging improvements by @romange in #953
  • improve consistency around brpop flow by @romange in #954
  • fix: Fix deadlock in the transaction code. by @romange in #956

New Contributors

Full Changelog: v0.17.0...v1.0.0

v0.17.0

06 Mar 11:44
a3b5f0b
Compare
Choose a tag to compare

Dragonfly v0.17.0

This is probably the last version before the 1.0 GA release.

  • Multiple performance & stability improvements around transactions and lua scripts.
  • helm scripts support password-based authentication
  • Improve memory introspection tooling to be able to track memory usage in production easier
  • Switched to dragonfly-specific snapshotting format (Dragonfly still supports saving/loading rdb files).
  • Backport to Dragonfly lua functions that were deprecated after lua version 5.1 (getn, unpack)
  • A new docs site was launched: https://dragonflydb.io/docs
  • Dragonfly can now emulate cluster-mode by exposing itself as a single-shard cluster. See cluster_mode flag for more details.
  • Experimental support for SADDEX/HSETEX commands that allow setting a TTL on SET/HASH members. This solves a 8-year-old feature request existing in the Redis project: redis/redis#2905

Huge thanks to all the contributors! ❤️

What's Changed

  • feat(server): replication should not evict items by @adiholden in #743
  • feat(list): Add BLMove command by @romange in #753
  • fix(regression-tests): sentinel_test.py: Ditch docker whcih is complex on CI in favour of local redis binary by @ashotland in #755
  • feat(server): add latency statistics for lua script calls by @romange in #758
  • bug(server): fix deadlock in BufferedStreamerBase notify all producers by @adiholden in #760
  • bug(replication): BLPOP fix write to shard journal of popped key by @adiholden in #761
  • feat(server): add total_connections_received statistics by @romange in #757
  • bug(transaction): local result needs to be reset on InitByArgs Fixes … by @adiholden in #762
  • chore(server): track ooo transactions via metrics. by @romange in #763
  • feat(server): Pool lua interpreters by @dranikpg in #765
  • bug(replica): execute expire within multi command only if its belong … by @adiholden in #766
  • Update transaction and enable OOO for regular transactions by @dranikpg in #769
  • feat(server): Extend malloc-stats command functionality. by @romange in #775
  • feat(server): Async unlock multi by @dranikpg in #774
  • feat(server): track pipeline requests cache capacity by @romange in #776
  • Update README.md by @ashotland in #778
  • test(server): adding unit tests for reply builder by @boazsade in #764
  • fix(server): monitor lua at script execution by @boazsade in #767
  • feat(server): add dfly replica offset command by @adiholden in #780
  • feat(replica): add debug command - replica offset by @adiholden in #786
  • fix(server): Fix transaction bug by @dranikpg in #787
  • Refactor initialization phase of transaction by @dranikpg in #790
  • fix(server): Fix bugs by @dranikpg in #797
  • feat(server): Enable overriding --requirepass form env var by @ashotland in #792
  • test(regression-tests): stop regression-tests schedual run by @adiholden in #795
  • fix(replica) : replica will not sync execution multi shard commands as default by @adiholden in #800
  • feat(facade): Limit request cache using runtime flag by @romange in #793
  • update readme by @worldsoup in #794
  • feat(server): save dragonfly snapshot in a new format by default by @romange in #802
  • feat(server): write journal record with optional await based on flag… by @adiholden in #791
  • fix(pytest): SAVE to SAVE RDB by @dranikpg in #803
  • fix(pytest): fix periodic test by @dranikpg in #804
  • fix(regression-tests): increase timeout of regression-tests by @adiholden in #806
  • chore(server): reduce number of allocations with multi-exec commands by @romange in #807
  • chore(regressions-tests): Update regression-tests.yml by @ashotland in #805
  • tests(server): Add multi_test by @dranikpg in #810
  • feat(core): Add Ttl semantics to string_map by @romange in #813
  • feat(server): Check locks in heartbeat, allow multiple tx in replica by @dranikpg in #815
  • feat(charts): Update helm chart to support password from secret by @ashotland in #799
  • Fix(regression-tests): Sentinel test - wait for sentinel termination by @ashotland in #816
  • Basic multi modes for MULTI/EXEC by @dranikpg in #796
  • fix(zset): Make count optional for ZPOP{MIN,MAX} by @alisaifee in #821
  • feat(server): add debug information about running transactions by @romange in #820
  • EVAL multi modes + non atomic modes by @dranikpg in #818
  • fix(regression-test): Sentinel test stabilization by @ashotland in #826
  • bug(snapshot): Fix unwriten entries in multiple snapshotting Fixes #823 by @adiholden in #825
  • docs: Add how to build dragonfly on Fedora by @romange in #822
  • feat(tests): Add rotating master test by @dranikpg in #828
  • fix(docs):attos -> dragonflydb by @ashotland in #830
  • feat(server): add lru data structure by @romange in #831
  • Update transaction.md by @dranikpg in #808
  • feat(server): Add HSETEX command by @romange in #817
  • docs(dashtable): Fix image URL for expiration by @Pothulapati in #870
  • fix(server): JSON.RESP path arg should be optional (#852) by @iko1 in #865
  • fix(server): Fix lua reply builder by @dranikpg in #871
  • fix(helio): get helio fix in uring_socket by @adiholden in #827
  • fix(server): Reorder ExecuteAsync callback seqlock check by @dranikpg in #873
  • fix(server): fix JSON.ARRTRIM implementation (#844) by @iko1 in #864
  • feat(tests): Script pytests by @dranikpg in #872
  • bug(snapshot) : Do not preempt inside OnDbChange issue #829 by @adiholden in #868
  • feat(db slice): add fiber atomic gaurd by @adiholden in #878
  • feat(Docker) : add redis tools to docker by @adiholden in #877
  • fix(server): Fix replication logs by @dranikpg in #883
  • feat(chart): add golden file output rendering tests by @Pothulapati in #882
  • fix(charts): Use Release.Namespace everywhere by @Pothulapati in #884
  • feat: support cluster mode emulation by @lsvmello in #492
  • test(helm): Add command to update golden files by @Pothulapati in #890
  • fix: ci by @romange in #893
  • feat(zset_family): support zscan match and count optional params issue by @adiholden in #891
  • Support script configuration by @dranikpg in #889
  • fix: resize buffer correctly when checking for http header line by @romange in #894
  • Add basic replicaiton from redis test by @ashotland in #895
  • bug(snapshot) : enforce order when pushing to channel when needed issue #879 by @adiholden in #886
  • bug(replica): call add entry outside DCHECK by @adiholden in #896
  • bug(list_family): fix BPopPusher command replication by @adiholden in #899
  • feat(regression test) : add regression test that run in optimiztion mode by @adiholden in https://github.com/dragonflydb/...
Read more

v0.16.0

12 Feb 15:30
b62a590
Compare
Choose a tag to compare
v0.16.0 Pre-release
Pre-release

Dragonfly v0.16.0

It's a minor release with the following changes:

  • Multiple performance & stability improvements around transactions and lua scripts
  • Improve memory introspection tooling to be able to track memory usage easier in production

Huge thanks to all the contributors! ❤️

What's Changed

  • feat(server): replication should not evict items by @adiholden in #743
  • feat(list): Add BLMove command by @romange in #753
  • fix(regression-tests): sentinel_test.py: Ditch docker whcih is complex on CI in favour of local redis binary by @ashotland in #755
  • feat(server): add latency statistics for lua script calls by @romange in #758
  • bug(server): fix deadlock in BufferedStreamerBase notify all producers by @adiholden in #760
  • bug(replication): BLPOP fix write to shard journal of popped key by @adiholden in #761
  • feat(server): add total_connections_received statistics by @romange in #757
  • bug(transaction): local result needs to be reset on InitByArgs Fixes … by @adiholden in #762
  • chore(server): track ooo transactions via metrics. by @romange in #763
  • feat(server): Pool lua interpreters by @dranikpg in #765
  • bug(replica): execute expire within multi command only if its belong … by @adiholden in #766
  • Update transaction and enable OOO for regular transactions by @dranikpg in #769
  • feat(server): Extend malloc-stats command functionality. by @romange in #775
  • feat(server): Async unlock multi by @dranikpg in #774
  • feat(server): track pipeline requests cache capacity by @romange in #776
  • Update README.md by @ashotland in #778
  • test(server): adding unit tests for reply builder by @boazsade in #764

Full Changelog: v0.15.0...v0.16.0

v0.15.0

05 Feb 08:29
3449ba8
Compare
Choose a tag to compare

Dragonfly v0.15.0

Some prominent changes:

  • Dragonfly is now compatible with redis-sentinel, allowing to support H/A setups.
  • Debian package support for both x86_64 and aarch64.
  • Quite a few lua fixes - now Dragonfly works well with laravel
    framework - thanks to @fannyfan414 !
  • cl.throttle is now part of Dragonfly API - thanks to
    @zetanumbers! See https://github.com/brandur/redis-cell/ for more
    info about the API
  • Added support for ZUNION and BRPOPLPUSH

Huge thanks to all the contributors! ❤️

What's Changed

  • feat(server): report slaves ip and listening port in INFO REPLICATION by @ashotland in #715
  • fix(server): Fix Lua & Zset issue by @dranikpg in #716
  • fix(server): zunion now supports variadic arguments by @romange in #717
  • docs(readme): Add ulimit to docker-compose example by @fannyfan414 in #721
  • test(replica): test journal rewrite with multi shards by @adiholden in #720
  • fix(server): Fix multi tx cleanup by @dranikpg in #723
  • feat(action): build debian package for arm64 arch by @boazsade in #719
  • feat(string family): implement cl.throttle by @zetanumbers in #714
  • fix: a small warning fix. by @romange in #724
  • feat(server): Allow admin commands in multi by @ashotland in #722
  • fix(lua): Fix a deadlock happenning when calling a lua script by @romange in #726
  • Stop ping dev version by @romange in #727
  • chore(ci):Reduce --gtest_repeat to 10 by @ashotland in #730
  • feat(test): Sentinel Integration Test by @ashotland in #728
  • chore(tests): Sentinel test PR code review followup by @ashotland in #731
  • test(replication test): increase sleep time in full sync step by @adiholden in #733
  • test(regression test): run regression tests on github actions every 6… by @adiholden in #734
  • feat(server): Auto expiry + small replica refactor by @dranikpg in #718
  • Add -x to pytest invocation by @ashotland in #735
  • fix(sentinel_test):Remove return type which breaks regression tests by @ashotland in #736
  • feat(action): build debian package for arm64 arch (#719) by @boazsade in #738
  • Add renderer to grafana by @romange in #739
  • feat(list family): support blocking command for replication by @adiholden in #740
  • test(replication test): check data only after replica finished execution by @adiholden in #746
  • feat(server): Print time it took to perform full sync by @dranikpg in #747
  • fix(server): Reset interpreter stack on errors by @dranikpg in #745
  • fix(regression-tests):Skip sentinel regression tests by @ashotland in #748
  • Notify on cancelled too by @ashotland in #749
  • Exclude single threaded test now that expiry is tested by @dranikpg in #750

New Contributors

Full Changelog: v0.14.0...v0.15.0

v0.14.0

20 Jan 05:30
49e53d5
Compare
Choose a tag to compare

Dragonfly v0.14.0

Some prominent features and fixes.

  • Fixed a bug that caused linker incompatibility on some Linux distributions.
  • Release of a Debian package (currently only for x86_64 architectures) - now it's much easier to install Dragonfly as a service on a linux machine.
  • http_admin_console flag is renamed to primary_port_http_enabled. This controls whether --port accepts http requests as well. Also, we added new flags like admin_port and admin_bind to listen on an additional port. Please note that admin_port always exposes the HTTP interface #709
  • Replication is almost ready - one can set up a master/slave setup with a usual "replicaof" command on a secondary replica (FAILOVER is not supported yet)

Huge thanks to all the contributors! ❤️

What's Changed

  • feat(server): Add metrics by @ashotland in #638
  • feat(replica): support multi transaction command by @adiholden in #634
  • feat(chart): add feature to generate/request TLS certificate through cert-manager by @tamcore in #644
  • feat(container): make healthcheck tls compatible by @tamcore in #643
  • Update README.md by @yingshaoxo in #633
  • feat(tools): Add Zipfian cache testing tool by @devangjhabakh in #640
  • fix(lua): fix a bug that truncates the last lua argument. by @romange in #652
  • chore(server): snapshot stats fix by @romange in #653
  • feat(replica): support multi shard commands new flow by @adiholden in #645
  • feat(helio): pull blocking counter fix by @adiholden in #655
  • fix(server): Fix bug in flushing in snapshot by @dranikpg in #654
  • fix(server): Fix db initialization in stable state by @dranikpg in #658
  • fix(server): Flush dbs before full sync by @dranikpg in #659
  • feat(server family): reject flushall and flushdb on multi command by @adiholden in #657
  • feat(replica): enable multi cmd sync on flag by @adiholden in #656
  • bug(replica): multi command on single shard exec all commands by @adiholden in #661
  • Pytests overhaul by @dranikpg in #569
  • fix(build): verify build image for releases by @boazsade in #664
  • feat(server family): impl ROLE command by @adiholden in #660
  • feat(server): implement BRPOPLPUSH command by @romange in #671
  • bug(snapshot): on journal write entry with opcode COMMAND and MULTI_C… by @adiholden in #662
  • fix(server): Fix shutdown order by @dranikpg in #675
  • feat(server): Json rdb support by @dranikpg in #674
  • fix(server): Fix a bug with brpoplpush by @romange in #677
  • fix(tests): Small pytest fixes by @dranikpg in #673
  • fix(server): Fix replication on a single thread by @dranikpg in #676
  • test(replication_test) : add replica flushall test by @adiholden in #669
  • test(rdb): Add json dump & restore test by @dranikpg in #678
  • feat(server): Buffered streamer + use on stable state by @dranikpg in #639
  • fix(core): Fix compact object bug by @dranikpg in #680
  • fix(test): reduce flakiness of tiered_storage_test by @romange in #684
  • chore(facade): speed up request allocation in pipeline mode by @romange in #682
  • fix(server): fix the bug where DF went over maxmemory limit by @romange in #683
  • feat(server): Rewrite journal commands (basic) by @dranikpg in #651
  • fix(server): Convert Heartbeat from a periodic task to a fiber by @ashotland in #690
  • feat(build): debian package building by @boazsade in #689
  • fix(server): Fix connection bug by @dranikpg in #695
  • feat(set family): rewrite set store commands to journal by @adiholden in #691
  • feat(zset family): implement a variant of ZUNION command issue #356 by @adiholden in #686
  • Refactor transaction by @dranikpg in #697
  • feat(actions): add support for debian packaging by @boazsade in #696
  • (generic family): journal support rename command by @adiholden in #698
  • feat(actions): add support for Debian packaging - add missing dependency by @boazsade in #701
  • feat(transaction): simplify calc multi trans unique shard count by @adiholden in #672
  • feat(build): debian package building fix dependency bug by @boazsade in #702
  • feat(server): Journal rewrite p2 + tests by @dranikpg in #699
  • (generic family): journal support move command by @adiholden in #708
  • feat(list family): impl rename journal commands by @adiholden in #704
  • fix(server): fix getex command with persist can get time overflow by @boazsade in #707
  • feat(server): admin port and interface by @boazsade in #709

New Contributors

Full Changelog: v0.13.1...v0.14.0