Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.7.0 #199

Merged
merged 1 commit into from
Aug 4, 2022
Merged

Release 1.7.0 #199

merged 1 commit into from
Aug 4, 2022

Conversation

oleg-jukovec
Copy link
Collaborator

@oleg-jukovec oleg-jukovec commented Jul 27, 2022

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()
if response, err := stream.Do(NewBeginRequest().Context(ctx)).Get(); err != nil {
    selectFuture := stream.Do(selectReq)
    commitFuture := stream.Do(NewCommitRequest())
    // ...
}

Breaking changes

New features

Bugfixes

Draft release: https://github.com/tarantool/go-tarantool/releases/tag/untagged-e2a4642db9a9b24d70dc

@oleg-jukovec oleg-jukovec marked this pull request as ready for review August 2, 2022 11:47
@vr009
Copy link

vr009 commented Aug 3, 2022

New features

Context support added too?

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).
@oleg-jukovec
Copy link
Collaborator Author

Thank you! Fixed the commit message + the draft release message + the pull request message.

Context support added too?

@oleg-jukovec oleg-jukovec merged commit 03bd55a into master Aug 4, 2022
@oleg-jukovec oleg-jukovec deleted the oleg-jukovec/release-1.7.0 branch August 4, 2022 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants