File: NEWS

package info (click to toggle)
libpeas2 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,808 kB
  • sloc: ansic: 8,018; cpp: 319; python: 178; javascript: 52; xml: 47; sh: 21; makefile: 17
file content (136 lines) | stat: -rw-r--r-- 3,774 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# Libpeas 2.2.0

This is a stable release for GNOME 49.0

 * Disable Lua tests until we have a GIRepository-2.0 supported
   version of LuaGI. Only our testsuite requires it, not runtime
   use of libpeas-2.x.
 * Build system improvements.

# Libpeas 2.1.0

This is a beta release for GNOME 49.beta

 * Support builds with custom python path
 * Support mozjs_dep_name pkgconfig variable from GJS
 * Port testsuite to girepository-2.0

Distributors, if you are building with Lua support, there is no way you
can make the testsuite pass unless you have an LGI with girepository-2.0
support. I've posted patches to help with that at¹ but you may instead
choose to just disable the lua testsuite for now.

Note that you do not need girepository-2.0 at runtime for libpeas 2.0,
only for the testsuite.

¹ https://github.com/lgi-devs/lgi/pull/337

# Libpeas 2.0.7

 * CI fixes

# Libpeas 2.0.6

 * Translation updates

# Libpeas 2.0.5

 * Fix UB in memcpy
 * Fix weak pointer usage in testsuite

# Libpeas 2.0.4

 * Update to mozjs 128

# Libpeas 2.0.3

 * Various non-critical resiliency fixes
 * Translation updates

# Libpeas 2.0.2

Changes since 2.0.1:

 * Translation updates

# Libpeas 2.0.1

Changes since 2.0.0:

 * Improve dependency searching for Python when building
 * Fix g_object_ref() usage with PeasExtensionSet as a GListModel
 * Translation updates

It is recommended that distributions update to 2.0.1.

# Libpeas 2.0.0

This release corresponds with GNOME 45.0.

Changes since 1.99.1:

 * Translation updates

# Libpeas 1.99.1

This release corresponds with GNOME 45.rc.

It contains various build system improvements that were found when
integrating 1.99.0 with various distribution channels.

# Libpeas 1.99.0

This is the beginning of the libpeas 2.0 series. It breaks ABI with previous
versions of libpeas and therefore can be installed along-side libpeas-1.0.

This allows libpeas to improve API ergonomics as well as implement features
which will improve integration with GTK 4.

## GJS

With libpeas-2 we are gaining a new plugin loader in GJS. This is the same
JavaScript engine (powered by SpiderMonkey) that GNOME Shell uses and allows
for modern JavaScript programming with clean integration of GObject.

This works using new-style JavaScript modules and recent feature additions
to GJS. See https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/846 for
more information.

## Removal of libpeas-gtk

libpeas-gtk is not part of libpeas-2.

Application developers are encouraged to use GTK 4's integration with
GtkListView and similar widgets with PeasEngine. It provides a GListModel
implementation with PeasPluginInfo to bind into row widgets.

## Removal of PeasActivatable

Interfaces are cheap and easy to create in GObject these days. Application
developers are encouraged to create their own interfaces or base-objects
which can implemented by their plugins.

## Removal of Python 2 support

Everything of consequence is on Python 3 now. There is no need for us to
maintain the Python 2 loader for new applications targeting libpeas-2.

## Deprecated API

Previously deprecated API has been removed from libpeas such as the very
old GObject Introspection integration using "call" on extension objects.

## PeasEngine

The PeasEngine object now implements a GListModel of PeasPluginInfo. Now
that PeasPluginInfo is a GObject, you may bind its properties to labels
within rows of a GtkListView with relative ease.

Additionally, you can easily filter lists based on type-to-search with
GtkFilterListModel, more than you could ever do with libpeas-gtk.

## PeasExtensionSet

PeasExtensionSet is also a GListModel which improves situations where an
application wants to limit which extensions within a set are active based
on arbitrary conditions.