Repository navigation
v1.32.0 - Collection alias, Rotational quantization (RQ), Replica movement, Compressed vector connections
·
11935 commits
to main
since this release
Breaking Changes
None
New Features
Collection Alias (Preview)
- Add collection alias to raft state machine and snapshots by @parkerduckworth in #8463
- Implement alias endpoint operations by @antas-marcin in #8483
- Support collection aliases in GQL schema by @parkerduckworth in #8503
- Add aliases endpoint e2e tests by @antas-marcin in #8504
- Add validation for alias name existence by @antas-marcin in #8518
- chore(alias): Fix DELETE and GET response types and status codes by @kavirajk in #8567
- Implement resolving class using an alias by @antas-marcin in #8524
- fix(alias): return alias as target collection in gRPC Search by @antas-marcin in #8585
- test: replace non existing alias or alias to non existing collections by @amourao in #8595
- test: ✅ extra checks to invalid create and update aliases by @amourao in #8604
- chore(alias): Tweak error message on create alias. by @kavirajk in #8611
- Test/alias backup by @amourao in #8605
- fix(alias): get aliases with RBAC roles by @antas-marcin in #8644
Rotational Quantization
- Rotational Quantization by @robbespo00 in #8260
Replica Movement
- Replica Movement: Reset Async Replication After Finalization by @nathanwilk7 in #8064
- Fix casing on repl mvmt to match by @nathanwilk7 in #8278
- Fix import cycle between
usecases/replicaandusecases/objectsby @salvatore-campagna-weaviate in #8301 - add more info to details endpoint by @reyreaud-l in #8342
- Fix async replication target node endpoint to use the correct endpoint by @salvatore-campagna-weaviate in #8362
- Lower log levels in replica movement no-ops to avoid polluting logs by @tsmith023 in #8379
- Add missing
cancel()call in timeout case by @salvatore-campagna-weaviate in #8380 - chore: passive target node by @jeroiraz in #8377
- Only start async replication in dehydrating if replica exists by @tsmith023 in #8445
- ensure that batch autotenant waits for version once tenants have been created to avoid EC issues by @reyreaud-l in #8477
- Router with Single Tenant and Multi Tenant Support by @salvatore-campagna-weaviate in #8354
- ensure we dont erase the fields in consumer state machine logger by @reyreaud-l in #8473
- Rename
transferTypetotypeinschema.jsonfile by @tsmith023 in #8493 - Renames
nodeIdtotargetNodeinListReplicationby @tsmith023 in #8521 - Rename
REPLICA_MOVEMENT_ENABLEDtoREPLICA_MOVEMENT_DISABLEDby @tsmith023 in #8535 - chore: file replication over grpc by @jeroiraz in #8350
- Add timestamps for status changes to replication op details by @tsmith023 in #8537
- Remove
404return fromGET /replication/replicate/listby @tsmith023 in #8539 - Add test that moves tenants from INACTIVE states by @tsmith023 in #8549
- Call
c.stopAsyncReplicationinsidec.cancelOpto be sure of cleanup by @tsmith023 in #8581 - Add test of scaling out a cluster from
rf=1torf=3by @tsmith023 in #8607 - Test movement of a shard with 1m objects by @tsmith023 in #8588
- Fix async replication of deletions during movement operations by @tsmith023 in #8556
- Handle replica movement replication factor changes in Index by @nathanwilk7 in #8615
Compressed Vector Connetions
Modules
- Add support for reranking Cohere V3.5 model by @jormeijer in #6696
- Add neartext search to bigram by @donomii in #8230
- Fix AWS Sagemaker integration by @antas-marcin in #8365
- modules(text2vec-google): add support for Gemini embedding model by @antas-marcin in #8542
- Rename text2colbert-jinaai module to text2multivec-jinaai by @antas-marcin in #8543
- Add support for jina-embeddings-v4 model by @antas-marcin in #8587
- Add multi2multivec-jinaai module by @antas-marcin in #8609
Cluster Usage Module
- feat: usage module for internal use by @moogacs in #8381
- feat(usage-backup): add files size in bytes for backup metadata by @moogacs in #8382
- refact(backup-size) calculate shard concurrently and remove not needed data for calculation by @moogacs in #8400
- chore: remove usage module from config.runtime-overrides by @moogacs in #8402
- refact(usage-module): runtime config initiation by @moogacs in #8397
- feat(usage-module): export methods and implementations in db and indexes for usage by @moogacs in #8398
- feat(usage): service cluster wide to collect metrics to be used by modules by @moogacs in #8444
- feat(usage): implement object storage size calculation by @moogacs in #8456
- feat(usage): implement vector storage size calculation by @moogacs in #8487
- fix(usage): avoid recursions on lazy loaded shards path by @moogacs in #8577
- refact(usage): introduce Loaded() and handle concurrency calls for cold tenant object storage calc and add unit test by @moogacs in #8555
- refact(usage): refact and fix object storage & dimensionality interfaces by @moogacs in #8575
- refact(usage): add logger to usage service and module by @moogacs in #8534
- feat(usage): add s3 module and common usage module functionality by @moogacs in #8602
Fixes
- fix(raft): reloadDB with 1st apply encounter where index is greater than or eq by @moogacs in #8334
- fix: local path fixes and error handling improvements by @jeroiraz in #8356
- fix: asyncreplication using halt for transfer instead of pause compaction by @jeroiraz in #8376
- fix(runtime-config): panic in runtime config setter by @moogacs in #8395
- fix(raft-snapshot): handle cases were classes are empty or nil by @moogacs in #8419
- Fix RBAC snapshots overwriting env config by @dirkkul in #8422
- Fix metered reader for .wal files by @dirkkul in #8429
- fix: filter out nil values in generative query by @bevzzz in #8458
- Hotfix/loading dynamic index segment panic by @tsmith023 in #8461
- feat(runtime): Support
String()method for dynamic values by @kavirajk in #8469 - fix: panic when trying to parse unparseable custom certificate string by @antas-marcin in #8488
- fix: simplify and unify object deletion logic by @jeroiraz in #8484
- Fixed Seed MUVERA by @robbespo00 in #8479
- fix(yaml): upgrade to yaml.v3 for startup config unmarshaling by @kavirajk in #8500
- chore: add node metadata management for cluster nodes by @jeroiraz in #8460
- fix: 🐛 retry migration later if index == nil by @amourao in #8511
- bug(runtime): Fix default YAML marshaling values by @kavirajk in #8538
- fix: Remove nil check for maintenance mode in async replication config by @amourao in #8544
- Fix reloadlocaldb by @jeroiraz in #8554
- fix: 🐛 fix shard selection on empty string by @amourao in #8552
- fix: register crud operations if lsm operation succeed by @jeroiraz in #8571
- fix: add locking mechanism for object deletion to prevent race conditions by @jeroiraz in #8584
- fix: improve object handling in shard write operations by @jeroiraz in #8590
- fix: prevent double processing of object digests in ApplyToObjectDigests by @jeroiraz in #8597
- fix: prevent double processing of object digests by @jeroiraz in #8598
- fix: reset async replication stats when disabling async replication by @jeroiraz in #8620
- Fixing hybrid index collision buckets by @abdelr in #8617
- fix wrong error check by @abdelr in #8627
- fix: make hybrid search offsets consistent by @amourao in #8594
- Descriptive error message on malformed reference property by @bevzzz in #8625
- chore(generative): add ability to pass any property to prompt by @antas-marcin in #8638
- fix: ensure initialization channel is closed upon failure by @jeroiraz in #8630
- Fix filtered search multivector and quantization by @robbespo00 in #8614
- Fix Muvera + Quantization + Snapshot by @robbespo00 in #8646
- fix(backup): control the increase of goroutines from connections leaks by @moogacs in #8647
Performance Improvements
- Cost-Aware Sort: Query Planner & Inverted-Index Sorter (2-200x faster) by @etiennedi in #8325
- Read fully loaded segments always from memory by @dirkkul in #8349
- Disable bloom filters if segment is loaded into memory by @dirkkul in #8355
- chore: shuffle the replicas to randomize the order in which we look for differences by @jeroiraz in #8368
- Optimize segment cursor and add read metrics by @dirkkul in #8387
- Reduce reads for segmentCursorCollectionReusable by @dirkkul in #8394
- Optimize binary quantization by @vojtechtoman in #8346
- Lazy segment loading by @dirkkul in #8336
- chore: use inmem and ondisk cursors to list object digests by @jeroiraz in #8430
- Limit maximum HNSW connections by @trengrj in #8497
- Capped HNSW level generation by @trengrj in #8496
- Optimize allocations in segment node list serilization by @dirkkul in #8516
- feat: ✨ support to compacting without lvl increase by @amourao in #8513
- Optimize compactions by reading segment file only once by @dirkkul in #8358
- feat: ✨ skip hashbeat if maintenance mode is enabled by @amourao in #8525
- Disable CNA by default and only enable for object bucket by @dirkkul in #8531
- feat: ✨ overriding migration vars with endpoint call by @amourao in #8514
- Reduce calls to fileExists by @dirkkul in #8499
- fix: 🐛 pause objects bucket compaction during BMW migration by @amourao in #8512
- fix: enhance async replication handling with minimal hashtree initialization by @jeroiraz in #8599
Observability Improvements
- chore: Add INFO logs for every change in runtime overrides config. by @kavirajk in #8323
- chore: snapshot log to logger output by @moogacs in #8331
- chore(runtime): Improve log message and fix flaky test by @kavirajk in #8333
- Override query slow log settings at runtime by @etiennedi in #8328
- Add mmap metrics to compaction by @dirkkul in #8428
- feat(backups-listing): expose list backups endpoint and fix gcs list all backup by @moogacs in #8345
- Add metrics for lazy segment loading by @dirkkul in #8573
Testing Improvements
- chore: stablize TestNetworkIsolationSplitBrain by @moogacs in #8330
- chore: fix unittest TestBackoffBehavior by @moogacs in #8339
- increase timeout in tests by @reyreaud-l in #8341
- Refactor tests to avoid circular dependencies by @salvatore-campagna-weaviate in #8310
- chore(tests): remove duplicate tests by @donomii in #8417
- test: use require.EventuallyWithT to ensure all nodes are healthy by @jeroiraz in #8403
- Make
READYstate mock idempotent to avoid flaky test by @salvatore-campagna-weaviate in #8501 - fix: adjust sleep times in segment group cleanup tests by @aliszka in #8517
- Add make mocks to make help output by @nathanwilk7 in #8559
- fix: set tenant status to HOT in TestMigrator_UpdateIndex by @jeroiraz in #8561
Security
- OIDC use self service certificate by @antas-marcin in #8405
- Allow having no RBAC root users by @dirkkul in #8340
- Include RBAC and dynamic users in backups by @dirkkul in #7620
- Allow imports with static keys by @dirkkul in #8193
- RBAC: add viewer groups by @dirkkul in #8443
- RBAC: Add source IP to audit log by @dirkkul in #8450
- RBAC: Add domain to audit log by @dirkkul in #8453
- Add ability to parse s3:// links containing custom certificate by @antas-marcin in #8490
- Fix imported key with delete and suspend by @dirkkul in #8491
- chore(oidc): configure OIDC audit logs by @antas-marcin in #8639
- chore(oidc): add support for AWS IAM when trying to download OIDC certificate by @antas-marcin in #8652
Chores and Docs
- Fix typo in collection definition by @databyjp in #8074
- refact: split modules interface w/o http handler by @moogacs in #8371
- refact(8371): follow up cleaning by @moogacs in #8373
- chore: update licence script to dynamically detect year by @moogacs in #8411
- chore: add GH action for licence header updates on yearly basis by @moogacs in #8413
- chore(files-header): update year to 2025 by @moogacs in #8412
- feat: wrap DistributedTasks under enabled flag to be opt-in feature by @moogacs in #8427
- chore: update version on main to v1.32.0-dev by @antas-marcin in #8440
- Add endpoint deprecation notes for old class-less endpoints by @databyjp in #8448
- chore(runtimeconfig): Add support for
experimentalhooks by @kavirajk in #8452 - Align all body params in
schema.jsonby @tsmith023 in #8494 - chore: increase weaviate container initialization timeout by @jeroiraz in #8502
- chore: uncomment TEST_WEAVIATE_IMAGE environment variable by @jeroiraz in #8540
- Update OpenAPI docs for collection aliases by @g-despot in #8546
- chore(usage): update error message by @moogacs in #8650
New Contributors
- @jormeijer made their first contribution in #6696
- @vojtechtoman made their first contribution in #8346
Full Changelog: v1.31.0...v1.32.0