Skip to content

Commit

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

This release adds a number of features. The extending of the public API
has become possible with a new way of creating requests. New types of
requests are created via chain calls:

selectReq := NewSelectRequest("space").
             Context(ctx).
             Index(1).
             Offset(5).
             Limit(10)
future := conn.Do(selectReq)

Streams, context and prepared statements support are based on this
idea:

stream, err := conn.NewStream()
beginReq := NewBeginRequest().Context(ctx)
if response, err := stream.Do(beginReq).Get(); err != nil {
    selectFuture := stream.Do(selectReq)
    commitFuture := stream.Do(NewCommitRequest())
    // ...
}
```

Breaking changes

    NewErrorFuture function removed (#190).

    `IPROTO_*` constants that identify requests renamed from
    `<Name>Request` to `<Name>RequestCode` (#126)

New features

    SSL support (#155).

    IPROTO_PUSH messages support (#67).

    Public API with request object types (#126).

    Support decimal type in msgpack (#96).

    Support datetime type in msgpack (#118).

    Prepared SQL statements (#117).

    Context support for request objects (#48).

    Streams and interactive transactions support (#101).

    `Call16` method, support build tag `go_tarantool_call_17`
    to choose default behavior for `Call` method as Call17 (#125)

Bugfixes

    Add `ExecuteAsync` and `ExecuteTyped` to common connector
    interface (#62).
  • Loading branch information
oleg-jukovec committed Aug 4, 2022
1 parent c0ca261 commit d955230
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ Versioning](http://semver.org/spec/v2.0.0.html) except to the first release.

### Added

### Changed

### Fixed

## [1.7.0] - 2022-08-02

### Added

- SSL support (#155)
- IPROTO_PUSH messages support (#67)
- Public API with request object types (#126)
Expand All @@ -18,11 +26,11 @@ Versioning](http://semver.org/spec/v2.0.0.html) except to the first release.
- Prepared SQL statements (#117)
- Context support for request objects (#48)
- Streams and interactive transactions support (#101)
- `Call16` method, support build tag `go_tarantool_call_17` to choose
default behavior for `Call` method as Call17 (#125)

### Changed

- Add `Call16` method, support build tag `go_tarantool_call_17`
to choose behavior for `Call` method (#125)
- `IPROTO_*` constants that identify requests renamed from `<Name>Request` to
`<Name>RequestCode` (#126)

Expand All @@ -32,10 +40,7 @@ Versioning](http://semver.org/spec/v2.0.0.html) except to the first release.

### Fixed

- Build with OpenSSL < 1.1.1 (#194)
- Add `ExecuteAsync` and `ExecuteTyped` to common connector interface (#62)
- Race conditions in methods of `Future` type (#195)
- Usage of nil pointer in Connection.peekFuture (#195)

## [1.6.0] - 2022-06-01

Expand Down

0 comments on commit d955230

Please sign in to comment.