From 6cd52818f7c8dc04111ce18f082a627885e44cbd Mon Sep 17 00:00:00 2001 From: Kristian Larsson Date: Wed, 25 Aug 2021 18:56:10 +0200 Subject: [PATCH 1/3] Ensure version consistency We now ensure version consistency by comparing the value in the Makefile (common.mk) which ultimately is used as the version number in actonc and the version number of the latest (highest up) numbered release in CHANGELOG.md. --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7b7ad9862..348c920a6 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ include common.mk +CHANGELOG_VERSION=$(shell grep '^\#\# \[[0-9]' CHANGELOG.md | sed 's/\#\# \[\([^]]\{1,\}\)].*/\1/' | head -n1) VERSION_INFO=$(subst acton ,,$(shell ./dist/actonc --version DUMMY)) @@ -7,7 +8,7 @@ CFLAGS += -I/usr/include/kqueue endif MODULES= -all: dist +all: version-check dist help: @echo "Available make targets" @@ -20,6 +21,12 @@ help: @echo " test - run the test suite" +version-check: +ifneq ($(VERSION), $(CHANGELOG_VERSION)) + $(error Version in common.mk ($(VERSION)) differs from last version in CHANGELOG.md ($(CHANGELOG_VERSION))) +endif +.PHONY: version-check + # /backend ---------------------------------------------- BACKEND_MODULES = backend/comm.o backend/db.o backend/queue.o backend/skiplist.o backend/txn_state.o backend/txns.o From 75182e0c9a0fece0084ea88c4d667a5d29cf1ca5 Mon Sep 17 00:00:00 2001 From: Kristian Larsson Date: Wed, 25 Aug 2021 13:35:22 +0200 Subject: [PATCH 2/3] Update changelog with latest fixes --- CHANGELOG.md | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72f98f053..3a496dd15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,13 +6,28 @@ - It is now possible to raise exceptions. - Previously a naming misalignment between the Acton compiler code generation and the builtins of the RTS previously lead to an Internal Compiler Error. + - BaseException is now also used instead of Exception, as it should. - Distributed RTS mode has been fixed with regards to actor bootstrap that - previously lead to duplicat actors + previously lead to duplicate actors. - An actor method (callback) can now be passed as an argument to another actor method - - This previously lead to a segmentation fault but has now been fixed. + - This could previously lead to a segmentation fault during certain + situations. - Avoid cleaning away modules/math.h - - This was due to an outdated makefile cleaning target + - This was due to an outdated Makefile cleaning target +- Type inferencing now works for all dicts. + - Previously worked for some, for example a dict of strings but not for a dict + of ints. +- The modules `acton.rts`, `math` and `random` now work correctly + - The type signature filed was missing but is now correctly built. + - There are test cases for these modules but the tests were not run in CI +- All tests are now run in CI + - Due to a directory restructuring and assumptions (mother of all evil), some + tests were previously not run. While working locally on a developers + computer things worked due to manually compiled files. We failed to detect + these missing type signature files in CI since the tests were not run + automatically. + ## [0.5.1](https://github.com/actonlang/acton/releases/tag/v0.5.1) (2021-08-24) From cdbfd195553a8751f065c5dbbfda62edee7ee340 Mon Sep 17 00:00:00 2001 From: Kristian Larsson Date: Wed, 25 Aug 2021 18:57:30 +0200 Subject: [PATCH 3/3] Release v0.5.2 --- CHANGELOG.md | 2 ++ common.mk | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a496dd15..740938a12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## [0.5.2](https://github.com/actonlang/acton/releases/tag/v0.5.2) (2021-08-25) + ### Fixed - It is now possible to raise exceptions. - Previously a naming misalignment between the Acton compiler code generation diff --git a/common.mk b/common.mk index 9f7c833a0..2313ac487 100644 --- a/common.mk +++ b/common.mk @@ -1 +1 @@ -VERSION=0.5.1 +VERSION=0.5.2