Skip to content

Commit

Permalink
Release 0.14.0
Browse files Browse the repository at this point in the history
Overview

  This release introduces vshard group and non-default vshard routers
  support.

  To use a space Cartridge vshard group, pass group name to a request
  `vshard_group` option.

  ```lua
  local res, err = crud.select('customers',
                               {{'<=', 'age', 35}},
                               {first = 10, vshard_group = 'hot'})
  ```

  To use non-default vshard router, pass router object to a request
  `vshard_group` option.

  ```lua
  local my_router = vshard.router.new(name, cfg)
  local res, err = crud.select('customers',
                               {{'<=', 'age', 35}},
                               {first = 10, vshard_group = my_router})
  ```

New features

  * vshard group and non-default vshard routers support (#44).

Changes

  * Deprecate using space id in crud.len (#255).
  • Loading branch information
DifferentialOrange committed Sep 14, 2022
1 parent d6f7666 commit fd11b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [0.14.0] - 13-09-22

### Added
* Support `vshard_router` option in operations for Cartridge vshard groups
Expand Down

0 comments on commit fd11b2d

Please sign in to comment.