Repository navigation
Releases
Sonic v1.10.2
Changes
- config(server): Set default
server.log_leveltowarn(in7f181c72) - feat(server): Make
stemminga Sonic server feature (in1a48cdf3) - ci: Build “light” version of Sonic on server releases (in
33acc004) - feat(ci)!: Stop making GitHub releases for core and client releases (in
07ed5b35) - chore: Update dependencies (in
4cf11e7b)
Bug Fixes
- fix(core): Remove debug logs (in
54d43044) - fix(core): Make
TRIGGER backupwork while stores are in use (in6afa0bb3) - fix(core): Back up and restore FST buckets again (in
31b01504) - fix(config): Fix
unicode_normalizationdeserialization (in890ba78a) - fix(core): Fix
set_low_priority_background_threads(incafce833)
Sonic v1.10.1
Changes
- docs: Explain
write_buffer_sizein MiB instead of asking for a multiple of 1024 (in52faa84)
Performance improvements:
- perf(core): Use
set_iid_to_termsonPUSHwhen assuming new (inc29f50d)
Dependency updates:
- Update dependencies (in
3e99e50) - deps(core): Bump
jieba-rsfrom0.10to0.11(in6e2b5a1) - deps(server): Bump
randfrom=0.10.2to=0.10.3(in11b721d) - deps(server): Bump
configfrom=0.15.25to=0.15.26(in26e3494)
Bug Fixes
- fix(server): Make experimental flag
NEWcompatible with content >buffer_size(in1c43813) - fix(core): Use byte offsets in CJK tokenizer (in
638d310)- Fix panic on Chinese text (
start byte index … is not a char boundary): usejieba_rs::Token::byte_start(byte offset) instead ofstart(Unicode offset) inTokenizer::tokenize. Also uselinderaToken::byte_startinstead of the removedtoken_startfield.
- Fix panic on Chinese text (
- fix(core): Fix object counter on big-endian platforms and after batch ingest (in
6902b0e) - fix(core): Clear
IIDIncrfrom cache during aFLUSHO(in0e1a2ce)
Sonic v1.10.0
Changes
- Deprecate
COUNTin favor of newCOUNTC/COUNTB/COUNTOcommands
Dependency updates:
- deps(core): Remove dependency to
byteorder(inb79c329) - deps(core): Remove dependency to
radix(in2fd3ecf)
New Features
- Add new
COUNTC/COUNTB/COUNTOcommands (in5bc6082)
Bug Fixes
- fix(core): Fix
u32_maxmerge operator really beingu32_min… (inec6a9b9) - fix(core): Fix
get_new_iidnot initializing from database (ina60b3af) - fix(core): Fix document count after a
FLUSHO(in060a899)
Sonic v1.9.1 - Yanked (use v1.10.0)
v1.10.0 instead.
Changes
- packaging(docker): Bump Docker base image from
rust:slim-bullseyetorust:1-slim-trixie(in2d6cd53)
Bug Fixes
- fix(server): Do not panic when a channel read fails (in
534733e,2457da6)
Sonic v1.9.0 - Yanked (use v1.10.0)
v1.10.0 instead.
This version introduces substantial performance improvements to PUSH requests.
While most improvements should benefit all Sonic users, some new experimental features were introduced to address specific high-scale needs which shouldn’t be a concern for most users. For now those API introductions are hidden behind the experimental-api feature flag, which won’t be enabled in official builds of Sonic. We’ll take those out of the experimental stage after using it in production and confirming that the chosen design is a good long-term choice.
Changes
Performance improvements:
- perf(core): Reduce locks contention caused by
IIDIncr(inf7de118) - perf(core): Use a single
rocksdb::WriteBatchper Sonic request (in606cb31,981d1bc) - perf(core): Use merge operators for
TermToIIDsandIIDToTerms(inb5921a1,6bd24cb) - perf(core): Perform fewer merge operations by writing less often (in
3207a35) - perf(core): Avoid
get_meta_to_valueread inauto_increment_iid(in79fa14f) - perf(core): And various other performance improvements
Dependency updates:
- deps(core): Bump
rocksdbfrom0.24to0.25(in80c3827) - deps(server): Bump
clapfrom4.6.6to4.6.7(in2e153c4) - deps(server): Update locked
chacha20version (in6fab659) - deps(server): Enable
rocksdb/jemallocwhenallocator-jemallocis enabled (in67624ac)
New Features
- feat(server): Add experimental
TRIGGER compact(inba4e974) - feat(server): Add experimental
CONFIGcontrol command (#400) (ina7a5497,03a2a4e) - feat(core): Add experimental
NEWflag toPUSH(inf94cba0) - feat(core):
impl Debug for sonic::Config(in6464cbf)
Bug Fixes
- fix(server): Preserve escaped character after unrecognized escapes (#398) (in
e6a72da,ad5914b,85ab93e) - fix(server): Fix panic when client closes connection before
ENDED(in80c3665) - fix(core): Fix
max_flushes(in36de4c5)
Sonic v1.8.1
New Features
- test: Add compatibility tests to ensure non-breaking config changes (in
47dcc38)
Bug Fixes
- Fix configuration deserialization (in
2f678ae)- Some RocksDB configuration keys got renamed and it turned out to be a breaking change (see #396)
Sonic v1.8.0 - Breaking (use v1.8.1)
v1.8.1 instead.
Changes
- packaging(docker): Move config file to
/etc/sonic/sonic.cfg(in04a5fe6)
Improvements to search results:
- core: Implement BM25 lite (idf only) (in
0ac3e7b) - core: Minimum term idf, to avoid low-quality results at the end of the results list (in
58cd0e4)
Bump dependencies:
sonic-server’s dependencies:- Bump
clapfrom=4.6.1to=4.6.6 - Bump
serdefrom=1.0.228to=1.0.229
- Bump
sonic_client’s dependencies:- Bump
tokiofrom=1.52.3to=1.53.1
- Bump
- Fixes
RUSTSEC-2024-0436,RUSTSEC-2026-0173(unmaintained deps, not critical)
New Features
- server: Search for configuration in more locations (in
57ef691) - server: Add experimental
TRIGGER flush(infff8bea) - core: Add support for Unicode normalization (in
678d5e1) - core: Add support for custom stopwords (in
764536e) - core: Add more RocksDB configuration keys (in
8eb3045) - bench: Add BEIR benchmark (in
9d102eb)
Bug Fixes
- server: Fix regression in sonic CLI (in
457e68d)- Colors, help, usage, error context and suggestions had disappeared after we set
default-features = falseonclap
- Colors, help, usage, error context and suggestions had disappeared after we set
- core: Make
QUERYinsensitive to Unicode normal form (in0fd1050) - core: Make stopwords insensitive to Unicode Normal Form (in
3f9782b) - core: Remove numbers from stopwords (in
4e11f75)
Sonic v1.7.4
Changes
Dependency updates:
- core: Bump
jieba-rsfrom0.9to0.10(in5d4a432) - core: Disable unnecessary
rocksdbfeatures (in421d13d) - core: Disable default features for all dependencies (in
cd7f328) - server: Bump
tikv-jemallocatorfrom0.6.1to0.7.0(inba585e5) - server: Remove dependency to
lazy_static(in0688d5c) - server: Update transitive dependencies (in
456343a) - server: Pin all dependencies (in
ec4a30a) - server: Disable default features for all dependencies (in
606c9cf)
New Features
- feat(core): Improve the tokenizer to avoid splitting special tokens (in
f290006) - feat(core): Make tokenizer pattern matching opt-in (in
ddd6848) - feat(core): Make tokenizer pattern matching non-breaking (in
e744fd0)
Bug Fixes
- fixup! packaging(debian): Do not run
chown -Ron every Sonic update (in0835b27)
Sonic v1.7.3
Changes
- packaging(debian): Do not run
chown -Ron every Sonic update (inb244423) - feat(core): Consider more strings to be IDs (in
58bfe3c)
Sonic v1.7.2
Bug Fixes
- fix(core): Perform implicit
ANDwhenQUERYing an ID (infe3d2cc)