From 63c0b714d059a99ef291e8c33605ab116d58ac5f Mon Sep 17 00:00:00 2001 From: Hans Svensson Date: Tue, 8 Oct 2019 13:11:48 +0200 Subject: [PATCH] Prepare release - v4.0.0 --- CHANGELOG.md | 13 ++++++++++++- rebar.config | 2 +- src/aesophia.app.src | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d2a800..f27a4a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed ### Removed +## [4.0.0] - 2019-10-11 +### Added +- `Address.to_contract` - casts an address to a (any) contract type. +- Pragma to check compiler version, e.g. `@compiler >= 4.0`. +### Changed +- Nice type error if contract function is called as from a namespace. +- Fail on function definitions in contracts other than the main contract. +- Bug fix in variable optimization - don't discard writes to the store/state. +### Removed + ## [4.0.0-rc5] - 2019-09-27 ### Added ### Changed @@ -167,7 +177,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Simplify calldata creation - instead of passing a compiled contract, simply pass a (stubbed) contract string. -[Unreleased]: https://github.com/aeternity/aesophia/compare/v4.0.0-rc5...HEAD +[Unreleased]: https://github.com/aeternity/aesophia/compare/v4.0.0...HEAD +[4.0.0]: https://github.com/aeternity/aesophia/compare/v4.0.0...v3.2.0 [4.0.0-rc5]: https://github.com/aeternity/aesophia/compare/v4.0.0-rc4...v4.0.0-rc5 [4.0.0-rc4]: https://github.com/aeternity/aesophia/compare/v4.0.0-rc3...v4.0.0-rc4 [4.0.0-rc3]: https://github.com/aeternity/aesophia/compare/v4.0.0-rc1...v4.0.0-rc3 diff --git a/rebar.config b/rebar.config index 48b270e..e5ca552 100644 --- a/rebar.config +++ b/rebar.config @@ -15,7 +15,7 @@ {base_plt_apps, [erts, kernel, stdlib, crypto, mnesia]} ]}. -{relx, [{release, {aesophia, "4.0.0-rc5"}, +{relx, [{release, {aesophia, "4.0.0"}, [aesophia, aebytecode, getopt]}, {dev_mode, true}, diff --git a/src/aesophia.app.src b/src/aesophia.app.src index d230c0b..d22866c 100644 --- a/src/aesophia.app.src +++ b/src/aesophia.app.src @@ -1,6 +1,6 @@ {application, aesophia, [{description, "Contract Language for aeternity"}, - {vsn, "4.0.0-rc5"}, + {vsn, "4.0.0"}, {registered, []}, {applications, [kernel,