Accepting request 1073199 from GNOME:Factory

New stable release (forwarded request 1072902 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/1073199
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gjs?expand=0&rev=108
This commit is contained in:
Dominique Leuenberger 2023-03-24 14:17:23 +00:00 committed by Git OBS Bridge
commit ae61a8ba18
4 changed files with 78 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a406fd6a1652cf66dcab228062bd16a75f5b3378248dfbbbe016b212744a30b6
size 639012

BIN
gjs-1.76.0.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,76 @@
-------------------------------------------------------------------
Sun Mar 19 07:52:52 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.76.0:
+ No changes from release candidate 1.75.90.
-------------------------------------------------------------------
Mon Mar 6 11:26:07 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.75.90:
+ Closed bugs and merge requests:
- NEWS: fix a typo causing codespell to fail
- doc: Add more apps written in GJS
- Gio: Use proper default priority on async generators
- gjs 1.75.2 GObjectValue build test failing on ARM
- testGObjectValue: Enable creating object with a string
property
- Handle transfer-none string return value from vfunc
implemented in JS
- Various maintenance, performance improvements
-------------------------------------------------------------------
Fri Feb 24 12:43:35 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to 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.
+ 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.
+ 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.
+ 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.
+ 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.)
+ 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.
+ 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.
+ 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.
+ The debugger now handles Symbol values and Symbol property keys
of objects. Previously, these were not displayed correctly.
+ Various type-safety refactors.
+ Many bug fixes and performance improvements.
-------------------------------------------------------------------
Tue Feb 21 10:24:52 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.75.1:
+ Static methods on classes from GObject introspection are now
present on JS classes that inherit from those classes.
-------------------------------------------------------------------
Tue Feb 21 10:24:51 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -17,14 +17,14 @@
Name: gjs
Version: 1.74.2
Version: 1.76.0
# FIXME # Disable tests for unstable 1.71.1 - Try tests again on next versionbump
Release: 0
Summary: JavaScript bindings based on gobject-introspection and Mozilla
License: LGPL-2.0-or-later AND MIT
Group: Development/Libraries/GNOME
URL: https://wiki.gnome.org/Projects/Gjs
Source0: https://download.gnome.org/sources/gjs/1.74/%{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/gjs/1.76/%{name}-%{version}.tar.xz
BuildRequires: c++_compiler
BuildRequires: git