From 59bb7a700aa166b7289a6d2b809e47c2cb871563 Mon Sep 17 00:00:00 2001 From: panxl6 Date: Wed, 3 Jan 2024 17:22:41 +0800 Subject: [PATCH 1/2] feat: upgraded version number --- CHANGELOG.md | 3 +++ version.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0755a99..88cfc7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.1.0] - 2024-01-03 +- always return APIError, not default error. + ## [3.0.0] - 2023-12-18 - Support the latest features in 2023-10 API diff --git a/version.go b/version.go index a835ff9..76a0ac0 100644 --- a/version.go +++ b/version.go @@ -1,4 +1,4 @@ package aftership // VERSION is the version number of this package -const VERSION string = "3.0.0" +const VERSION string = "3.1.0" From a4fa89e49bb204c7f40d5bbfafb65784f4839b6c Mon Sep 17 00:00:00 2001 From: Bossa Wong Date: Wed, 3 Jan 2024 17:26:15 +0800 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88cfc7e..2acf5e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [3.1.0] - 2024-01-03 -- always return APIError, not default error. +- All SDK errors will be wrapped with "APIError". ## [3.0.0] - 2023-12-18 - Support the latest features in 2023-10 API