Skip to content

Conversation

@oleg-jukovec
Copy link
Collaborator

The PR introduces rebases from the v3 branch into the master branch. The master branch is now the main development branch. We will be preparing the next major release on it with breaking changes. The v3 branch will be deleted.

bigbes and others added 3 commits October 16, 2025 14:08
* Module version update from v2 to v3,
* Go version dep updated from 1.20 to 1.24,
* Added stub record for migration guide.
Add support for `go-option` to the `arrow`, `datetime`, `decimal`, and `uuid`
packages. This allows for handling optional values of the `Arrow`, `Datetime`,
`Interval`, `Decimal`, `UUID` and `BoxError` types.

The following changes have been made:
- Added `go:generate` directives to the `Arrow`, `Datetime`, `Interval`,
  `Decimal`, `UUID` and `BoxError` types to generate optional types using
  `github.com/tarantool/go-option/cmd/gentypes`.
- Implemented `MarshalMsgpack` and `UnmarshalMsgpack` methods for the `Arrow`,
  `Datetime`, `Interval`, and `Decimal` types.
- Added `marshalUUID` and `unmarshalUUID` functions for the `UUID` type.
- The generated `_gen.go` files contain the `Optional*` types that wrap the
  original types and provide methods to handle optional values, including
  `EncodeMsgpack` and `DecodeMsgpack` for `msgpack` serialization.
- Refactored the `datetime` and `decimal` decoders to use the new
  `UnmarshalMsgpack` methods.
@oleg-jukovec oleg-jukovec merged commit 6111b79 into master Oct 16, 2025
42 of 43 checks passed
@oleg-jukovec oleg-jukovec deleted the v3 branch October 30, 2025 08:15
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.

5 participants