Skip to content

Tags: tarantool/checks

Tags

3.3.0

# 3.3.0

## Overview

This release introduces API to check module version in code and
built-in module overriding.

## Breaking changes

This release should not break any existing behavior.

## New features

- Versioning supported.
- Override built-in checks, if installed.

## Changes

- Build rock with cmake.

3.2.0

Release 3.2.0

3.1.0

Release 3.1.0

Added

- "tuple" type supported
- "decimal" type supported

3.0.1

Release version 3.0.1

Fixed
- Repair multiple question marks (`checks('?type1|?type2')`) for better
  compatibility with v2.x, which has been accidentally broken in v3.0.0
- Further performance optimization by caching types qualifiers
- Speed up uuid, uuid_str, uuid_bin checkers

Added
- v2.x compatibility flag `_G._checks_v2_compatible` which makes
  table type qualifiers to substitute nil arguments with an empty table
  (as it used to be in v2.1)

3.0.0

Release version 3.0.0

Fixed
- Performance optimization

Changed
- Checking table type qualifiers does not change any arguments
(incompatible change)

2.1.1

Release version 2.1.1

Fixed
- Checking required options `checks({required = 'string'})`
- Checking nested tables

2.1.0

Added

- Built-in checkers: int64, uint64
- Built-in checkers: uuid, uuid_str, uuid_bin

2.0.2

Release version 2.0.2

** Fixed
- Specifying error level: `checks(2, ...)`

2.0.1

Release version 2.0.1

2.0.0

- Rewritten source code to Lua

- msgpack.NULL is valid for optional parameters now (incompatible change)
- Ability to check "option" parameters following their hierarchical structure.