Skip to content

Releases

Sonic v1.10.2

Choose a tag to compare

@github-actions github-actions released this 05 Oct 13:25
v1.10.2
f7a75d2

Changes

  • config(server): Set default server.log_level to warn (in 7f181c72)
  • feat(server): Make stemming a Sonic server feature (in 1a48cdf3)
  • 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 backup work while stores are in use (in 6afa0bb3)
  • fix(core): Back up and restore FST buckets again (in 31b01504)
  • fix(config): Fix unicode_normalization deserialization (in 890ba78a)
  • fix(core): Fix set_low_priority_background_threads (in cafce833)

Sonic v1.10.1

Choose a tag to compare

@github-actions github-actions released this 25 Sep 23:11
v1.10.1
a79837d

Changes

  • docs: Explain write_buffer_size in MiB instead of asking for a multiple of 1024 (in 52faa84)

Performance improvements:

  • perf(core): Use set_iid_to_terms on PUSH when assuming new (in c29f50d)

Dependency updates:

  • Update dependencies (in 3e99e50)
  • deps(core): Bump jieba-rs from 0.10 to 0.11 (in 6e2b5a1)
  • deps(server): Bump rand from =0.10.2 to =0.10.3 (in 11b721d)
  • deps(server): Bump config from =0.15.25 to =0.15.26 (in 26e3494)

Bug Fixes

  • fix(server): Make experimental flag NEW compatible with content > buffer_size (in 1c43813)
  • fix(core): Use byte offsets in CJK tokenizer (in 638d310)
    • Fix panic on Chinese text (start byte index … is not a char boundary): use jieba_rs::Token::byte_start (byte offset) instead of start (Unicode offset) in Tokenizer::tokenize. Also use lindera Token::byte_start instead of the removed token_start field.
  • fix(core): Fix object counter on big-endian platforms and after batch ingest (in 6902b0e)
  • fix(core): Clear IIDIncr from cache during a FLUSHO (in 0e1a2ce)

Sonic v1.10.0

Choose a tag to compare

@github-actions github-actions released this 21 Sep 14:04
v1.10.0
84bc8f5

Changes

  • Deprecate COUNT in favor of new COUNTC/COUNTB/COUNTO commands

Dependency updates:

  • deps(core): Remove dependency to byteorder (in b79c329)
  • deps(core): Remove dependency to radix (in 2fd3ecf)

New Features

  • Add new COUNTC/COUNTB/COUNTO commands (in 5bc6082)

Bug Fixes

  • fix(core): Fix u32_max merge operator really being u32_min… (in ec6a9b9)
  • fix(core): Fix get_new_iid not initializing from database (in a60b3af)
  • fix(core): Fix document count after a FLUSHO (in 060a899)

Sonic v1.9.1 - Yanked (use v1.10.0)

Choose a tag to compare

@github-actions github-actions released this 15 Sep 10:00
v1.9.1
0bc9ecf

⚠️ Two nasty bugs made it into this release (see #408). Use v1.10.0 instead.

Changes

  • packaging(docker): Bump Docker base image from rust:slim-bullseye to rust:1-slim-trixie (in 2d6cd53)

Bug Fixes

  • fix(server): Do not panic when a channel read fails (in 534733e, 2457da6)

Sonic v1.9.0 - Yanked (use v1.10.0)

Choose a tag to compare

@github-actions github-actions released this 15 Sep 08:39
v1.9.0
11e0d2c

⚠️ Two nasty bugs made it into this release (see #408). Use 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 (in f7de118)
  • perf(core): Use a single rocksdb::WriteBatch per Sonic request (in 606cb31, 981d1bc)
  • perf(core): Use merge operators for TermToIIDs and IIDToTerms (in b5921a1, 6bd24cb)
  • perf(core): Perform fewer merge operations by writing less often (in 3207a35)
  • perf(core): Avoid get_meta_to_value read in auto_increment_iid (in 79fa14f)
  • perf(core): And various other performance improvements

Dependency updates:

  • deps(core): Bump rocksdb from 0.24 to 0.25 (in 80c3827)
  • deps(server): Bump clap from 4.6.6 to 4.6.7 (in 2e153c4)
  • deps(server): Update locked chacha20 version (in 6fab659)
  • deps(server): Enable rocksdb/jemalloc when allocator-jemalloc is enabled (in 67624ac)

New Features

  • feat(server): Add experimental TRIGGER compact (in ba4e974)
  • feat(server): Add experimental CONFIG control command (#400) (in a7a5497, 03a2a4e)
  • feat(core): Add experimental NEW flag to PUSH (in f94cba0)
  • feat(core): impl Debug for sonic::Config (in 6464cbf)

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 (in 80c3665)
  • fix(core): Fix max_flushes (in 36de4c5)

Sonic v1.8.1

Choose a tag to compare

@github-actions github-actions released this 16 Aug 14:59
v1.8.1
5961d9b

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)

Choose a tag to compare

@github-actions github-actions released this 16 Aug 10:00
v1.8.0
298ac65

⚠️ Some RocksDB configuration keys got renamed and it turned out to be a breaking change (see #396). Use v1.8.1 instead.

Changes

  • packaging(docker): Move config file to /etc/sonic/sonic.cfg (in 04a5fe6)

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 clap from =4.6.1 to =4.6.6
    • Bump serde from =1.0.228 to =1.0.229
  • sonic_client’s dependencies:
    • Bump tokio from =1.52.3 to =1.53.1
  • 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 (in fff8bea)
  • 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 = false on clap
  • core: Make QUERY insensitive to Unicode normal form (in 0fd1050)
  • core: Make stopwords insensitive to Unicode Normal Form (in 3f9782b)
  • core: Remove numbers from stopwords (in 4e11f75)

Sonic v1.7.4

Choose a tag to compare

@github-actions github-actions released this 09 Jul 18:24
v1.7.4
f2b4839

Changes

Dependency updates:

  • core: Bump jieba-rs from 0.9 to 0.10 (in 5d4a432)
  • core: Disable unnecessary rocksdb features (in 421d13d)
  • core: Disable default features for all dependencies (in cd7f328)
  • server: Bump tikv-jemallocator from 0.6.1 to 0.7.0 (in ba585e5)
  • server: Remove dependency to lazy_static (in 0688d5c)
  • 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 -R on every Sonic update (in 0835b27)

Sonic v1.7.3

Choose a tag to compare

@github-actions github-actions released this 07 Jul 16:47
v1.7.3
480b348

Changes

  • packaging(debian): Do not run chown -R on every Sonic update (in b244423)
  • feat(core): Consider more strings to be IDs (in 58bfe3c)

Sonic v1.7.2

Choose a tag to compare

@github-actions github-actions released this 06 Jul 16:00
v1.7.2
d15cc1c

Bug Fixes

  • fix(core): Perform implicit AND when QUERYing an ID (in fe3d2cc)