Skip to content
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

Port to GNOME 45/46 #9

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

fmuellner
Copy link

In GNOME 45, gnome-shell replaced gjs legacy imports system with
standard ES modules. As the two import systems cannot generally
be mixed, this was a breaking change for extensions.

Support newer versions by making the necessary adjustments.

Includes the cleanups from #8
Closes #6

Lang.bind() has been deprecated for a long time in favor of
arrow functions and Function.prototype.bind(), which were
standardized in 2015.
Classes were standardized in 2015, and there is no reason to not
use them over gjs' custom Lang.Class framework (which has been
deprecated).
gjs landed support for TextDecoder/TextEncoder back in 2021. Use
those instead of gjs' own ByteArray module.
In GNOME 45, gnome-shell replaced gjs legacy imports system with
standard ES modules. As the two import systems cannot generally
be mixed, this was a breaking change for extensions.

Support newer versions by making the necessary adjustments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compatable with Gnome45
1 participant