Releases: tarantool/crud
1.6.1: new request options
Added
- Support for vshard's request_timeout parameter for calls with mode = 'read'
Changed
- Auto-fill bucket_id for primary-key CRUD requests (get/update/delete) when the sharding index is the primary index and bucket_id is passed as box.NULL.
1.6.0: maintenance release
Overview
This release polishes CRUD behavior around routing, schema discovery, and Cartridge compatibility, and introduces validation safeguards for bucket_id. It also includes minor version bumps and stability fixes.
Added
- Role model support for single CRUD operations (commit).
- Validation of bucket_id: invalid values now raiseBucketIDErrorbefore routing (commit).
Changed
- Bump vshardversion in rockspec.
Fixed
- Compatibility with Cartridge 2.16.0.
- crud.schemano longer returns TCF system space- _cdc_state.
- crud.schemano longer returns system space- _gc_consumerswith Tarantool- 3.2+.
- crud.schemano longer returns- ttsystem space- _tt_migrations.
- Stabilized schematests for Tarantool3.2+.
- Fixed bad error handling for method call.single.
- Added support for operating on Tarantool 3.1with data created on2.11; previously an error occurred due to replicasets lookup by name (commit).
1.5.2: many operations fix
Overview
This release fixes the bug that was discovered while working with tt crud export and tt crud import tools.
Fixed
- insert_many,- insert_object_many,- replace_many,- replace_object_many,- upsert_many,- upsert_object_manyoperations no longer fail with- ShardingHashMismatchErrorif a space has custom sharding info and every tuple/object in the request has- bucket_idset (#437).
1.5.1: license update
Overview
This release clarifies license in the rockspec.
Added
- Clarify license in the rockspec (#434).
1.5.0: roles for Tarantool 3
Overview
This release introduces roles for Tarantool 3 configuration (supported for versions 3.0.2, 3.1.0 and newer).
Added
- Asynchronous bootstrap support for storages (#412).
- Tarantool 3 roles for setting up crud routers and storages (#415).
- Ability to configure crud through Tarantool 3 roles configuration (#415).
Changed
- Explicitly forbid datetime interval conditions (#373).
- Storage initialization is now asynchronous by default for Tarantool 3.0+ (#412).
- Additionally check backoff error on storage info fetch (#427).
Fixed
- Working with datetime conditions in case of non-indexed fields or non-iterating indexes (#373).
- Precision loss for decimal conditions in case of non-indexed fields or non-iterating indexes (#373).
- Passing errors from storages for merger operations (crud.select,crud.pairs,readview:select,readview:pairs) (#423).
- Working with niloperand conditions in case of non-indexed fields or non-iterating indexes (#422).
1.4.3: scan fix
Overview
This release introduces compatibility with several Tarantool 3 + vshard 0.1.25 features, as well as critical scan fix.
Fixed
- Compatibility with vshard configuration if UUIDs are omitted (#407).
- Compatibility with automatic master discovery in vshard (#409).
- Secondary conditions for index operands with operations >=,<=,>,<no longer cause missing part of the actual result for scan operations (crud.select,crud.pairs,crud.count,readview:select,readview:pairs) (#418).
1.4.2: vshard name as key
Overview
This release introduces compatibility with vshard 0.1.25 name_as_key identification mode, as well as several minor fixes and tests stabilization.
Added
- modeoption for- crud.minand- crud.max(#404).
Fixed
- Compatibility with vshard 0.1.25 name_as_keyidentification mode for Tarantool 3.0 (#403).
- Propagating noreturnandfetch_latest_metadataoptions in case of intermediate nullable fields update for Tarantool 2.7 and older (#404).
Infrastructure
1.4.1
Overview
This release introduces various fixes for future Tarantool 3 patches related to tuples over network.
Changes
- Dropped external tuple merger and tuple keydef modules installation from the package build (#390).
Fixes
1.4.0
Overview
This release improves experience for VShard clusters users and Tarantool 3 users. It also introduces schema introspection API.
New features
- Space schema introspection API crud.schema(#380).
Bugfixes
- Return explicit error for *_manycall with no tuples/objects (#377).
- crud.readviewresource cleanup on garbage collect (#379).
- VShard storage user have not execution rights for internal functions (#366).
- Compatibility with Tarantool 3.0 tuple objects (#387).
Infrastructure
- deps.shinstalls the- vshardinstead of the- cartridgeby default (#364). You could to specify an environment variable- CARTIRDGE_VERSIONto install the- cartridgeand run tests cases with it.
- doc/playground.luadoes not work with Tarantool 3 (#371).
- Tests with Tarantool 3 (#364).
- Quickstart section in the README.md focuses on usage with vshardinstead ofCartridge(#366).
1.3.0
Overview
This release introduces read view support for select and pairs. A read view is an in-memory snapshot of data on instance that isn't affected by future data modifications. For a sharded cluster, we open a read view on each storage when one is requested from the router. Read views are supported for Tarantool Enterprise since 2.11.
New features
- Read view support for select and pairs (#343).