Releases: tarantool/crud
Release list
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 thevshardinstead of thecartridgeby default (#364). You could to specify an environment variableCARTIRDGE_VERSIONto install thecartridgeand 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).
1.2.0
Overview
This release add two new flags: noreturn to ignore return values excessive transfer and encoding/decoding for insert/replace/etc (performance improvement up to 10% for batch requests) and fetch_latest_metadata to force fetching latest space format metadata right after a live migration (performance overhead may be up to 15%).
New features
- Add
noreturnoption for operations:insert,insert_object,insert_many,insert_object_many,replace,replace_object,replace_many,insert_object_many,upsert,upsert_object,upsert_many,upsert_object_many,update,delete(#267).
Bugfixes
- Crud DML operations returning stale schema for metadata generation. Now you may use
fetch_latest_metadataflag to work with latest schema (#236).
1.1.1
Overview
This release fixes a critical bug that resulted in 100% storage CPU load and fixes a couple of issues related to the development pipeline.
Changes
- Rename
DEVenvironment variable toTARANTOOL_CRUD_ENABLE_INTERNAL_CHECKS(#250).
Bugfixes
1.1.0
1.0.0
Overview
This release introduces a breaking change with removing a deprecated feature: crud.len(space_id).
This release also introduces a Cartridge clusterwide config to setup crud.cfg.
Breaking changes
You cannot use space id as a space identifier in crud.len anymore. Use space name instead.
New features
- Timeout condition for the validation of master presence in replicaset and for the master connection (#95).
- Cartridge clusterwide configuration for
crud.cfg(#332).
Changes
- Forbid using space id in
crud.len(#255).
Fixes
0.14.1
Overview
This release introduces the support of sequences for insert_object, insert_object_many, replace_object, replace_object_many and impoved error messages for some cases.
Warning: there is no native support for sequences in sharded systems since each replicaset has its own sequence. If sequence field is a part of the sharding key (which is true by default), choosing the bucket id is the sole responsibility of the developer.
New features
skip_nullability_check_on_flattenoption forinsert_object,insert_object_many,replace_object,replace_object_many.falseby default. By setting the option totrueyou allow setting null values to non-nullable fields (#328).
Changes
- Rework
NonInitializederror message to be more helpful for troubleshooting (#326).
0.14.0
Overview
This release introduces vshard group and non-default vshard routers support.
To use a space from Cartridge vshard group, pass the group name to a vshard_group request option.
local res, err = crud.select('customers',
{{'<=', 'age', 35}},
{first = 10, vshard_group = 'hot'})To use a space from non-default vshard router, pass the router object to a request.
local vshard_router = vshard.router.new(name, cfg)
local res, err = crud.select('customers',
{{'<=', 'age', 35}},
{first = 10, vshard_group = vshard_router})New features
- vshard group and non-default vshard routers support (#44).
Changes
- Deprecate using space id in crud.len (#255).
0.13.0
Overview
The main feature of this release is the full support of vshard sharding functions (see ddl 1.6.2 for corresponding ddl release).
Breaking changes
There are no breaking changes in the release.
New features
crud.storage_infofunction to get storages status (#229).
Bugfixes
- Fix specifying
vshardsharding funcs (#314).
0.12.1
Overview
This is a bugfix release. It introduces several fixes related to crud and ddl module integration.
Breaking changes
There are no breaking changes in the release.