Opened 6 months ago

Closed 6 months ago

#23099 closed enhancement (fixed)

gjs-1.88.0

Reported by: Xi Ruoyao Owned by: pierre
Priority: normal Milestone: gnome-50
Component: BOOK Version: git
Severity: medium Keywords:
Cc:

Description

New minor version uploaded on Mar 14. For some reason currency does not report it?

Change History (8)

comment:1 by Xi Ruoyao, 6 months ago

Milestone: 13.1 → gnome-50

in reply to:  description comment:2 by Bruce Dubbs, 6 months ago

Replying to Xi Ruoyao:

New minor version uploaded on Mar 14. For some reason currency does not report it?

Currency has been fixed. In some cases a high minor version number indicates a development version. Not in this case.

comment:3 by pierre, 6 months ago

I am not sure whether we should update now, at risk of breaking gnome-49, but gjs-1.86.0 (currently in the book) is incompatible with newer versions of glib, see history in ​this debian bug. The fix is in gjs-1.87.1+ (so in this version), and there is a ​patch, but it does not apply well. I suppose it needs changes in preceding commits.

I'm currently doing a full rebuild of blfs (this is how I found the issue), and I think I'll use gjs-1.88 for now, and report on how the rest of gnome-49 built.

comment:4 by pierre, 6 months ago

While I am at it:

Version 1.87.1

  • In this alpha release for the GNOME 50 cycle, the main focus has been on modernizing the code base and making it more type-safe. Expect more of this in the beta release.
  • We have better support for boxed C unions now in gobject-introspection.
  • Gtk.Builder has gained some JS-only conveniences, which should make it less tedious to use from JS code.

The following construct properties are now recognized:

  • "data" accepts a string or UTF-8-encoded Uint8Array containing Gtk.Builder XML, and automatically calls add_from_string().
  • "resource" accepts a string resource path, and automatically calls add_from_resource().
  • "filename" accepts a string filename, and automatically calls add_from_file().
  • "callbacks" accepts a property bag with properties equal to callbacks that are referenced in the Gtk.Builder XML.
  • "objects" accepts a property bag with properties equal to objects that should be exposed to the Gtk.Builder XML.

Gtk.Builder has also gained a few JS-only convenience methods:

  • exposeObjects() calls expose_object() for each name and object in a property bag, much like the new "objects" construct property.
  • get_objects() overrides the original C get_objects() method, but on the returned array, additionally, there are named properties representing the exposed objects.
  • Gio.ActionMap.add_action_entries() now supports additional types in its array of entries: GLib.Variant and GLib.VariantType. It also interprets JS values as unpacked GLib.Variants where appropriate.
  • GLib.idle_add_once(), GLib.timeout_add_once(), and GLib.timeout_add_seconds_once() are now introspectable.
  • Closed bugs and merge requests:
    • Support accessing fields of unions [#273, !770, Marco Trevisan, Philip Chimento]
    • Default union constructor should be guessed the same way that struct constructors are [#657, !770, Marco Trevisan, Philip Chimento]
    • Gtk.BuilderScope only works with template classes [#631, !1031, Philip Chimento, Sonny Piers]
    • installed-tests/testCommandLine: Use bash to write escaped sequences [!1032, Marco Trevisan]
    • Remove link to dead developer-old.gnome.org ![#619, !1034, Philip Chimento]
    • Remove copy constructor from GjsAutoError ![#654, !1034, Philip Chimento]
    • Various maintenance and big coding style fixes [!1034, !1040, !1044, !1045, !1050, !1053, Philip Chimento]
    • Unknown signal error on array properties [#717, !1035, Philip Chimento]
    • overrides/Gio: Improve handling of errors and return values in GDBus servers async functions [!1036, Marco Trevisan]
    • Investigate improvements to Gio.ActionGroup.add_action_entries override [#713, !1037, Andy Holmes]
    • Fix IWYU jobs for current Clang version and Fedora-packaged IWYU [!1038, Philip Chimento]
    • ci, test-ci: Check the installed tests with shellcheck [!1039, Marco Trevisan]
    • ci: Save cobertura reports as artifacts and run coverage on MRs [!1041, Marco Trevisan]
    • Consistent style and targeted shells for all shell scripts in project [#720, !1042, Philip Chimento]
    • overrides/GLib: Add overrides for one-shot timeout/idle functions [!1043, Florian Müllner]
    • gi/boxed.cpp: fix gcc-16 build [!1046, Sergei Trofimovich]
    • gi: Allow optional inout arguments to be null [!1047, Florian Müllner]
    • Remove inline overloads [!1048, Philip Chimento]
    • Remove uses of JS::Value::setObjectOrNull [!1049, Philip Chimento]
    • jsapi-util: Improve reading of process RSS [!1051, !1056, Philip Chimento]
    • CI: Run cpplint on the whole codebase [!1052, Philip Chimento]
    • ci/coverage: Strip the build path from coverage report on JS files (and other CI cleanups) [!1055, Marco Trevisan]
    • info: Fix return type of GI::CallableInfo::closure_native_address() [!1057, Philip Chimento]

Version 1.87.2

  • The beta release for the GNOME 50 cycle brings more modernization of the code base and type-safety.
  • Known defects: The new Gtk.Builder convenience API does not work correctly in some cases when connecting signals without a widget template, which may lead to the signals being disconnected after a garbage collection. This is planned to be addressed in 1.87.3 ​https://gitlab.gnome.org/GNOME/gjs/-/issues/727.
  • Closed bugs and merge requests:
    • overrides/GLib: Add wrappers for GLib platform-depedent namespace split [!1054, Marco Trevisan]
    • Various maintenance [!1058, Philip Chimento]
    • Update CI images [!1060, !1061, Philip Chimento]
    • Enabling various clang-tidy checks [!1062, !1064, !1065, Philip Chimento]

Version 1.87.90

  • Closed bugs and merge requests:
    • Enabling various clang-tidy checks [!1066, !1070, Philip Chimento]
    • Various maintenance [!1067, Philip Chimento]
    • Error when importing Gio after manipulating Object.prototype [#728, !1068, Philip Chimento]
    • Investigate union fields being garbage collected [#726, !1069, Philip Chimento]
    • Follow-up from "Gtk: Builder constructor overrides in GTK4" [#727, !1071, Philip Chimento]
    • Tweaks to examples [!1074, Justin Donnelly]

to be addressed in 1.87.90 ​https://gitlab.gnome.org/GNOME/gjs/-/issues/727.

Version 1.88.0

No changes since 1.87.90, only maintenance for CI.

comment:5 by pierre, 6 months ago

Done a full build of BLFS (without tests) with gjs-1.88.0. I've run the tests for mutter, gnome-shell, and gjs itself though. Gnome-49 seems to be running ok, so I propose to update the book (will wait until somebody answers though).

comment:6 by pierre, 6 months ago

I've now rebuilt all packages in the GNOME chapter running tests, and they are pretty good.

comment:7 by pierre, 6 months ago

Owner: changed from blfs-book to pierre
Status: new → assigned

Taking this ticket with Doug agreement.

comment:8 by pierre, 6 months ago

Resolution: → fixed
Status: assigned → closed

Fixed at 69830e9a

Note: See TracTickets for help on using tickets.