-
Drop support for anything below Opal v1.6
-
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 anawait
word to be compiled with anawait
ES8 keyword) - Both
let
andsubject
that return a promise (ie. are async) must be referenced with an.await
method - In
around
blocks, you must callexample.run_await
instead of justexample.run
- Only
PromiseV2
is supported (PromiseV1
may work, but you should migrate your application to usePromiseV2
nevertheless, in Opal 2.0 it will become the default)
- If you use async features, it's crucial to use a
-
Drop a requirement of
opal-sprockets
- Sprockets support is still provided, but you need to manually
require "opal/rspec/sprockets"
- Sprockets support is still provided, but you need to manually