From 4979d144d04a8b251e523508689088eb7c6612da Mon Sep 17 00:00:00 2001 From: Hans Svensson Date: Thu, 18 Apr 2024 15:06:56 +0200 Subject: [PATCH] Prepare release v8.0.0 (#134) --- CHANGELOG.md | 8 ++++---- README.md | 4 ++-- apps/aesophia_http/src/aesophia_http.app.src | 2 +- apps/aesophia_http/test/aesophia_http_SUITE.erl | 10 ++++------ config/swagger.yaml | 2 +- rebar.config | 8 ++++---- rebar.lock | 4 ++-- 7 files changed, 18 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72c2909..55080fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,11 +10,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed ### Removed -## [8.0.0-rc1] +## [8.0.0] ### Added - Expose compiler warnings ### Changed -- Updated to [Sophia 8.0.0-rc1](https://github.com/aeternity/aesophia/blob/master/CHANGELOG.md#800-rc1) +- Updated to [Sophia 8.0.0](https://github.com/aeternity/aesophia/blob/master/CHANGELOG.md#800) ## [7.6.1] ### Changed @@ -184,8 +184,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial HTTP interface: /aci, /compile, /decode-data, /encode-calldata, /version, /api-version, /api - Docker support (aeternity/aesophia_http) -[Unreleased]: https://github.com/aeternity/aesophia_http/compare/v8.0.0-rc1...HEAD -[8.0.0-rc1]: https://github.com/aeternity/aesophia_http/compare/v7.6.1...v8.0.0-rc1 +[Unreleased]: https://github.com/aeternity/aesophia_http/compare/v8.0.0...HEAD +[8.0.0]: https://github.com/aeternity/aesophia_http/compare/v7.6.1...v8.0.0 [7.6.1]: https://github.com/aeternity/aesophia_http/compare/v7.6.0...v7.6.1 [7.6.0]: https://github.com/aeternity/aesophia_http/compare/v7.5.0...v7.6.0 [7.5.0]: https://github.com/aeternity/aesophia_http/compare/v7.4.0...v7.5.0 diff --git a/README.md b/README.md index e5ec9c5..8680cab 100644 --- a/README.md +++ b/README.md @@ -221,13 +221,13 @@ version and the whole actual API (paste into any [swagger file generator](https: ``` curl http://localhost:3080/version -{"version":"8.0.0-rc1"} +{"version":"8.0.0"} ``` ``` curl http://localhost:3080/api-version -{"api-version":"8.0.0-rc1"} +{"api-version":"8.0.0"} ``` ``` diff --git a/apps/aesophia_http/src/aesophia_http.app.src b/apps/aesophia_http/src/aesophia_http.app.src index 5ab27d0..0b1f134 100644 --- a/apps/aesophia_http/src/aesophia_http.app.src +++ b/apps/aesophia_http/src/aesophia_http.app.src @@ -1,6 +1,6 @@ {application, aesophia_http, [{description, "HTTP interface for Sophia compiler"}, - {vsn, "8.0.0-rc1"}, + {vsn, "8.0.0"}, {registered, []}, {mod, { aesophia_http_app, []}}, {applications, diff --git a/apps/aesophia_http/test/aesophia_http_SUITE.erl b/apps/aesophia_http/test/aesophia_http_SUITE.erl index 14d87e4..8d4b94a 100644 --- a/apps/aesophia_http/test/aesophia_http_SUITE.erl +++ b/apps/aesophia_http/test/aesophia_http_SUITE.erl @@ -244,13 +244,11 @@ decode_calldata_source(_Config) -> Results = maps:map(DoDec, Datas), Expects = - #{ <<"a">> => [#{<<"type">> => #{<<"tuple">> => [<<"int">>,<<"bool">>,<<"string">>, #{<<"tuple">> => []}]}, + #{ <<"a">> => [#{<<"type">> => #{<<"tuple">> => [<<"int">>,<<"bool">>,<<"string">>, <<"unit">>]}, <<"value">> => [42,true,<<"Hello">>,[]]}] , <<"b">> => [#{<<"type">> => #{<<"tuple">> => [#{<<"Test.d">> => [<<"int">>]}, #{<<"Test.d">> => [<<"int">>]}]}, <<"value">> => [#{<<"One">> => [12,18]},<<"Two">>]}] - , <<"c">> => [#{<<"type">> => #{<<"record">> => [#{<<"name">> => <<"x">>,<<"type">> => <<"int">>}, - #{<<"name">> => <<"y">>,<<"type">> => <<"string">>}, - #{<<"name">> => <<"z">>, <<"type">> => #{<<"map">> => [<<"int">>,<<"int">>]}}]}, + , <<"c">> => [#{<<"type">> => <<"Test.r">>, <<"value">> => #{<<"x">> => 43,<<"y">> => <<"Foo">>, <<"z">> => [[1,2]]}}] , <<"d">> => [#{<<"type">> => #{<<"tuple">> => [#{<<"bytes">> => 2}, #{<<"bytes">> => 14}, #{<<"bytes">> => 32}, #{<<"bytes">> => 65}]}, <<"value">> => [<<"#0001">>,<<"#000102030405060708090a0b0c0d">>, <<"#000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f">>, @@ -362,8 +360,8 @@ fate_assembler(_) -> C = <<"cb_+GZGA6CpNW171TSUfk88PoVv7YslUgxRcOJYKFPRxoGkXArWosC4OZ7+RNZEHwA3ADcAGg6CPwEDP/64F37sADcBBwcBAQCWLwIRRNZEHxFpbml0EbgXfuwRbWFpboIvAIU0LjEuMAANEx2r">>, _Res = do_get_fate_assembler(C). --define(API_VERSION, <<"8.0.0-rc1">>). --define(COMPILER_VERSION, <<"8.0.0-rc1">>). +-define(API_VERSION, <<"8.0.0">>). +-define(COMPILER_VERSION, <<"8.0.0">>). compiler_version(_) -> F = fun({ExpVer, CB}) -> diff --git a/config/swagger.yaml b/config/swagger.yaml index f216a4c..9c3514f 100644 --- a/config/swagger.yaml +++ b/config/swagger.yaml @@ -1,7 +1,7 @@ swagger: '2.0' info: description: 'This is the [Aeternity](https://www.aeternity.com/) compiler API. The swagger version of this API will be deprecated and replaced by an openAPI 3.x specification' - version: 8.0.0-rc1 + version: 8.0.0 title: Aeternity compiler termsOfService: 'https://www.aeternity.com/terms/' contact: diff --git a/rebar.config b/rebar.config index 7e17b91..0342e4c 100644 --- a/rebar.config +++ b/rebar.config @@ -1,6 +1,6 @@ %% -*- mode: erlang -*- {plugins, [{swagger_endpoints, {git, "https://github.com/aeternity/swagger_endpoints", - {ref, "816d92e"}}}]}. + {ref, "dcbfb26"}}}]}. {swagger_endpoints, [{src, "config/swagger.yaml"}, {dst, "apps/aesophia_http/src/endpoints.erl"}]}. @@ -11,17 +11,17 @@ {aebytecode, {git, "https://github.com/aeternity/aebytecode.git", {tag, "v3.4.0"}}}, {aesophia, {git, "https://github.com/aeternity/aesophia.git", - {tag, "v8.0.0-rc1"}}}, + {tag, "v8.0.0"}}}, {eblake2, "1.0.0"}, {jsx, {git, "https://github.com/talentdeficit/jsx.git", {tag, "v2.11.0"}}}, {jesse, {git, "https://github.com/for-GET/jesse.git", - {tag, "1.6.1"}}}, + {ref, "cf075d2"}}}, {cowboy, {git, "https://github.com/ninenines/cowboy.git", {tag, "2.9.0"}}} ]}. -{relx, [{release, {aesophia_http, "8.0.0-rc1"}, [aesophia_http, sasl, aeserialization]}, +{relx, [{release, {aesophia_http, "8.0.0"}, [aesophia_http, sasl, aeserialization]}, {sys_config, "./config/sys.config"}, {vm_args, "./config/vm.args"}, diff --git a/rebar.lock b/rebar.lock index ffd62eb..c71d51c 100644 --- a/rebar.lock +++ b/rebar.lock @@ -9,7 +9,7 @@ 0}, {<<"aesophia">>, {git,"https://github.com/aeternity/aesophia.git", - {ref,"44d6982d6659812b3ed03a48a5a71387496f75d3"}}, + {ref,"ffdd4ecf26d7f08ed89b0f430ca4dc19dbb401bd"}}, 0}, {<<"base58">>, {git,"https://github.com/aeternity/erl-base58.git", @@ -31,7 +31,7 @@ {<<"getopt">>,{pkg,<<"getopt">>,<<"1.0.1">>},1}, {<<"jesse">>, {git,"https://github.com/for-GET/jesse.git", - {ref,"ef0e038a0efa27c7e42fc6cfd963d06eec7c33d8"}}, + {ref,"cf075d213ae9e9c54a748c93cc64d5350e646f9a"}}, 0}, {<<"jsx">>, {git,"https://github.com/talentdeficit/jsx.git",