forked from flatpak/flatpak
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNEWS
More file actions
3861 lines (3144 loc) · 160 KB
/
NEWS
File metadata and controls
3861 lines (3144 loc) · 160 KB
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Changes in 1.17.3
~~~~~~~~~~~~~~~~~~
Released: not yet
...
Changes in 1.17.2
~~~~~~~~~~~~~~~~~~
Released: 2025-12-15
This is a follow-up release for the 1.17.1 release, which was published
immutably without the dist artifacts due to a bug in the release workflow.
Changes in 1.17.1
~~~~~~~~~~~~~~~~~~
Released: 2025-12-15
Enhancements:
* Drop libsoup2 support in favor of libcurl. The `http_backend` build option has
been dropped as well. (#6395)
* Support conditional permissions for shared subsystems and features. This
extends the conditional permission system that was introduced in 1.17.0 to
shares and features.
* Enable progress escape sequence by default (#6393)
* Allow passing device permissions to sub-sandbox created via the Flatpak portal
(#6123)
* Add the runtime repository to the OCI image metadata when building OCI bundles
(#6409)
* The CI now checks for translatable files and is now used to do releases
(#6408, #6407)
* OCI remotes can now be configured to check for a matching signature in a
standard OCI signature storage lookaside service, when installing apps and
runtimes. (#6426)
* Applications distributed as OCI images now support the extra-data mechanism
which should help with h.265 playback in Fedora Flatpaks (#6299)
* Add support for building OCI bundles with zstd compressed layers. This speeds
up compression by several times, resulting in about a 20% smaller result. gzip
is kept as the default for maximum compatibility. (#5540)
* Improve i18n of the command line progress reporting (#6397)
* Translation updates: tr (#6388), hr (#6387), sl (#6405), zh_CN (#6366, #6410)
Bug fixes:
* Fix an issue where the home directory would accidentally be accessible when
a bad version of glib is in use, the app has access to a standard XDG
directory, and that directory is not available on the system. (#6420)
* Fix incorrect CURLM_OK comparison in curl_easy_setopt checks (#6396)
* Error out when mandatory OCI JSON fields are missing (#6402)
* Fix various memory leaks (#6403, #6093)
Internal changes:
* Avoid triggering glib thumbnailing when enumerating `.portals` files
(#6427)
* Add a test case for pre-installing from a sideload repo and a non-reachable
network repo (#6423)
* Remove references to the defunct Open Collective (#6406)
* Improve various tests (#6406)
* Update note on seccomp filter code sharing (#6383)
Changes in 1.17.0
~~~~~~~~~~~~~~~~~~
Released: 2025-11-03
Enhancements:
* Allow directories to be forwarded to the sandboxed app as command-line
arguments. This requires xdg-desktop-portal >= 1.7.0. (#6247)
* Allow Flatpak apps that are conceptually part of the operating system
to be preinstalled by dropping files into `preinstall.d` directories.
(#6116)
* Allow direct installation from an OCI image (#5972)
* Allow OCI remotes to have a collection ID, so they can be used with
flatpak preinstall (#6083)
* Show a message if `flatpak document-list` finds no documents, and if
`flatpak uninstall` finds nothing to uninstall (#6197)
* Support sideloading from OCI repositories and archives. This allows
installing apps from OCI images stored in local sideload repositories.
(#6294)
* Add support for flatpak+https:// URIs in `flatpak install --from`
(#6372)
* New `--clear-env` option for `flatpak run` to clear the environment
from the host before running the application (#6298)
* Support for conditional permissions. Permissions can now be conditioned
on system and runtime capabilities. This for example allows to replace
`--device=all` permissions with
`--device-if=all:!has-input-device --device=input`. (#6285)
* Add host-root export which exposes the host's root directory at
/run/host/root in the sandbox (#6314)
* Enable the VA-API extension for Intel Xe GPUs (#6311)
* JSON output support for various commands, making it easier to parse
flatpak command output programmatically (#6337)
* Add basic OS information to Flatpak-Os-Info header when pulling objects,
helping repository administrators understand their user base (#6346)
* `flatpak build` does not grant the host permissions by default, improving
build isolation and reproducibility (#6308)
* Support the reinstall option on bundle installations (#5546)
* Drop a workaround for AppStream CIDs with duplicate `.desktop` suffixes
(#6350)
* Add cancellation support for curl downloads (#6356)
* `build-finish` exports external AppStream release metainfo (#6133)
* The default D-Bus configuration moved from /etc to /usr (#6347)
* Documentation improvements (#6266, #6348, #6240, #6374)
* Translation updates: cs (#6306), nl (#6241), pl (#6290, #6288),
sl (#6279, #6377), ru (#6278), zh_CN (#6304, #6334, #6354, #6366)
Bug fixes:
* Provide an empty /run/host/font-dirs.xml during `flatpak build` (#6138)
* Various bug fixes for the OCI support (#6296)
* Improve clearing the environment in the flatpak portal to fix support for
FLATPAK_SPAWN_FLAGS_CLEAR_ENV with FLATPAK_SPAWN_FLAGS_NOTIFY_START (#6298)
* Fix various issues with `flatpak mask` and `flatpak pin` by reloading the
repo configuration after changes done via the system helper (#6073)
* Fix propagation of `resolv.conf` into the sandbox via the session-helper by
improving the file monitoring in case of broken symlinks (#6349)
* Preinstallation now works if the ref is not available in the first configured
remote (#6373)
* Flatpak now allows the usage of sudo for changing the user (#6371)
* `flatpak-kill` will no longer send SIGKILL to all processes in the current
process group (#6375)
* Authorization for parental controls no longer relies on racy PIDs (#6303)
* Fix various memory leaks (#6286, #6260)
* Fix various crashes (#6074, #6376)
Internal changes:
* Testing and CI improvements (#6284, #6302, #6291, #6295, #6067)
* Improvements to the formatting (#6331)
* Avoid using an uninitialised variable (#6345)
* Remove duplicate pointer clearing (#6361)
Changes in 1.16.1
~~~~~~~~~~~~~~~~~~
Released: 2025-05-10
Enhancements:
* When using parental controls, allow a child account to update existing
apps by default, to ensure that security and bugfix updates can be
installed. This can be overridden by setting polkit policy rules for
the new `org.freedesktop.Flatpak.override-parental-controls-update`
action if necessary. (#5552)
* Make systemd scopes easier to match to Flatpak app instances,
by using the instance ID instead of the top-level process ID in the
scope name (#6015)
* Access to `--device=dri` now includes `/dev/udmabuf` (#6158)
* Improve the error message for an invalid parameter to
flatpak-spawn --sandbox-a11y-own-name (#6048)
* Speed up `flatpak prune --dry-run` by not calculating potential freed
space and avoiding operations that would need to hold a lock
(#5813, #6121)
* Speed up `flatpak permission-reset` by only writing entries that have
actually changed (#5772)
* Documentation improvements (#4859, #6066, #6134)
* Look for TLS certificates at /etc/containers/certs.d when interacting with
OCI registries (#5916)
* Translation updates: bg (#6120), ka (#6176), pl (#6106),
pt_BR (#6076, #6188), ro (#6139), ru (#6145), sl (#6054), sv (#6193),
tr (#6109)
Bug fixes:
* Fix intermittent flatpak-portal crashes by avoiding unnecessary
multi-threading (#5605)
* Don't show a confusing confirmation prompt when `flatpak remove --unused`
removes `autoprune-unless` extensions that are no longer needed, such as
older Nvidia drivers (#5712, #2718)
* Don't propagate `$PYTHONPYCACHEPREFIX` from host into sandbox (#6110)
* Don't propagate `$WAYLAND_DISPLAY`, `$WAYLAND_SOCKET` from host into
sandbox if access to the Wayland socket has been denied (#3948)
* When discovering the AT-SPI bus, treat `$AT_SPI_BUS_ADDRESS` as
higher-priority than GetAddress(), more closely matching the behaviour
of AT-SPI itself (#6173)
* Fix a memory leak when installing extra-data (#6069)
* Don't show fatal transaction errors twice (#3400)
* Fix the build with -Ddefault_library=static (#6119)
* Fix incorrect error reporting (#6127, #5170)
* When using `FLATPAK_TTY_PROGRESS`, terminate OSC escape sequence with
standard ST sequence instead of xterm-specific BEL (#6092)
* Include all options in shell completion for `flatpak search` (#6096)
Internal changes:
* Fix an unclear boolean expression (no functional change) (#5013)
* Avoid a duplicate redirection in the test suite (#6117)
* CI updates
Changes in 1.16.0
~~~~~~~~~~~~~~~~~~
Released: 2025-01-09
Bug fixes:
* Update libglnx to 2024-12-06:
- Fix an assertion failure if creating a parent directory encounters a
dangling symlink (GNOME/libglnx#1)
- Fix a Meson warning
* Don't emit terminal progress indicator escape sequences by default. They are
interpreted as notifications by some terminal emulators. (#6052)
* Fix introspection annotations in libflatpak
Enhancements:
* Add the `FLATPAK_TTY_PROGRESS` environment variable, which re-enables the
terminal progress indicator escape sequences added in 1.15.91.
* Document the `FLATPAK_FANCY_OUTPUT` environment variable, which allows
disabling the fancy formatting when outputting to a terminal.
Changes in 1.15.91
~~~~~~~~~~~~~~~~~~
Released: 2024-12-19
Enhancements:
* Add the `FLATPAK_DATA_DIR` environment variable, which allows overriding
at runtime the data directory location that Flatpak uses to search for
configuration files such as remotes. This is useful for running tests,
and for when installing using Flatpak in a chroot.
* Add a `FLATPAK_DOWNLOAD_TMPDIR` variable. This allows using download
directories other than /var/tmp.
* Emit progress escape sequence. This can be used by terminal emulators
to detect and display progress of Flatpak operations on their graphical
user interfaces.
Bug fixes:
* Install missing test data. This should fix "as-installed" tests via
`ginsttest-runner`, used for example in Debian's autopkgtest framework.
* Unify and improve how the Wayland socket is passed to the sandboxed app.
This should fix a regression that is triggered by compositors that both
implement the security-context-v1 protocol, and sets the `WAYLAND_DISPLAY`
environment variable when launching Flatpak apps. (#5863)
* Fix the plural form of a translatable string.
Changes in 1.15.12
~~~~~~~~~~~~~~~~~~
Released: 2024-11-28
Bug fixes:
* Return to using the process ID of the Flatpak app in the cgroup name.
Using the instance ID in 1.15.11 caused crashes when installing apps,
extensions or runtimes that use the "extra data" mechanism, which
does not set up an instance ID. (#6009)
Changes in 1.15.11
~~~~~~~~~~~~~~~~~~
Released: 2024-11-26
Dependencies:
* In distributions that compile Flatpak to use a separate bubblewrap
executable, version 0.11.0 is recommended (but not required).
The minimum bubblewrap continues to be 0.10.0.
* In distributions that compile Flatpak to use a separate xdg-dbus-proxy
executable, version 0.1.6 is recommended (but not required).
The minimum xdg-dbus-proxy continues to be 0.1.0.
Enhancements:
* Allow applications like WebKit to connect the AT-SPI accessibility tree
of processes in a sub-sandbox with the tree in the main process (#5898)
* New sandboxing parameter `flatpak run --a11y-own-name`, which is
like `--own-name` but for the accessibility bus
* flatpak-portal API v7: add new sandbox-a11y-own-names option, which
accepts names matching `${FLATPAK_ID}.*`
* Apps may call the `org.a11y.atspi.Socket.Embedded` method on names
matching `${FLATPAK_ID}.Sandboxed.*` by default
* `flatpak run -vv $app_id` shows all applicable sandboxing parameters
and their source, including overrides, as debug messages (#5895)
* Add --device=usb, a subset of --device=all
* Introduce USB device listing
* Apps can list which USB devices they want to access ahead of time by
using the `--usb` parameter. Check the manpages for the more information
about the accepted syntax.
* Denying access to USB devices is also possible with the `--no-usb`
parameter. The syntax is equal to `--usb`.
* Both options merely store metadata, and aren't used by Flatpak itself.
This metadata is intended to be used by the (as of now, still in
progress) USB portal to decide which devices the app can enumerate and
request access.
* Add support for KDE search completion
* Use the instance id of the Flatpak app as part of the cgroup name. This
better matches the naming conventions for cgroup.
* Preconfigured repositories can now be set up by OS vendors using
`${datadir}/flatpak/remotes.d` (typically /usr/share/flatpak/remotes.d),
in addition to `${sysconfdir}/flatpak/remotes.d` (typically
/etc/flatpak/remotes.d) which is intended for local sysadmin use
Bug fixes:
* Update libglnx to 2024-08-23 (#5918)
* fix build in environments that use -Werror=return-type, such as
openSUSE Tumbleweed (#5778)
* add a fallback definition for G_PID_FORMAT with older GLib
* avoid warnings for g_steal_fd() with newer GLib
* improve compatibility of g_closefrom() backport with newer GLib
* Update meson wrap file for bubblewrap to version 0.11.0:
* drop Autotools build system
* improve handling of EINTR
* improve handling of socket control messages
* improve compatibility with busybox
* improve compatibility with older Meson
* fix deprecation warnings
* Update meson wrap file for xdg-dbus-proxy to version 0.1.6:
* compatibility with D-Bus implementations that pipeline the
authentication handshake, such as sd-bus and zbus
* compatibility with D-Bus implementations that use non-consecutive
serial numbers, such as godbus and zbus
* broadcast signals can be allowed without having to add TALK permission
(#5828)
* fix memory leaks
* Fix some memory leaks
* Translation updates: cs, pl, zh_CN
Internal changes:
* Better const-correctness (#5913)
* Fix a shellcheck warning in the tests (#5914)
Changes in 1.15.10
~~~~~~~~~~~~~~~~~~
Released: 2024-08-14
Dependencies:
* In distributions that compile Flatpak to use a separate bubblewrap (bwrap)
executable, version 0.10.0 is required.
This version adds a new feature which is required by the security fix
in this release.
Security fixes:
* Don't follow symbolic links when mounting persistent directories
(--persist option). This prevents a sandbox escape where a malicious or
compromised app could edit the symlink to point to a directory that
the app should not have been allowed to read or write.
(CVE-2024-42472, GHSA-7hgv-f2j8-xw87)
Documentation:
* Mark the 1.12.x and 1.10.x branches as end-of-life (#5352)
Other bug fixes:
* Fix several memory leaks (#5883, #5884)
Internal changes:
* Record a log file when running build-time tests with
AddressSanitizer (#5884)
* Add initial suppressions file for AddressSanitizer (#5884)
Changes in 1.15.9
~~~~~~~~~~~~~~~~~
Released: 2024-07-22
Dependencies:
* bubblewrap and xdg-dbus-proxy are now provided by Meson wrap files
instead of being directly vendored via `git submodule`.
If downloading external software during build is not allowed in your
environment, please install suitable versions of bubblewrap and
xdg-dbus-proxy separately, then configure Flatpak with options similar to
`-Dsystem_bubblewrap=bwrap -Dsystem_dbus_proxy=xdg-dbus-proxy`
(most major distributions package it like this already).
Enhancements:
* If xdg-dbus-proxy is new enough (0.1.6 or later, not yet released),
allow two broadcast signals from AT-SPI by default, allowing bus
traffic to be reduced. If xdg-dbus-proxy is older, this change will
have no practical effect but is harmless. (#5828)
* Install csh profile snippet (#5753)
Bug fixes:
* Expand the list of environment variables that Flatpak apps do not
inherit from the host system (#5765, #5785)
* Take time zone information from $TZDIR if set (#5850)
* Fix a memory leak since 1.15.7 when reloading D-Bus configuration (#5856)
* Fix a memory leak when running `flatpak permissions` (#5844)
* Fix memory leaks in `flatpak update` (#5816)
* Fix memory leaks when installing packages (#5811)
* Use more similar translatable strings for some error messages (#5748)
* Document `flatpak config --set languages '*all*'` correctly:
it is really `*all*` (or equivalently `*`), not just `all` (#5836)
* Fix a misleading comment in the test for CVE-2024-32462 (#5779)
* Fix a copy/paste error in the 1.15.7 release notes
* On systems where subdirectories of /sys have been made inaccessible,
continue without them (#5138)
* Make tests more compatible with non-GNU shell utilities (#5812)
* Translation updates: ka (#5873), hi (#5838), pt_BR (#5877), zh_CN (#5843)
Internal changes:
* libglnx and variant-schema-compiler are now managed as `git subtree`
instead of `git submodule`.
Maintainers and contributors, please see `subprojects/README.md` for
details of how to interact with these.
In particular this means that submodules no longer need to be set up
before working on a git clone. (#5800, #5845)
* Split library code into more, smaller translation units, reducing
internal circular dependencies (#5409, #5801, #5803)
* Add some convenience macros in the test suite (#5693)
* Minor internal robustness improvement (#5833)
* Add configuration for Github Codespaces (#5767)
* Improve CI configuration (#5791)
* Work around infrastructure issues in third-party apt repositories
used by default in Github Workflows (#5786)
Changes in 1.15.8
~~~~~~~~~~~~~~~~~
Released: 2024-04-18
Security fixes:
* Don't allow an executable name to be misinterpreted as a command-line
option for bwrap(1). This prevents a sandbox escape where a malicious
or compromised app could ask xdg-desktop-portal to generate a .desktop
file with access to files outside the sandbox. (CVE-2024-32462)
Other bug fixes:
* Pass the -export-dynamic linker option as -Wl,-export-dynamic,
fixing build failures with clang 18 and lld 18 (#5760)
* Fix a double-free when installation is cancelled (#5763)
* Fix installed-tests failure with "FUSERMOUNT: unbound variable"
(#5751)
* Translation updates: pt_BR (#5762), tr (#5761)
Changes in 1.15.7
~~~~~~~~~~~~~~~~~
Released: 2024-03-27
Dependencies:
* The Meson build system is now required.
Compiling with Autotools is no longer possible.
* In distributions that compile Flatpak to use a separate bubblewrap (bwrap)
executable, version 0.9.0 is recommended. Several of the bug fixes listed
below will not be active if an older version is used.
* In distributions that compile Flatpak to use a separate xdg-dbus-proxy
executable, version 0.1.5 is recommended.
* If libmalcontent (parental controls) is enabled, it must be version 0.5.0
or later.
New features:
* Automatically remove obsolete driver versions and other autopruned refs
(#5632)
* `--socket=inherit-wayland-socket` (#5614)
* Automatically reload D-Bus session bus configuration after installing
or upgrading apps, to pick up any exported D-Bus services (#3342)
Bug fixes:
* Update included copy of bubblewrap to version 0.9.0:
* `--symlink` is now idempotent, meaning it succeeds if the
symlink already exists and already has the desired target
(#2387, #3477, #5255)
* Report a better error message if `mount(2)` fails with `ENOSPC`
* Fix a double-close on error reading from `--args`, `--seccomp` or
`--add-seccomp-fd` argument
* Improve memory allocation behaviour
* Silence various compiler warnings
* Update included copy of xdg-dbus-proxy to version 0.1.5:
* Fix handling of long object paths
* Don't parse `<developer><name/></developer>` as the application name
(#5700)
* Don't refuse to start apps when there is no D-Bus system bus available
(#5076)
* Don't try to repeat migration of apps whose data was migrated to a new
name and then deleted (#5668)
* Improve handling of mixed locales on systems with systemd-localed (#5497)
* Improve display of ellipsized columns in wide terminals (#5722)
* Make `flatpak info -e` look for extensions in all installations (#5670)
* Fix warnings from newer GLib versions (#5660, #5737)
* Always set the `container` environment variable (#5610)
* Always let the app inherit redirected file descriptors (#5626)
* In `flatpak ps`, add xdg-desktop-portal-gnome to the list of backends
we'll use to learn which apps are running in the background (#5729)
* Don't use `WAYLAND_SOCKET` unless given `--socket=inherit-wayland-socket`
(#5614)
* Use `fusermount3` if compiled with FUSE 3, overridable with
`-Dsystem_fusermount` compile-time option (#5104)
* Avoid leaking a temporary variable from /etc/profile.d/flatpak.sh into
the shell environment (#5574)
* Improve async-signal safety (#5687)
* Fix various memory leaks (#5683, #5690, #5691)
* Avoid undefined behaviour of signed left-shift when storing object IDs
in a hash table (#5738)
* Detect the correct gtk-doc when cross-compiling (#5650)
* Detect the correct wayland-scanner when cross-compiling (#5596)
* Documentation improvements (#5659, #5677, #5682, #5664, #5719)
* Skip more tests when FUSE isn't available (#5611)
* Translation updates (#5602, #5707)
Changes in 1.15.6
~~~~~~~~~~~~~~~~~
Released: 2023-11-14
Dependencies:
* In distributions that compile Flatpak to use a separate bubblewrap (bwrap)
executable, version 0.8.0 is now required.
* Enabling the optional Wayland security context feature requires
libwayland-client, wayland-scanner >= 1.15 and wayland-protocols >= 1.32.
* Ubuntu 18.04 is no longer routinely tested. Support for dependency
versions included in Ubuntu 18.04 should be considered "at risk".
Features:
* Add --device=input, for access to evdev devices in /dev/input (#5481)
* Update bundled copy of bubblewrap to version 0.8.0, and rely on its
features:
* Improve error message if seccomp is disabled in kernel config
* Security hardening: set user namespace limit to 0, to prevent creation
of nested user namespaces in a more robust way (#5084)
* For subsandboxes started by flatpak-portal, inherit environment
variables from the `flatpak run` that started the original instance
rather than from flatpak-portal, fixing behaviour of FLATPAK_GL_DRIVERS
and similar features (#5278)
* Stop http transfers if a download in progress becomes very slow (#5519)
* Make it easier to configure extra languages, by picking them up from
AccountsService if configured there (#5006)
* Add new flatpak_transaction_add_rebase_and_uninstall() API,
allowing end-of-life apps to be replaced by their intended replacement
more reliably (#3991)
* Create a private Wayland socket with the "security context" extension
if available, allowing the compositor to identify connections from
sandboxed apps as belonging to the sandbox (#4920, #5507, #5558)
* Update libglnx to 2023-08-29
* Use features of newer GLib versions if available
* Turn off system-level crash reporting infrastructure during
some unit tests that involve intentional assertion failures
* Add anchors to link to sections of flatpak-metadata documentation (#5582)
* New translations: ka, nl.
Bug fixes:
* Avoid warnings processing symbolic links with GLib >= 2.77.0, and
with GLib 2.76.0 (GLib 2.76.1 or later silences these warnings)
* Bypass page cache for backend requests in revokefs, fixing installation
errors with libostree 2023.4 (#5452)
* Show AppStream metadata in `flatpak remote-info` as intended
(#5523; regression in 1.9.1)
* Don't let Flatpak apps inherit VK_DRIVER_FILES or VK_ICD_FILENAMES
from the host system, which would be wrong for the sandbox (#5553)
* Fix build failure with prereleases of libappstream 0.17.x (#5472)
* Forward-compatibility with libappstream 1.0 (#5563)
* Fix installation with Meson if configured with -Dauto_sideloading=true
(#5495)
* Fix a memory leak (#5329)
* Fix compiler warnings (#5362, #5366)
* Make the tests fail more comprehensibly if a required tool is missing
(#5020)
* Clean up `/var/tmp/flatpak-cache-*` directories on boot (#1119)
* Don't force `GIO_USE_VFS=local` for programs launched via flatpak-spawn
(#5567)
* Clarify documentation for D-Bus name ownership (#5582)
* Translation updates: id, tr, zh_CN
(#5332, #5565)
Internal changes:
* Split up large source files into smaller modules, reducing internal
circular dependencies (#5410, #5411, #5415, #5419, #5416, #5414)
* Re-synchronize code backported from GLib with the version in GLib
(#5410)
* Make the flags used to apply "extra data" clearer (#5466)
* Use glnx_opendirat() where possible (#5527)
* CI improvements (#5374, #5381)
Changes in 1.15.4
~~~~~~~~~~~~~~~~~
Released: 2023-03-16
Security fixes:
* Escape special characters when displaying permissions and metadata,
preventing malicious apps from manipulating the appearance of the
permissions list using crafted metadata (CVE-2023-28101).
* If a Flatpak app is run on a Linux virtual console (tty1, tty2, etc.),
don't allow copy/paste via the TIOCLINUX ioctl (CVE-2023-28100).
Note that this is specific to virtual consoles: Flatpak is not
vulnerable to this if run from a graphical terminal emulator such as
xterm, gnome-terminal or Konsole.
Other bug fixes:
* Document the path used for `flatpak override`
* Translation updates: oc, pl, ru, sv, tr
Changes in 1.15.3
~~~~~~~~~~~~~~~~~
Released: 2023-02-21
Build system:
* Building this version of Flatpak with Meson is recommended. The source
release flatpak-1.15.3.tar.xz no longer contains Autotools-generated
files, although this version can still be built using Autotools after
running `./autogen.sh`. Future versions are likely to remove the
Autotools build system.
Bug fixes:
* When splitting an upgrade into two steps (download without installing, and
then upgrade without allowing further downloads) like GNOME Software does,
if an app is marked EOL and superseded by a replacement, don't remove the
superseded app in the first step, which would result in the replacement
incorrectly not being installed (#5172)
* Fix a crash when --socket=gpg-agent is used (#5095)
* Fix a crash when listing apps if one of them is broken or misconfigured
(#5293)
* If an app has invalid syntax in its overrides or metadata, mention the
filename in the error message (#5293)
* Unset $GDK_BACKEND for apps, ensuring GTK apps with --socket=fallback-x11
can work (#5303)
* Fix a deprecation warning when compiled with curl >= 7.85 (#5284)
* Translation updates: es, ru (#5266, #5312, #5313)
Internal changes:
* Better diagnostic messages for why runtimes are or are not considered
unused (#5237)
Changes in 1.15.2
~~~~~~~~~~~~~~~~~
Released: 2023-02-06
Bug fixes:
* Never try to export a parent of reserved directories as a --filesystem,
for example /run, which would prevent the app from starting (#5205, #5207)
* Never try to export a --filesystem below /run/flatpak or /run/host,
which could similarly prevent the app from starting
* The above change also fixes apps not starting if a --filesystem is a
symlink to the root directory (#1357)
* Show a warning when the --filesystem exists but cannot be shared with
the sandbox (#1357, #5035, #5205, #5207)
* Display the intended messages for `flatpak repair` (#5204)
* Exporting an app to an existing repository on a CIFS filesystem
now works as intended (#5257)
* Unset $GIO_EXTRA_MODULES for apps, avoiding misbehaviour in some GLib
apps when set to a path on the host (#5206)
* Unset $XKB_CONFIG_ROOT for apps, avoiding crashes in GTK and Qt apps
under Wayland when this variable is set to a path not available in the
sandbox (#5194)
* When using the fish shell, avoid duplicate XDG_DATA_DIRS entries if the
profile script is sourced more than once (#5198)
* Update included copy of bubblewrap to 0.7.0 for better error messages
* Install SELinux files correctly when building with Meson
* Translation updates: ru, tr (#5256, #5262)
Internal changes:
* Update included copy of libglnx
* flatpak -v now uses the INFO log level, and flatpak -vv uses the
DEBUG log level in the flatpak log domain. Previously, the extra
messages that were logged by flatpak -vv were in a separate "flatpak2"
log domain. G_MESSAGES_DEBUG=flatpak previously had an effect similar to
flatpak -v, and is now more similar to flatpak -vv. (#5001)
Changes in 1.15.1
~~~~~~~~~~~~~~~~~
Released: 2022-11-17
Dependencies:
* When building with Meson, gpgme 1.8.0 is now required.
Older versions can still be used by building with Autotools.
Features:
* If an old temporary deploy directory was leaked by versions before #5146,
clean it up the next time the same app is updated (#5164)
Bug fixes:
* If an app update is blocked by parental controls policies, clean up the
temporary deploy directory (#5146)
* Fix Autotools build with versions of gpgme that no longer provide
gpgme-config(1) (#5173)
* Fix a possible parallel build failure with Meson (#5165)
* Fix a compiler warning on 32-bit architectures (#5148)
* When building with Autotools, be more consistent about applying compiler
warning flags (#5149)
* Unset $TEMP, $TEMPDIR and $TMP for apps, the same as $TMPDIR (#5168)
* Treat /efi the same as /boot/efi (#5155)
Changes in 1.15.0
~~~~~~~~~~~~~~~~~
Released: 2022-10-24
Build system:
* Flatpak can now be compiled using Meson instead of Autotools.
This requires Meson 0.53.0 or later, and Python 3.5 or later.
The Autotools build system is likely to be removed during either the
1.15.x or 1.17.x cycle. (#4845)
New features:
* Allow the `modify_ldt` system call as part of `--allow=multiarch`.
This increases attack surface, but is required when running 16-bit
executables in some versions of Wine. (#4297)
* Share gssproxy socket, which acts like a portal for Kerberos authentication.
This lets apps use Kerberos authentication without needing a sandbox hole.
(#4914)
* Add a httpbackend variable to flatpak.pc, allowing dependent projects
like GNOME Software to detect whether they are compatible with libflatpak
(#5054)
Bug fixes:
* Terminate the flatpak-session-helper and flatpak-portal services when the
session ends, so that applications will not inherit outdated Wayland
and X11 socket addresses (#5068)
* When using `fish` shell, don't overwrite a previously-set XDG_DATA_DIRS
(#5123)
* Don't try to enable HTTP 2 if linked to a libcurl version that doesn't
support it (#5074)
* Stop systemd reporting the session-helper as failed when terminated by
a signal (#5129)
* Fix a warning when listing a document with no permissions (#5055)
* Fix compilation with GLib 2.66.x (as used in Debian 11) (#5062)
* Fix compilation with GLib 2.58.x (as used in Debian 10) (#5066)
* Make generated files more reproducible (#5085)
* Translation updates: cs, id, pl, pt_BR (#5052, #5056, #5059, #5126)
Internal changes:
* Update project logo in README (#5119)
* Update libglnx subproject (#5140)
Changes in 1.14.0
~~~~~~~~~~~~~~~~~
Released: 2022-08-22
Known issues:
* There may be an issue where non-primary architecture builds don't show up
(https://github.com/flatpak/flatpak/issues/5045)
* There is a new security advisory on Flatpak but all supported versions are
not affected due to using new enough versions of libostree
(https://github.com/flatpak/flatpak/security/advisories/GHSA-45jq-5658-v38x)
Dependencies:
* Conditional on a build time option, revokefs will now use version 3 of the
FUSE API rather than version 2 (#4326)
* Libappstream should be updated to at least 0.15.3 to avoid critical warning
messages when using the "flatpak search" command
(https://github.com/ximion/appstream/issues/384)
New features:
* A new key "DeploySideloadCollectionID" is now supported in flatpakref and
flatpakrepo files, to allow setting a collection ID at the time a remote is
added from one of those files, rather than when metadata is pulled from the
remote, and without affecting versions of Flatpak with the older pre-sideload
P2P implementation (#4826)
* Allow sub-sandboxes to own MPRIS names on the session bus (#5023)
* Commands that accept "--user" will now also take "-u" as an alias for that
(#5014)
* The CLI now properly informs the user of which apps are (indirectly) using
end-of-life runtime extensions in end-of-life info messages (#4835)
* The CLI now takes into account operations in the pending transaction when
printing end-of-life messages (#4835)
* The uninstall command now asks for confirmation before removing in-use
runtimes or runtime extensions (#4835)
* A "--socket=gpg-agent" option is now recognized by "flatpak run" and related
commands (#4958)
Bug fixes:
* Fix a memory corruption issue caused by use of libcurl in an unsafe way
(#5046)
* Update selinux policy to cover symbolic links in /var/lib/flatpak (#4992)
* Fix a crash in case a .desktop file processed by the build-export command has
no Exec= key, and some related fixes for handling such .desktop files (#4817)
* Preserve the X11 display number rather than redirecting it to :99 (#5034)
Other changes:
* Various improvements to the unit tests, CI infra, and documentation
* Some changes were made to ensure translators can work on full sentences
rather than fragments in several places
* Translation updates: de, ru, sv, tr, uk, zh_CN
Changes in 1.13.3
~~~~~~~~~~~~~~~~~
Released: 2022-06-16
Dependencies:
* Support curl 7.29 or later as an additional, and the default, HTTP backend
alongwith libsoup 2.x (#4943)
* Clarify that glib 2.46 or later is now required (#4944)
New features:
* Implement support for rewriting dynamic launchers when an app is renamed
(#4703)
* Add --include-sdk/debug options to install command to install SDK/debuginfo
along with a ref (#4777)
* Improve --sideload-repo option to take create-usb dirs (#4843)
* Add a new library API flatpak_transaction_get_operation_for_ref() (#4947)