Skip to content
Tags give the ability to mark specific points in history as being important
  • 1.77.90
    Version 1.77.90
    
    - Building GJS with -fno-exceptions is now the default. To retain the previous
      behaviour, invoke Meson with -Dcpp_eh=default.
    
    - Closed bugs and merge requests:
      * testEverything fails make check [#95, !858, Marco Trevisan]
      * Using a Gio.Appinfo().launch with context may crash gjs [#553, !858, Marco
        Trevisan]
      * Fixed-size and Zero-terminated arrays are leaked when used as in or inout
        arguments with transfer none [#561, !858, Marco Trevisan]
      * Crash due to bad memory usage when calling a function taking an inout array
        with length parameter and transfer full [#562, !858, Marco Trevisan]
      * Various maintenance [!875, !888, Philip Chimento, Marco Trevisan, Andy
        Holmes]
      * README.MSVC.md: Update for SpiderMonkey-115.x [!877, Chun-wei Fan]
      * GJS returns pointers instead of numbers for function with output parameters
        [#570, !878, Philip Chimento, Marco Trevisan]
      * Profiler spuriously records GJS.boxed_instance and GJS.boxed_prototype
        [#551, !879, Philip Chimento]
      * installed-tests/js/meson: Add tests dependencies to dbus tests [!880, Marco
        Trevisan]
      * eslint: Make multi-line imports to always include a trailing comma [!881,
        Marco Trevisan]
      * Make console.error format GError correctly [#572, !883, Sriyansh Shivam]
      * Gtk: Throw an error for an invalid Template string [!884, Andy Holmes]
      * Gtk: Attempt to load Template from a string, if it appears valid [!885, Andy
        Holmes]
      * global: Really enable non-mutating Array methods [!887, Philip Chimento]
    
  • 1.77.2
    Version 1.77.2
    
    - New JavaScript features! This version of GJS is based on SpiderMonkey 115, an
      upgrade from the previous ESR (Extended Support Release) of SpiderMonkey 102.
      Here are the highlights of the new JavaScript features.
      For more information, look them up on MDN or devdocs.io.
    
      * New APIs
        + Arrays and typed arrays have gained `findLast()` and `findLastIndex()`
          methods, which act like `find()` and `findIndex()` respectively, but start
          searching at the end of the array.
        + Arrays and typed arrays have gained the `with()` method, which returns a
          copy of the array with one element replaced.
        + Arrays and typed arrays have gained `toReversed()`, `toSorted()`, and
          `toSpliced()` methods, which act like `reverse()`, `sort()`, and
          `splice()` respectively, but return a copy of the array instead of
          modifying it in-place.
        + The `Array.fromAsync()` static method acts like `Array.from()` but with
          async iterables, and returns a Promise that fulfills to the new Array.
    
    - It is now possible to build GJS with -fno-exceptions, by invoking Meson with
      -Dcpp_eh=none.
    
    - Closed bugs and merge requests:
      * Port to mozjs115 [#556, !855, !871, !874, Xi Ruoyao, Philip Chimento]
      * Various maintenance [!856, Philip Chimento]
      * arg: Preserve transfer when freeing out arrays [!857, Marco Trevisan]
      * Some values leak fixes and cleanups [!860, Marco Trevisan]
      * Does not parse hash tables in signals [#488, !861, Marco Trevisan]
      * docs: fix minor URL mistakes and behavioural omissions [!865, Andy Holmes]
      * gjs: Listen to GMemoryMonitor::low-memory-warning to trigger GC [!870, Marco
        Trevisan]
      * GSettings override in Gio.js may fail on construction [#418, !873, Onur
        Şahin]
      * Gio: Fix constructing Settings with a SettingsSchema object [!876, James
        Westman, Philip Chimento]
    
    Git-EVTag-v0-SHA512: 002bed5b4489627ee338b204df016213f4a61f8b0df0bcd4be585599eb4026fded3c9ecae7cf5f91c68628d4eb86d41a8dbd56a44bbc8fb9c822a17c11a2f04a
    
  • 1.77.1
    Git-EVTag-v0-SHA512: 63c0bd204f953c7bcac3552a5f4e146b565f5ee09308c42a277735656adfd58eb9441cbd9f965c490ce6f67bd3bc3027ec4a04e117f4e43c71f7ed268ffe2299
    
  • 1.72.4
    GJS 1.72.4
    
    - Various fixes ported from the development branch.
    
    - Closed bugs and merge requests:
      * log_set_writer_func is not safe to use [#481, !766, !851, Evan Welsh]
      * Gnome-Shell 42 - crash after login (general protection fault) [#479, !740,
        !851, Xi Ruoyao]
      * Static methods on classes from GObject introspection are now present on JS
        classes that inherit from those classes. [!851, Marco Trevisan]
      * Enabling window-list extension causes gnome-shell to crash when running
        "dconf update" as root [#510, !813, !851, Philip Chimento]
      * Possible errors in cairo enums [#516, !811, !851, Vítor Vasconcellos]
      * cairo.SVGSurface need finish() and flush() to finalize painting [#515, !816,
        !851, tuberry]
      * Handle transfer-none string return value from vfunc implemented in JS [#519,
        !821, !823, !851, Marco Trevisan, Daniel van Vugt]
      * GJS freezes, program stops responding, error states Gtk4 EventController
        GestureClick returns incorrect state- Gdk.ModifierType on mouse button press
        in X11 [#507, !829, !851, Sundeep Mediratta]
      * gnome-shell crashes on exit in js::gc::Cell::storeBuffer [#472, !834, !851,
        Daniel van Vugt]
      * Memory leak with GError [#36, !837, !851, Marco Trevisan]
      * GVariant return values leaked [#499, !837, !851, Marco Trevisan]
      * GBytes's are leaked when passed as-is to a function [#539, !837, !851, Marco
        Trevisan]
      * Transformed GValues are leaking temporary instances [#540, !837, !851, Marco
        Trevisan]
      * GHash value infos are leaked [#541, !837, !851, Marco Trevisan]
      * "flat" arrays of GObject's are leaked [#542, !837, !851, Marco Trevisan]
      * Gjs console leaks invalid option errors [#544, !837, !851, Marco Trevisan]
    
  • 1.74.3
    GJS 1.74.3
    
    - Various fixes ported from the development branch.
    
    - Closed bugs and merge requests:
      * Possible errors in cairo enums [#516, !811, !852, Vítor
        Vasconcellos]
      * cairo.SVGSurface need finish() and flush() to finalize painting
        [#515, !816, !852, tuberry]
      * Handle transfer-none string return value from vfunc implemented in
        JS [#519, !821, !823, !852, Marco Trevisan, Daniel van Vugt]
      * GJS freezes, program stops responding, error states Gtk4
        EventController GestureClick returns incorrect state- Gdk.ModifierType
        on mouse button press in X11 [#507, !829, !852, Sundeep Mediratta]
      * gnome-shell crashes on exit in js::gc::Cell::storeBuffer [#472,
        !834, !852, Daniel van Vugt]
      * Memory leak with GError [#36, !837, !852, Marco Trevisan]
      * GVariant return values leaked [#499, !837, !852, Marco Trevisan]
      * GBytes's are leaked when passed as-is to a function [#539, !837,
        !852, Marco Trevisan]
      * Transformed GValues are leaking temporary instances [#540, !837,
        !852, Marco Trevisan]
      * GHash value infos are leaked [#541, !837, !852, Marco Trevisan]
      * "flat" arrays of GObject's are leaked [#542, !837, !852, Marco
        Trevisan]
      * * Gjs console leaks invalid option errors [#544, !837, !852, Marco
        Trevisan]
    
  • 1.76.2
    GJS 1.76.2
    
    - Various fixes ported from the development branch.
    
    - Closed bugs and merge requests:
      * GJS freezes, program stops responding, error states Gtk4
        EventController GestureClick returns incorrect state-
        Gdk.ModifierType on mouse button press in X11 [#507, !829, !850,
        Sundeep Mediratta]
      * Caller allocated boxed types or structs are not fully released
        [#543, !837, !849, Marco Trevisan]
      * Gjs console leaks invalid option errors [#544, !837, !849, Marco
        Trevisan]
    
  • 1.76.1
    Version 1.76.1
    
  • 1.76.0
    Git-EVTag-v0-SHA512: 68a9510b1291b9ea9c6326d8dd2e1d5515b4c6fbb3eb8f256e44d9c2c26ac3d4316e8a4f5527bf801cf17c329f5ce7a1ab5d1013a247c37f12251f4965ec4404
    
  • 1.75.90
    Git-EVTag-v0-SHA512: 0b91e19c060e07dc2e94417f410a6c98a6dbc03335f772f5fe7b3178fc63a203cd0a6df25a938ba08c6f729c7af04ac0eb571ecbf9ea80f2a83071fc45e9f842
    
  • 1.75.2
    Version 1.75.2
    
    - There are new `Gio.Application.prototype.runAsync()` and
      `GLib.MainLoop.prototype.runAsync()` methods which do the same thing
      as `run()` but return a Promise which resolves when the main loop ends,
      instead of blocking while the main loop runs. Use one of these methods
      (by awaiting it) if you use async operations with Promises in your
      application. Previously, it was easy to get into a state where Promises
      never resolved if you didn't run the main loop inside a callback. [Evan
      Welsh]
    
    - There are new `Gio.InputStream.prototype.createSyncIterator()` and
      `Gio.InputStream.prototype.createAsyncIterator()` methods which allow
      easy iteration of input streams in consecutive chunks of bytes, either
      with a for-of loop or a for-await-of loop. [Sonny Piers]
    
    - DBus proxy wrapper classes now have a static `newAsync()` method,
      which returns a Promise that resolves to an instance of the proxy
      wrapper class on which `initAsync()` has completed. [Marco Trevisan]
    
    - DBus property getters can now return GLib.Variant instances directly,
      if they have the correct type, instead of returning JS values and
      having them be packed into GLib.Variants. [Andy Holmes]
    
    - Dramatic performance improvements in the legacy `imports.signals`
      module, which has also gained a `connectAfter()` method that works like
      the same-named method in GObject signals. (However, the signals module
      remains legacy, and is mostly there for historical reasons with GNOME
      Shell. Don't use it in new code.) [Marco Trevisan]
    
    - For years we have had a typo in `Cairo.LineCap.SQUARE`, incorrectly
      naming it `SQUASH`. This is fixed and the typoed name is retained as an
      alias. [Vítor Vasconcellos]
    
    - Also in Cairo, the value of `Cairo.Format.RGB16_565` was wrong. This
      was fixed with a breaking change, because anyone using it was probably
      already not getting the results they expected. [Vítor Vasconcellos]
    
    - Continuing the Cairo improvements, SVG surfaces have gained
      `Cairo.SVGSurface.prototype.finish()` and
      `Cairo.SVGSurface.prototype.flush()` because previously SVG surfaces
      were only written to disk when the SVGSurface object was garbage
      collected, making it uncertain to rely on them. [tuberry]
    
    - The debugger now handles Symbol values and Symbol property keys of
      objects. Previously, these were not displayed correctly. [Philip
      Chimento]
    
    - Various type-safety refactors [Marco Trevisan]
    
    - Many bug fixes and performance improvements.
    
    - Closed bugs and merge requests:
      * Promises in application.run do not fullfil until loop exit [#468,
        !732, Evan Welsh]
      * console: Various cleanups to tracing functions and increase
        structured logging metadata [!756, Marco Trevisan]
      * Legacy signals code optimizations [!757, Marco Trevisan]
      * meson: Depend on g-i 1.71 and enable newly supported tests [!761,
        Marco Trevisan]
      * Gio: Add support for initializing a DBus Proxy via a promise [#494,
        !794, Marco Trevisan, Philip Chimento]
      * Make GInputStream iterable and async iterable [!573, !797, Sonny
        Piers]
      * Gio: allow D-Bus implementations to return pre-packed variants
        [!796, Andy Holmes]
      * Update ESLint tooling [!798, Sonny Piers]
      * Various maintenance [!804, !814, !820, Philip Chimento]
      * Add legacy signals connectAfter method [!805, Marco Trevisan]
      * arg-cache: Add support passing caller-allocated C-arrays [!806,
        Marco Trevisan]
      * Crash when passing an introspected function as a callback argument
        [#518, !809, Philip Chimento]
      * CI: Upgrade CI images to F37 [!810, Philip Chimento]
      * Possible errors in cairo enums [#516, !811, Vítor Vasconcellos]
      * ci: Only run source check jobs if relevant files have been changed
        [!812, Marco Trevisan]
      * cairo.SVGSurface need finish() and flush() to finalize painting
        [#515, !816, tuberry]
      * signals: Fix bugs when multiple handlers are connected and
        disconnect is called [!818, Evan Welsh]
      * Handle Symbol values in pretty-printer and debugger [!819, Philip
        Chimento]
    
    Version 1.74.2
    --------------
    
    - Various fixes ported from the development branch.
    
    - Closed bugs and merge requests:
      * build error with clang [#514, !807, Philip Chimento]
      * can't compile current version with mozjs 102 [#503, !808, Philip
        Chimento]
      * Enabling window-list extension causes gnome-shell to crash when
        running "dconf update" as root [#510, !813, Philip Chimento]
      * log: Fix an off-by-one buffer overflow [!817, Valentin David]
  • 1.74.2
    Version 1.74.2
    
    - Various fixes ported from the development branch.
    
    - Closed bugs and merge requests:
      * build error with clang [#514, !807, Philip Chimento]
      * can't compile current version with mozjs 102 [#503, !808, Philip
        Chimento]
      * Enabling window-list extension causes gnome-shell to crash when
        running "dconf update" as root [#510, !813, Philip Chimento]
      * log: Fix an off-by-one buffer overflow [!817, Valentin David]
  • 1.75.1
    GJS 1.75.1
    
    - Static methods on classes from GObject introspection are now present
      on JS classes that inherit from those classes. [Marco Trevisan]
    
    - Closed bugs and merge requests:
      * Problem calling promisified D-Bus wrappers with callback [#494,
        !790, Marco Trevisan]
      * docs: Fix link in issue template [!799, Jan Tojnar]
      * doc: Document Gio.FileEnumerator iteration [!800, Sonny Piers]
      * doc: Fix Markdown formatting in README.MSVC.md [!803, Kisaragi Hiu]
  • 1.74.1
    GJS 1.74.1
    
    - Closed bugs and merge requests:
      * Problem calling promisified D-Bus wrappers with callback [#494,
        !790, Marco Trevisan]
      * docs: Fix link in issue template [!799, Jan Tojnar]
      * doc: Document Gio.FileEnumerator iteration [!800, Sonny Piers]
      * doc: Fix Markdown formatting in README.MSVC.md [!803, Kisaragi Hiu]
  • 1.74.0
    Version 1.74.0
    
    - Many improvements to the examples and documentation.
    
    - Build fixes for Windows.
    
    - Overrides to certain non-introspectable functions that will now gracefully
      throw an exception instead of crashing.
    
    - Closed bugs and merge requests:
      * Various maintenance [!786, Philip Chimento]
      * http example not reliable, relies on server provided content-length. [#498,
        !787, Andy Holmes]
      * Gio set_attribute SIGSEGV (Address boundary error) [#496, !788, Philip
        Chimento]
      * Fix Visual Studio builds after migration to SpiderMonkey 102.x [!789,
        Chun-wei Fan]
      * Update Visual Studio build instructions [!791, Chun-wei Fan]
      * doc: reformat for better scraping with DevDocs [!792, Andy Holmes]
      * doc: Update Home [!793, Sonny Piers]
      * GLib: override GThread functions [!795, Andy Holmes]
  • 1.72.3
    Version 1.72.3
    
    - Fix for crash after build against libffi 3.4.2 ported from the development
      branch.
  • 1.73.2
    Version 1.73.2
    
    - New JavaScript features! This version of GJS is based on SpiderMonkey
      102, an upgrade from the previous ESR (Extended Support Release) of
      SpiderMonkey 91. Here are the highlights of the new JavaScript features.
      For more information, look them up on MDN or devdocs.io.
    
      * New APIs
        + The `Object.hasOwn()` static method can be used as an easier
          replacement for `Object.prototype.hasOwnProperty.call(...)`.
        + `Intl.supportedValuesOf()` lets you enumerate which calendars,
          currencies, collation strategies, numbering systems, time zones,
          and units are available for internationalization.
    
    - It's now possible to use `GObject.BindingGroup.prototype.bind_full()`
      with JS functions. Previously this method was unusable in JS.
    
    - Gio.FileEnumerator is now iterable, both synchronously (with for-of or
      array spread syntax) and asynchronously (with for-await-of).
    
    - Performance improvements in the built-in `imports.signals` module.
    
    - Many improvements to the examples and documentation.
    
    - Closed bugs and merge requests:
      * Spidermonkey 102 [#487, !765, !785, Evan Welsh, Philip Chimento]
      * Object connections / signal emissions optimizations [#485, !758,
        Marco Trevisan]
      * tests/Gio: Cleanup Gio._promisify [!767, Marco Trevisan]
      * Include JUnit reports in builds [!768, Marco Trevisan]
      * Integrate pretty print to the debugger [!769, Nasah Kuma]
      * doc: Edit GJS description [!771, Sonny Piers]
      * doc: note the version `constructor()` became supported [!774, Andy
        Holmes]
      * build: disable sysprof agent for subproject fallback [!775,
        Christian Hergert]
      * Update CI images [!776, !777, !778, Philip Chimento]
      * GListModel.get_n_items returns garbage value [#493, !779, Florian
        Müllner]
      * Add override for g_binding_group_bind_full() [!780, Florian Müllner]
      * doc: Modernize examples [!781, Sonny Piers]
      * doc: Document byteArray deprecation and migration [!782, Sonny
        Piers]
      * doc: add simple Gtk.TickCallback example [!783, Andy Holmes]
      * Make GFileEnumerator iterable and async iterable [!784, Sonny Piers]
  • 1.72.2
    Version 1.72.2
    
    - Various fixes ported from the development branch.
    
    - Closed bugs and merge requests:
      * gi/arg-cache.cpp: Fix building on Visual Studio [!772, Chun-wei Fan]
      * doc: Reflect support for constructor with GObject [!773, Sonny
        Piers]
  • 1.73.1
    Version 1.73.1
    
    - The interactive interpreter now displays its output more
      intelligently, pretty-printing the properties and values of objects
      based on their type. This improvement also applies to the log() and
      logError() functions.
    
    - New API: DBus proxy classes now include methods named with the suffix
      'Async', which perform async calls to DBus APIs and return Promises.
      This is in addition to the existing suffixes 'Sync' (for blocking
      calls) and 'Remote' (for async calls with callbacks.)
    
    - There is an override for Gio.ActionMap.prototype.add_action_entries().
      Previously this method wouldn't work because it required an array of
      Gio.ActionEntry objects, which are not possible to construct in GJS.
      Now it can be used with an array of plain objects. (e.g.
      `this.add_action_entries([{name: 'open', activate() { ... }}]);`
    
    - GJS is now compatible with libffi 3.4.2 and later. All earlier
      versions of GJS are not compatible with libffi 3.4.2 and later unless
      libffi is built with the --disable-exec-static-tramp flag.
    
    - GJS now requires Meson 0.54 to build.
    
    - Closed bugs and merge requests:
      * Verbose Object Print Output [#107, !587, Nasah Kuma]
      * Add support for JS async calls in DBusProxyWrapper [!731, Sergio
        Costas]
      * Crash after build against libffi 3.4.2 [#428, !737, Evan Welsh]
      * Handle reference cycles in new console pretty print function [#469,
        !739, Nasah Kuma]
      * Gnome-Shell 42 - crash after login (general protection fault) [#479,
        !740, Xi Ruoyao]
      * Various maintenance [!741, Philip Chimento]
      * jsapi-util-strings: Ignore locale to compute the upper case of a
        char (i.e. fix implicit properties on Turkish locale) [!742, Marco
        Trevisan]
      * Dockerfile: Install Turkish locale in CI for UTF-8 locale too [!743,
        Marco Trevisan]
      * Improve pretty-print output for GObject-introspected objects [#476,
        !744, Nasah Kuma]
      * Expose pretty print function to tests [!745, Nasah Kuma]
      * build: track changes to Sysprof meson options [!747, Christian
        Hergert]
      * Make Gio.ActionMap.add_action_entries work [#407, !749, Sonny Piers]
      * Make DBus session and system props non-enumerable [!750, Sonny
        Piers]
      * gi/arg-inl: Mark the arg functions as constexpr [!752, Marco
        Trevisan]
      * build: Do not use verbose GJS debug logging in tests by default
        [!753, Marco Trevisan]
      * minijasmine: Print test JS errors output if any [!754, Marco
        Trevisan]
      * doc: document the existence of the console object in GJS [!759, Andy
        Holmes]
      * arg-cache: Use a switch to select the not-introspectable error
        [!762, Marco Trevisan]
      * log_set_writer_func is not safe to use [#481, !766, Evan Welsh]
  • 1.72.1
    Version 1.72.1
    
    - Various fixes ported from the development branch.
    
    - Closed bugs and merge requests:
      * Compilation error: call to deleted function 'js_value_to_c' [#473,
        !738, Evan Miller]
      * jsapi-util-strings: Ignore locale to compute the upper case of a
        char (i.e. fix implicit properties on Turkish locale) [!742, Marco
        Trevisan]
      * Fix memory leak when passing a "transfer none" GBytes parameter to a
        native function [!746, msizanoen1]
      * arg-cache: Do not leak an interface info structures on Callbacks
        [!751, Marco Trevisan]
      * test-ci: Ignore safe directory errors on CI [!755, Marco Trevisan]
  • 1.68.6
    Version 1.68.6
    
    - Build and compatibility fixes backported from the development branch.
    
    - Closed bugs and merge requests:
      * package: Reverse order of running-from-source checks [!734, Philip
        Chimento]
    
    - Fix build error on Darwin [Evan Miller]