-
Notifications
You must be signed in to change notification settings - Fork 642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension Requires Updated CODAL #4898
Comments
By the way, this is mostly a question of "when will a CODAL update happen"? Is there any guidance on the the MakeCode for microbit release and update schedule? |
We release new CODAL for every yearly release (once a year). However, we do take hotfixes and opportunistically release if it is stable. @JohnVidler FYI I will discuss with John in our next call and see if the bits are stable or not. |
@jaustin fyi |
As mentioned, I've already got an approved extension that's using lancaster-university/codal-microbit-v2#227 . If CODAL isn't updated soon, the extension should be removed until it is. I'm nearly done with an extension that uses another update: lancaster-university/codal-microbit-v2#177 . Both updates seem lightweight and unlikely to impact other things. I'd sincerely appreciate if both could be included, but I understand if you're not able to test either/both sufficiently to do a hotfix. The second one is for BLE access to logs: https://github.com/bsiever/microbit-pxt-blehid . I could probably do some hack to read directly from flash...but the public read in the PR would be a lot better. Thanks! |
@bsiever I didn't realise the extension had been updated to use the newer CODAL. However, I am very keen for /beta to start tracking latest CODAL ASAP Can we either
|
@jaustin A /beta using more recent version of CODAL would be great for me. It would allow me to have a few additional people test things without the overhead of a local install. Keep me posted on whether that happens. The rotate extension that does work in CODAL 0.2.40: https://github.com/bsiever/microbit-pxt-rotate/releases/v0.1.3 (written before Martin added the Below was all redundant with jaustin's comment...
Now using the test versions in #4829 for some testing. Thanks! |
@bsiever Could you revert the change bsiever/microbit-pxt-rotate@58b6a85 to the MakeCode version dependency? Perhaps make it after the current beta (5.1.2)? |
@martinwork Do you mean that if Would this need to be an official git revert or could it just be a new commit? (I'm assuming official revert and/or removal of the release?) |
@bsiever That's a good question! I was just thinking to put back the dependency on a later MakeCode for the current version, hoping that would mean it's not visible in live anymore. |
The recent update to production MakeCode, which now uses CODAL v0.2.55, has resolved this, so I'm closing the issue. |
Describe the bug
An approved and listed extension, https://makecode.microbit.org/pkg/bsiever/microbit-pxt-rotate (https://github.com/bsiever/microbit-pxt-rotate), requires features that were introduced in CODAL 0.2.43 (see PR here).
Because MakeCode still relies on CODAL v0.2.40, compilation fails. The error message (due to not having a .hex) is "Cannot read properties of undefined (reading
toString
)".On a related note, that error message doesn't really help the user pin down the source of the problem or give any idea how to get help.
To Reproduce
Simple:
Open https://makecode.microbit.org/_g1zRzj2qCU7u and try to download.
Detailed:
+ Extensions
microbit-pxt-rotate
.Rotate display
palette.Expected behavior
Successful compilation / download.
micro:bit version (please complete the following information):
All (1.5, 2.0, 2.21)
Desktop (please complete the following information):
All
The text was updated successfully, but these errors were encountered: