You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[fea] Added arithmetic on either side of SQL WHERE comparisons. The parser now treats id+date as the sum of the two fields. In both versions, use "id+date" for a JSON field or composite index with that name
[fea] flat_array_len() now compares array lengths with fractional values and numeric subquery results. For example, flat_array_len(tags) > 1.5 matches arrays with at least two elements
[fea] Unified escaping in SQL strings, quoted names and expressions. May break compatibility. Unknown escapes such as \q now keep their backslash. Use \\ for a literal backslash and double the enclosing quote to include it, as in 'it''s'
[fea] Sped up arithmetic filters on indexed int, int64 and double fields and reduced the cost of sorting MERGE results by indexed or joined fields
[fea] UPDATE SET expressions are now parsed when the query is built without namespace's lock
[fix] Fixed quoting of field and index names in generated SQL. Comparing the fields id and 123 used to produce WHERE id = 123. It now produces WHERE id = "123", preserving the field reference
[fix] May break compatibility. In SQL WHERE, now("msec") used to return the current time in milliseconds. It now raises an error because double quotes denote an identifier. Use now(msec) or now('msec')\
[fix] Fixed stale composite index entries after updating or dropping nested fields, including fields inside arrays
[fix] Assigning null to an element of a regular indexed array now returns an error
[fix] Fixed comparisons of arrays containing null that could leave stale sparse index entries after updates
[fix] Fixed a possible crash when inserting into a large hash index after deletions, and excess memory use when deleting duplicate or collation-equivalent strings from array indexes
[fix] Fixed row-count estimates for OR and NOT conditions to avoid unnecessary scans
[fix] Fixed errors and incorrect results when an empty condition or subquery precedes OR, including OR INNER JOIN under NOT. Fixed a hang when an INNER JOIN precedes an always-true OR condition
[fix] Fixed JOIN matches on mixed-type fields and sorting by a joined field when the JOIN cache is in use
[fix] Fixed incorrect matches in numeric comparisons involving NaN and in ALLSET filters on mixed-type arrays
[fix] DISTINCT on an R-tree point index now consistently returns an error, including with ORDER BY FIELD(...) and LIMIT
[fix] Fixed empty-string comparisons with numeric collation and integer overflow in EXPLAIN statistics
[fix] Single-value JSON inputs now reject trailing garbage or a second value. May break compatibility. Pass one value at a time, or pass an end pointer to C++ Item::FromJSON when reading consecutive objects
[fix] Fixed storage error handling so changes already applied in memory are still queued for persistence and replication. Closing a namespace now retries pending writes after a replication-state write fails
Fulltext
[fea] Added conditional full-text indexing for regular, sparse and composite text indexes. Set indexing_condition to a WHERE predicate such as published = true. Changing only the condition updates index membership without rebuilding the text index
[fea] Added indexed_items_count to full-text index statistics in #memstats. The count is available before the first search and counts documents with identical text separately
[fea] Full-text search now skips transliteration of keyboard-layout corrections. May break compatibility. With both options enabled, vjybnjh still matches монитор but no longer matches monitor through that correction
[fix] Fixed rank() sorting for sparse full-text indexes, including hybrid queries, and error reporting for invalid rank references
[fix] Fixed data_size accounting for full-text indexes in #memstats after deletions
[fix] Fixed auto-embedding requests that could keep waiting for a connection after a failed connection attempt returned a slot to the pool
Replication
[fea] Added asynchronous replication to RAFT clusters from another cluster or a standalone node. The source automatically discovers the target cluster's new leader after an election. Replicated namespaces are read-only on the secondary. See async replication and RAFT clusters
[fea] May break compatibility. The replication_mode setting is deprecated and now has no effect. Only the elected RAFT leader sends async updates
[fea] May break compatibility. role: none now allows outgoing async replication when targets are configured. Use nodes: [] to stop sending updates. At startup, role: leader clears the replica role of local namespaces outside the RAFT configuration. See async replication configuration
[fea] An async leader now resets follower namespaces marked simple_replica in the background when it removes a target or namespace, or gives up its async leader role. May break compatibility. Those namespaces become writable after the reset. Retry missed resets on configured followers with synchronize_replication_roles
[fea] Exposed the current target leader and shared configuration status in #replicationstats. #memstats now reports is_primary for namespaces on a secondary RAFT cluster
[fix] Fixed a split-brain case where overlapping RAFT elections could leave two nodes acting as leader
[fix] Fixed cluster shutdown delays during synchronization or a replication role change
[fix] Fixed excessive replication queue growth on the leader when a follower disconnected before receiving updates for writes it had forwarded
[fix] Fixed unnecessary follower resyncs when a rejected UPDATE with a new field was followed by a successful update to the same field
Reindexer server
[fix] Each #config item now applies only the section selected by its type
[fix] Fixed a startup race where SIGTERM or SIGINT could terminate the server without a graceful shutdown just after it started accepting connections
[fix] The HTTP API now returns 400 Bad Request for malformed Content-Length headers and 413 for lengths above the supported limit
Reindexer tool
[fix] Fixed dump restoration with blank lines or -- comments between \upsert commands. Restore errors now report the original line number
[fix] reindexer_tool --help now exits with status 0 (previously 2)
Go connector
[fea] Added IndexDef.IndexingCondition for conditional full-text indexing. Set it with UpdateIndex after creating the referenced indexes
[fea] Added QueryPerfStat.LongestQuery for the full SQL of the slowest query
[fea] Added DBAsyncReplicationNode.DSNs for RAFT targets
[fix] Empty JSON objects ({}) now decode as empty maps in map and interface{} fields. May break compatibility for code that relied on {} decoding as nil
[fix] Fixed races in event subscriptions that could delay delivery or leave a stream blocked on close
[fix] PerfStat.LatencyStddev now uses float64 to preserve fractional values. May break compatibility. Update Go code that expects an int64
[upd] Removed DBAsyncReplicationConfig.ReplicationMode (this field was deprecated). May break compatibility. Remove references to this field from Go code
C++ connector
[fix] Chaining WithTimeout() or WithCompletion() after WithContext() now preserves cancellation. Transaction requests also retain the shard ID selected when the transaction was opened
[fix] Reading the message from a moved Error no longer clears the message in other copies
Face
[fea] Face can now prefill fields from the JSON schema when one is available
[fea] Added support for conditional full-text indexing