From d06fe7e3e4a648642ac8c66ff783613da1d796e1 Mon Sep 17 00:00:00 2001 From: hmdne <54514036+hmdne@users.noreply.github.com> Date: Fri, 11 Nov 2022 10:27:45 +0100 Subject: [PATCH] Update CHANGELOG.md, README.md; release v1.0.0.alpha1 --- CHANGELOG.md | 15 +++++++++++++++ README.md | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b056861..ed618f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Opal-RSpec Changelog +## 1.0.0.alpha1 - 2022-11-11 + +- Drop support for anything below Opal v1.6.alpha1 + +- Update to the latest RSpec versions + +- Vendor-in `diff-lcs` + +- Rework the async logic to use the `await` feature of Opal + * If you use async features, it's crucial to use a `# await: *await*` magic comment (this will cause any call to a method containing an `await` word to be compiled with an `await` ES8 keyword) + * Both `let` and `subject` that return a promise (ie. are async) must be referenced with an `.await` method + * In `around` blocks, you must call `example.run_await` instead of just `example.run` + * Only `PromiseV2` is supported (`PromiseV1` may work, but you should migrate your application to use `PromiseV2` nevertheless, in Opal 2.0 it will become the default) + + ## 0.8.0 - 2021-12-01 - Support for Opal v1.x diff --git a/README.md b/README.md index 9433082..7d97f34 100644 --- a/README.md +++ b/README.md @@ -252,7 +252,7 @@ Limitations: Changes since 1.0: * If you use async features, it's crucial to use a `# await: *await*` magic comment (this will cause any call to a method containing an `await` word to be compiled with an `await` ES8 keyword) -* Both `let` and `subject` that return a promise (ie. are async; also if they) must be referenced with an `.await` method +* Both `let` and `subject` that return a promise (ie. are async) must be referenced with an `.await` method * In `around` blocks, you must call `example.run_await` instead of just `example.run` * Only `PromiseV2` is supported (`PromiseV1` may work, but you should migrate your application to use `PromiseV2` nevertheless, in Opal 2.0 it will become the default)