Skip to content

Commit

Permalink
Prepare release v8.0.0 (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanssv authored Apr 18, 2024
1 parent b31bb73 commit 4979d14
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 20 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
```

```
Expand Down
2 changes: 1 addition & 1 deletion apps/aesophia_http/src/aesophia_http.app.src
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
10 changes: 4 additions & 6 deletions apps/aesophia_http/test/aesophia_http_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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">>,
Expand Down Expand Up @@ -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}) ->
Expand Down
2 changes: 1 addition & 1 deletion config/swagger.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
8 changes: 4 additions & 4 deletions rebar.config
Original file line number Diff line number Diff line change
@@ -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"}]}.

Expand All @@ -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"},
Expand Down
4 changes: 2 additions & 2 deletions rebar.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 4979d14

Please sign in to comment.