Debian Codegraph @

NEWS

raw
1 Changes in 1.18.2
2 ~~~~~~~~~~~~~~~~~
3 Released: 2026-08-27
4
5 Bug fixes:
6
7 * Validate GVariant structure of summaries before using generated variant
8 readers (#6779)
9
10 * Fix crash in system helper when iterating cache directories (#6780)
11
12 * Avoid corrupted output from non-UTF-8 characters in error messages (#6795)
13
14 * Fix portal passing wrong file descriptor when sandbox-expose-fd-ro
15 triggers fd remapping collision (#6785)
16
17 * Fix system helper tracking wrong D-Bus sender for pulls (#6781)
18
19 * Fix extensions not being populated in the sandbox due to unhandled
20 EAGAIN from openat2 (#6787)
21
22 * Fix build failure with GLib versions older than 2.72 (#6777)
23
24 * Test infrastructure improvements (#6794, #6796)
25
26 Changes in 1.18.1
27 ~~~~~~~~~~~~~~~~~~
28 Released: 2026-08-11
29
30 Security fixes:
31
32 * Fix sandbox escape with full host filesystem read/write access via symlink
33 attack on app data directories (GHSA-8688-9x26-hhxj)
34
35 * Fix local root privilege escalation via revokefs symlink path traversal and
36 commit tampering (GHSA-qrwq-7qwx-q9rp)
37
38 * Fix arbitrary root write via symlink and path traversal in extra-data
39 extraction (GHSA-fqx6-vh4p-42cg)
40
41 * Fix arbitrary root write via path traversal in `flatpak build-init`
42 (GHSA-8qxj-x646-phcm)
43
44 * Fix arbitrary host file read via hardlink path traversal in OCI archive
45 extraction (GHSA-9rww-v4mm-x4jg)
46
47 * Fix path traversal via unvalidated architecture parameter in DeployAppstream
48 (GHSA-v2gw-v9h5-9q4x)
49
50 * Fix buffer overflow in OCI delta stream path names on 32-bit systems
51 (GHSA-jr92-2v97-wgvc)
52
53 * Fix fixed-filename writes to arbitrary locations via symlink attack on .ld.so
54 (GHSA-99wv-m8rp-g58x)
55
56 * Fix extension metadata path traversal allowing host filesystem probing and
57 unintended mount locations (GHSA-w69g-9x8j-7p8f)
58
59 * Fix anti-downgrade bypass allowing unprivileged users to downgrade system
60 apps (GHSA-q4gr-vc25-57m5)
61
62 Bug fixes:
63
64 * Fix portal flatpak-spawn environment handling regression (#6721)
65
66 * Fix negated permission strings for allow and share run options (#6684)
67
68 * Fix build failure when exporting metainfo releases.xml files (#6698)
69
70 * Fix crashes in the portal update monitor (#6692) and OCI JSON handling
71 (#6704)
72
73 * Error out if file forwarding of empty paths is attempted (#6693)
74
75 * Check OCI signatures from the mirrored repo in the system helper instead of
76 fetching from the lookaside server (#6682)
77
78 * Apply TLS certs to OCI registry requests and propagate stream write failures
79 to curl (#6685)
80
81 * Fix GI annotation for flatpak_instance_get_all (#6696)
82
83 * Cleanup of Bash completion (#6710)
84
85 * Numerous internal fixes for crashes, error handling, and hardening (#6723,
86 #6725)
87
88 Changes in 1.18.0
89 ~~~~~~~~~~~~~~~~~
90 Released: 2026-06-08
91
92 Enhancements:
93
94 * Improve error handling and printed output of `flatpak-coredumpctl` (#6649,
95 #6680)
96
97 * Support the AMD vendor specific compute interface (`/dev/kfd`) via the DRI
98 device permission (#6648)
99
100 * Improve the output of `flatpak update` with failure causes (#6657)
101
102 * Improve startup time for fish shell integration (#6635)
103
104 * Translation updates: ‎zh_CN (#6671)
105
106 Bug fixes:
107
108 * Fix building when HAVE_LIBSYSTEMD but not USE_SYSTEM_HELPER is defined (#6652)
109
110 * Ignore system bus failures in parental controls check (#6663)
111
112 * Fix some return values and replace deprecated `GTimeVal` with
113 `g_get_real_time()` (#6646)
114
115 * Suppress an unused-result warning in the tests (#6655)
116
117 Changes in 1.17.7
118 ~~~~~~~~~~~~~~~~~~
119 Released: 2026-05-06
120
121 Enhancements:
122
123 * Add the new permission conditionals `has-usb-device` and `has-usb-portal` to
124 allow apps to drop --device=all and --device=usb permissions (#6560)
125
126 * Always send the `Flatpak-Upgrade-From` header when updating instead of
127 freshly installing, to improve the quality of statistics (#6626)
128
129 * Improve how the absence of the system repo is handled (#6621)
130
131 * Changes to repos are now more atomic which helps to avoid them being in an
132 invalid state. This could be observed when importing the GPG key failed,
133 because the system clock was wrong. (#6547)
134
135 * A function to report the age of the configuration was added to libflatpak,
136 which will help GNOME Software to prevent unnecessary work (#6532)
137
138 * Improvements to the build system (#6614, #6610)
139
140 * Improve various tests (#6604, #6606, #6619, #6617, #6605, #6625)
141
142 * Translation updates: tr (#6629), ‎zh_CN (#6630)
143
144 Bug fixes:
145
146 * Fix a regression in handling of the fallback-x11 permission, which was
147 affecting overrides from Flatseal (#6632)
148
149 * Fix a memory leak in the Flatpak portal (#6613)
150
151 * Install SELinux configuration files to the right directory (#6622)
152
153 * Silence wrong `lseek()` errors when creating sub-sandboxes (#6609)
154
155 Changes in 1.17.6
156 ~~~~~~~~~~~~~~~~~~
157 Released: 2026-04-10
158
159 Bug fixes:
160
161 * Fix the remaining regression for Chromium based browsers by not leaking file
162 descriptors down to wrapped command (#6589, #6594)
163
164 * Fix a regression when installing extra-data without a runtime, which is the
165 case for openh264 (#6587)
166
167 * Fix the remaining regression for Epiphany by ignoring unusable sandbox-expose
168 paths for sub-sandboxes in the portal (#6588)
169
170 * Fix the installed tests by allowing to add a new ref to an existing temporary
171 ostree repo (#6592)
172
173 * Avoid closing fds 0/1/2 when they are used as a bad argument to flatpak-run,
174 and reduce duplication in handling file descriptor arguments (#6598)
175
176 Enhancements:
177
178 * Disable auto-pin in flatpak-repair to preserve the pin state across
179 re-installs (#6571)
180
181 * Small improvements for the tests (#6596, #6595, #6597)
182
183 Changes in 1.17.5
184 ~~~~~~~~~~~~~~~~~~
185 Released: 2026-04-09
186
187 Bug fixes:
188
189 * Fix regressions caused by the sandbox escape security fix, which impact some
190 browsers, browser-based apps and Steam (#6577, #6569, #6576, #6574)
191
192 Enhancements:
193
194 * Expand test coverage of flatpak-run features used by flatpak-portal (#6573)
195
196 Changes in 1.17.4
197 ~~~~~~~~~~~~~~~~~~
198 Released: 2026-04-08
199
200 Security fixes:
201
202 * Fix a complete sandbox escape which leads to host file access and code
203 execution in the host context (CVE-2026-34078)
204
205 * Prevent arbitrary file deletion on the host filesystem (CVE-2026-34079)
206
207 * Prevent arbitrary read-access to files in the system-helper context
208 (GHSA-2fxp-43j9-pwvc)
209
210 * Prevent orphaning cross-user pull operations (GHSA-89xm-3m96-w3jg)
211
212 Enhancements:
213
214 * Enable ntsync unconditionally (#6546)
215
216 * Automatic branch following for extensions to ensure that "no-autodownload"
217 extensions stay functional after an update that requires a new branch (#6550)
218
219 * Translation updates: eo (#6538), kk (#6553), sr (#6537), zh_CN (#6534)
220
221 Bug fixes:
222
223 * Prevent CPR sequence from showing up in the terminal (#6549)
224
225 * Fix a crash for apps/runtimes with multiarch permission (#6535)
226
227 * Fixes for Coverity warnings (#4932)
228
229 * Add test-preinstall.sh to the test matrix source (#6551)
230
231 * Fix a test message to refer to "systemd-localed" instead of "located" (#6536)
232
233 Changes in 1.17.3
234 ~~~~~~~~~~~~~~~~~~
235 Released: 2026-03-14
236
237 Enhancements:
238
239 * Improve check for --filesystem paths pointing to a parent folder (#6473)
240
241 * Fail if non-interactive and multiple refs, remotes or installations match
242 (#5754)
243
244 * Default to text auth on WSL (#6491)
245
246 * Add build instructions for Ubuntu 24.04 (#6498)
247
248 * Show a better message when there are no refs to update (#6521)
249
250 * Silence AppStream refresh output on non-interactive runs (#6521)
251
252 * Translation updates: pt_BR (#6483), sl (#6468, #6475), sv (#6514), tr (#6528),
253 zh_CN (#6469, #6477)
254
255 Bug fixes:
256
257 * Map the font-dirs.xml file more selectively (#6450)
258
259 * Change const pointers. This fixes build issues with glibc 2.43. (#6490)
260
261 * Add custom type flatpak_home_t for ~/.local/share/flatpak for SELinux (#6437)
262
263 * Fix build warnings when compiling with -Wanalyzer-null-argument and with
264 -Wanalyzer-null-dereference (#6527)
265
266 * Use raw string for regular expression in the flatpak-bisect script (#6519)
267
268 Internal changes:
269
270 * Set the `FLATPAK_TRIGGERSDIR` environment variable when running
271 installed tests. This fixes a regression with autopkg tests in
272 Debian. (#6444)
273
274 * Add translator comments for some translatable strings (#6462)
275
276 * Fix typos in translatable strings (#6463)
277
278 * Fix lots of typos in code comments (#6482)
279
280 * Remove an unused function (#6529)
281
282 * Update two strings (#6464)
283
284 Changes in 1.17.2
285 ~~~~~~~~~~~~~~~~~~
286 Released: 2025-12-15
287
288 This is a follow-up release for the 1.17.1 release, which was published
289 immutably without the dist artifacts due to a bug in the release workflow.
290
291 Changes in 1.17.1
292 ~~~~~~~~~~~~~~~~~~
293 Released: 2025-12-15
294
295 Enhancements:
296
297 * Drop libsoup2 support in favor of libcurl. The `http_backend` build option has
298 been dropped as well. (#6395)
299
300 * Support conditional permissions for shared subsystems and features. This
301 extends the conditional permission system that was introduced in 1.17.0 to
302 shares and features.
303
304 * Enable progress escape sequence by default (#6393)
305
306 * Allow passing device permissions to sub-sandbox created via the Flatpak portal
307 (#6123)
308
309 * Add the runtime repository to the OCI image metadata when building OCI bundles
310 (#6409)
311
312 * The CI now checks for translatable files and is now used to do releases
313 (#6408, #6407)
314
315 * OCI remotes can now be configured to check for a matching signature in a
316 standard OCI signature storage lookaside service, when installing apps and
317 runtimes. (#6426)
318
319 * Applications distributed as OCI images now support the extra-data mechanism
320 which should help with h.265 playback in Fedora Flatpaks (#6299)
321
322 * Add support for building OCI bundles with zstd compressed layers. This speeds
323 up compression by several times, resulting in about a 20% smaller result. gzip
324 is kept as the default for maximum compatibility. (#5540)
325
326 * Improve i18n of the command line progress reporting (#6397)
327
328 * Translation updates: tr (#6388), hr (#6387), sl (#6405), zh_CN (#6366, #6410)
329
330 Bug fixes:
331
332 * Fix an issue where the home directory would accidentally be accessible when
333 a bad version of glib is in use, the app has access to a standard XDG
334 directory, and that directory is not available on the system. (#6420)
335
336 * Fix incorrect CURLM_OK comparison in curl_easy_setopt checks (#6396)
337
338 * Error out when mandatory OCI JSON fields are missing (#6402)
339
340 * Fix various memory leaks (#6403, #6093)
341
342 Internal changes:
343
344 * Avoid triggering glib thumbnailing when enumerating `.portals` files
345 (#6427)
346
347 * Add a test case for pre-installing from a sideload repo and a non-reachable
348 network repo (#6423)
349
350 * Remove references to the defunct Open Collective (#6406)
351
352 * Improve various tests (#6406)
353
354 * Update note on seccomp filter code sharing (#6383)
355
356 Changes in 1.17.0
357 ~~~~~~~~~~~~~~~~~~
358 Released: 2025-11-03
359
360 Enhancements:
361
362 * Allow directories to be forwarded to the sandboxed app as command-line
363 arguments. This requires xdg-desktop-portal >= 1.7.0. (#6247)
364
365 * Allow Flatpak apps that are conceptually part of the operating system
366 to be preinstalled by dropping files into `preinstall.d` directories.
367 (#6116)
368
369 * Allow direct installation from an OCI image (#5972)
370
371 * Allow OCI remotes to have a collection ID, so they can be used with
372 flatpak preinstall (#6083)
373
374 * Show a message if `flatpak document-list` finds no documents, and if
375 `flatpak uninstall` finds nothing to uninstall (#6197)
376
377 * Support sideloading from OCI repositories and archives. This allows
378 installing apps from OCI images stored in local sideload repositories.
379 (#6294)
380
381 * Add support for flatpak+https:// URIs in `flatpak install --from`
382 (#6372)
383
384 * New `--clear-env` option for `flatpak run` to clear the environment
385 from the host before running the application (#6298)
386
387 * Support for conditional permissions. Permissions can now be conditioned
388 on system and runtime capabilities. This for example allows to replace
389 `--device=all` permissions with
390 `--device-if=all:!has-input-device --device=input`. (#6285)
391
392 * Add host-root export which exposes the host's root directory at
393 /run/host/root in the sandbox (#6314)
394
395 * Enable the VA-API extension for Intel Xe GPUs (#6311)
396
397 * JSON output support for various commands, making it easier to parse
398 flatpak command output programmatically (#6337)
399
400 * Add basic OS information to Flatpak-Os-Info header when pulling objects,
401 helping repository administrators understand their user base (#6346)
402
403 * `flatpak build` does not grant the host permissions by default, improving
404 build isolation and reproducibility (#6308)
405
406 * Support the reinstall option on bundle installations (#5546)
407
408 * Drop a workaround for AppStream CIDs with duplicate `.desktop` suffixes
409 (#6350)
410
411 * Add cancellation support for curl downloads (#6356)
412
413 * `build-finish` exports external AppStream release metainfo (#6133)
414
415 * The default D-Bus configuration moved from /etc to /usr (#6347)
416
417 * Documentation improvements (#6266, #6348, #6240, #6374)
418
419 * Translation updates: cs (#6306), nl (#6241), pl (#6290, #6288),
420 sl (#6279, #6377), ru (#6278), zh_CN (#6304, #6334, #6354, #6366)
421
422 Bug fixes:
423
424 * Provide an empty /run/host/font-dirs.xml during `flatpak build` (#6138)
425
426 * Various bug fixes for the OCI support (#6296)
427
428 * Improve clearing the environment in the flatpak portal to fix support for
429 FLATPAK_SPAWN_FLAGS_CLEAR_ENV with FLATPAK_SPAWN_FLAGS_NOTIFY_START (#6298)
430
431 * Fix various issues with `flatpak mask` and `flatpak pin` by reloading the
432 repo configuration after changes done via the system helper (#6073)
433
434 * Fix propagation of `resolv.conf` into the sandbox via the session-helper by
435 improving the file monitoring in case of broken symlinks (#6349)
436
437 * Preinstallation now works if the ref is not available in the first configured
438 remote (#6373)
439
440 * Flatpak now allows the usage of sudo for changing the user (#6371)
441
442 * `flatpak-kill` will no longer send SIGKILL to all processes in the current
443 process group (#6375)
444
445 * Authorization for parental controls no longer relies on racy PIDs (#6303)
446
447 * Fix various memory leaks (#6286, #6260)
448
449 * Fix various crashes (#6074, #6376)
450
451 Internal changes:
452
453 * Testing and CI improvements (#6284, #6302, #6291, #6295, #6067)
454
455 * Improvements to the formatting (#6331)
456
457 * Avoid using an uninitialised variable (#6345)
458
459 * Remove duplicate pointer clearing (#6361)
460
461 Changes in 1.16.1
462 ~~~~~~~~~~~~~~~~~~
463 Released: 2025-05-10
464
465 Enhancements:
466
467 * When using parental controls, allow a child account to update existing
468 apps by default, to ensure that security and bugfix updates can be
469 installed. This can be overridden by setting polkit policy rules for
470 the new `org.freedesktop.Flatpak.override-parental-controls-update`
471 action if necessary. (#5552)
472
473 * Make systemd scopes easier to match to Flatpak app instances,
474 by using the instance ID instead of the top-level process ID in the
475 scope name (#6015)
476
477 * Access to `--device=dri` now includes `/dev/udmabuf` (#6158)
478
479 * Improve the error message for an invalid parameter to
480 flatpak-spawn --sandbox-a11y-own-name (#6048)
481
482 * Speed up `flatpak prune --dry-run` by not calculating potential freed
483 space and avoiding operations that would need to hold a lock
484 (#5813, #6121)
485
486 * Speed up `flatpak permission-reset` by only writing entries that have
487 actually changed (#5772)
488
489 * Documentation improvements (#4859, #6066, #6134)
490
491 * Look for TLS certificates at /etc/containers/certs.d when interacting with
492 OCI registries (#5916)
493
494 * Translation updates: bg (#6120), ka (#6176), pl (#6106),
495 pt_BR (#6076, #6188), ro (#6139), ru (#6145), sl (#6054), sv (#6193),
496 tr (#6109)
497
498 Bug fixes:
499
500 * Fix intermittent flatpak-portal crashes by avoiding unnecessary
501 multi-threading (#5605)
502
503 * Don't show a confusing confirmation prompt when `flatpak remove --unused`
504 removes `autoprune-unless` extensions that are no longer needed, such as
505 older Nvidia drivers (#5712, #2718)
506
507 * Don't propagate `$PYTHONPYCACHEPREFIX` from host into sandbox (#6110)
508
509 * Don't propagate `$WAYLAND_DISPLAY`, `$WAYLAND_SOCKET` from host into
510 sandbox if access to the Wayland socket has been denied (#3948)
511
512 * When discovering the AT-SPI bus, treat `$AT_SPI_BUS_ADDRESS` as
513 higher-priority than GetAddress(), more closely matching the behaviour
514 of AT-SPI itself (#6173)
515
516 * Fix a memory leak when installing extra-data (#6069)
517
518 * Don't show fatal transaction errors twice (#3400)
519
520 * Fix the build with -Ddefault_library=static (#6119)
521
522 * Fix incorrect error reporting (#6127, #5170)
523
524 * When using `FLATPAK_TTY_PROGRESS`, terminate OSC escape sequence with
525 standard ST sequence instead of xterm-specific BEL (#6092)
526
527 * Include all options in shell completion for `flatpak search` (#6096)
528
529 Internal changes:
530
531 * Fix an unclear boolean expression (no functional change) (#5013)
532
533 * Avoid a duplicate redirection in the test suite (#6117)
534
535 * CI updates
536
537 Changes in 1.16.0
538 ~~~~~~~~~~~~~~~~~~
539 Released: 2025-01-09
540
541 Bug fixes:
542
543 * Update libglnx to 2024-12-06:
544 - Fix an assertion failure if creating a parent directory encounters a
545 dangling symlink (GNOME/libglnx#1)
546 - Fix a Meson warning
547
548 * Don't emit terminal progress indicator escape sequences by default. They are
549 interpreted as notifications by some terminal emulators. (#6052)
550
551 * Fix introspection annotations in libflatpak
552
553 Enhancements:
554
555 * Add the `FLATPAK_TTY_PROGRESS` environment variable, which re-enables the
556 terminal progress indicator escape sequences added in 1.15.91.
557
558 * Document the `FLATPAK_FANCY_OUTPUT` environment variable, which allows
559 disabling the fancy formatting when outputting to a terminal.
560
561 Changes in 1.15.91
562 ~~~~~~~~~~~~~~~~~~
563 Released: 2024-12-19
564
565 Enhancements:
566
567 * Add the `FLATPAK_DATA_DIR` environment variable, which allows overriding
568 at runtime the data directory location that Flatpak uses to search for
569 configuration files such as remotes. This is useful for running tests,
570 and for when installing using Flatpak in a chroot.
571
572 * Add a `FLATPAK_DOWNLOAD_TMPDIR` variable. This allows using download
573 directories other than /var/tmp.
574
575 * Emit progress escape sequence. This can be used by terminal emulators
576 to detect and display progress of Flatpak operations on their graphical
577 user interfaces.
578
579 Bug fixes:
580
581 * Install missing test data. This should fix "as-installed" tests via
582 `ginsttest-runner`, used for example in Debian's autopkgtest framework.
583
584 * Unify and improve how the Wayland socket is passed to the sandboxed app.
585 This should fix a regression that is triggered by compositors that both
586 implement the security-context-v1 protocol, and sets the `WAYLAND_DISPLAY`
587 environment variable when launching Flatpak apps. (#5863)
588
589 * Fix the plural form of a translatable string.
590
591 Changes in 1.15.12
592 ~~~~~~~~~~~~~~~~~~
593 Released: 2024-11-28
594
595 Bug fixes:
596
597 * Return to using the process ID of the Flatpak app in the cgroup name.
598 Using the instance ID in 1.15.11 caused crashes when installing apps,
599 extensions or runtimes that use the "extra data" mechanism, which
600 does not set up an instance ID. (#6009)
601
602 Changes in 1.15.11
603 ~~~~~~~~~~~~~~~~~~
604 Released: 2024-11-26
605
606 Dependencies:
607
608 * In distributions that compile Flatpak to use a separate bubblewrap
609 executable, version 0.11.0 is recommended (but not required).
610 The minimum bubblewrap continues to be 0.10.0.
611
612 * In distributions that compile Flatpak to use a separate xdg-dbus-proxy
613 executable, version 0.1.6 is recommended (but not required).
614 The minimum xdg-dbus-proxy continues to be 0.1.0.
615
616 Enhancements:
617
618 * Allow applications like WebKit to connect the AT-SPI accessibility tree
619 of processes in a sub-sandbox with the tree in the main process (#5898)
620
621 * New sandboxing parameter `flatpak run --a11y-own-name`, which is
622 like `--own-name` but for the accessibility bus
623
624 * flatpak-portal API v7: add new sandbox-a11y-own-names option, which
625 accepts names matching `${FLATPAK_ID}.*`
626
627 * Apps may call the `org.a11y.atspi.Socket.Embedded` method on names
628 matching `${FLATPAK_ID}.Sandboxed.*` by default
629
630 * `flatpak run -vv $app_id` shows all applicable sandboxing parameters
631 and their source, including overrides, as debug messages (#5895)
632
633 * Add --device=usb, a subset of --device=all
634
635 * Introduce USB device listing
636
637 * Apps can list which USB devices they want to access ahead of time by
638 using the `--usb` parameter. Check the manpages for the more information
639 about the accepted syntax.
640
641 * Denying access to USB devices is also possible with the `--no-usb`
642 parameter. The syntax is equal to `--usb`.
643
644 * Both options merely store metadata, and aren't used by Flatpak itself.
645 This metadata is intended to be used by the (as of now, still in
646 progress) USB portal to decide which devices the app can enumerate and
647 request access.
648
649 * Add support for KDE search completion
650
651 * Use the instance id of the Flatpak app as part of the cgroup name. This
652 better matches the naming conventions for cgroup.
653
654 * Preconfigured repositories can now be set up by OS vendors using
655 `${datadir}/flatpak/remotes.d` (typically /usr/share/flatpak/remotes.d),
656 in addition to `${sysconfdir}/flatpak/remotes.d` (typically
657 /etc/flatpak/remotes.d) which is intended for local sysadmin use
658
659 Bug fixes:
660
661 * Update libglnx to 2024-08-23 (#5918)
662
663 * fix build in environments that use -Werror=return-type, such as
664 openSUSE Tumbleweed (#5778)
665
666 * add a fallback definition for G_PID_FORMAT with older GLib
667
668 * avoid warnings for g_steal_fd() with newer GLib
669
670 * improve compatibility of g_closefrom() backport with newer GLib
671
672 * Update meson wrap file for bubblewrap to version 0.11.0:
673
674 * drop Autotools build system
675
676 * improve handling of EINTR
677
678 * improve handling of socket control messages
679
680 * improve compatibility with busybox
681
682 * improve compatibility with older Meson
683
684 * fix deprecation warnings
685
686 * Update meson wrap file for xdg-dbus-proxy to version 0.1.6:
687
688 * compatibility with D-Bus implementations that pipeline the
689 authentication handshake, such as sd-bus and zbus
690
691 * compatibility with D-Bus implementations that use non-consecutive
692 serial numbers, such as godbus and zbus
693
694 * broadcast signals can be allowed without having to add TALK permission
695 (#5828)
696
697 * fix memory leaks
698
699 * Fix some memory leaks
700
701 * Translation updates: cs, pl, zh_CN
702
703 Internal changes:
704
705 * Better const-correctness (#5913)
706 * Fix a shellcheck warning in the tests (#5914)
707
708 Changes in 1.15.10
709 ~~~~~~~~~~~~~~~~~~
710 Released: 2024-08-14
711
712 Dependencies:
713
714 * In distributions that compile Flatpak to use a separate bubblewrap (bwrap)
715 executable, version 0.10.0 is required.
716 This version adds a new feature which is required by the security fix
717 in this release.
718
719 Security fixes:
720
721 * Don't follow symbolic links when mounting persistent directories
722 (--persist option). This prevents a sandbox escape where a malicious or
723 compromised app could edit the symlink to point to a directory that
724 the app should not have been allowed to read or write.
725 (CVE-2024-42472, GHSA-7hgv-f2j8-xw87)
726
727 Documentation:
728
729 * Mark the 1.12.x and 1.10.x branches as end-of-life (#5352)
730
731 Other bug fixes:
732
733 * Fix several memory leaks (#5883, #5884)
734
735 Internal changes:
736
737 * Record a log file when running build-time tests with
738 AddressSanitizer (#5884)
739
740 * Add initial suppressions file for AddressSanitizer (#5884)
741
742 Changes in 1.15.9
743 ~~~~~~~~~~~~~~~~~
744 Released: 2024-07-22
745
746 Dependencies:
747
748 * bubblewrap and xdg-dbus-proxy are now provided by Meson wrap files
749 instead of being directly vendored via `git submodule`.
750 If downloading external software during build is not allowed in your
751 environment, please install suitable versions of bubblewrap and
752 xdg-dbus-proxy separately, then configure Flatpak with options similar to
753 `-Dsystem_bubblewrap=bwrap -Dsystem_dbus_proxy=xdg-dbus-proxy`
754 (most major distributions package it like this already).
755
756 Enhancements:
757
758 * If xdg-dbus-proxy is new enough (0.1.6 or later, not yet released),
759 allow two broadcast signals from AT-SPI by default, allowing bus
760 traffic to be reduced. If xdg-dbus-proxy is older, this change will
761 have no practical effect but is harmless. (#5828)
762
763 * Install csh profile snippet (#5753)
764
765 Bug fixes:
766
767 * Expand the list of environment variables that Flatpak apps do not
768 inherit from the host system (#5765, #5785)
769
770 * Take time zone information from $TZDIR if set (#5850)
771
772 * Fix a memory leak since 1.15.7 when reloading D-Bus configuration (#5856)
773
774 * Fix a memory leak when running `flatpak permissions` (#5844)
775
776 * Fix memory leaks in `flatpak update` (#5816)
777
778 * Fix memory leaks when installing packages (#5811)
779
780 * Use more similar translatable strings for some error messages (#5748)
781
782 * Document `flatpak config --set languages '*all*'` correctly:
783 it is really `*all*` (or equivalently `*`), not just `all` (#5836)
784
785 * Fix a misleading comment in the test for CVE-2024-32462 (#5779)
786
787 * Fix a copy/paste error in the 1.15.7 release notes
788
789 * On systems where subdirectories of /sys have been made inaccessible,
790 continue without them (#5138)
791
792 * Make tests more compatible with non-GNU shell utilities (#5812)
793
794 * Translation updates: ka (#5873), hi (#5838), pt_BR (#5877), zh_CN (#5843)
795
796 Internal changes:
797
798 * libglnx and variant-schema-compiler are now managed as `git subtree`
799 instead of `git submodule`.
800 Maintainers and contributors, please see `subprojects/README.md` for
801 details of how to interact with these.
802 In particular this means that submodules no longer need to be set up
803 before working on a git clone. (#5800, #5845)
804
805 * Split library code into more, smaller translation units, reducing
806 internal circular dependencies (#5409, #5801, #5803)
807
808 * Add some convenience macros in the test suite (#5693)
809
810 * Minor internal robustness improvement (#5833)
811
812 * Add configuration for Github Codespaces (#5767)
813
814 * Improve CI configuration (#5791)
815
816 * Work around infrastructure issues in third-party apt repositories
817 used by default in Github Workflows (#5786)
818
819 Changes in 1.15.8
820 ~~~~~~~~~~~~~~~~~
821 Released: 2024-04-18
822
823 Security fixes:
824
825 * Don't allow an executable name to be misinterpreted as a command-line
826 option for bwrap(1). This prevents a sandbox escape where a malicious
827 or compromised app could ask xdg-desktop-portal to generate a .desktop
828 file with access to files outside the sandbox. (CVE-2024-32462)
829
830 Other bug fixes:
831
832 * Pass the -export-dynamic linker option as -Wl,-export-dynamic,
833 fixing build failures with clang 18 and lld 18 (#5760)
834
835 * Fix a double-free when installation is cancelled (#5763)
836
837 * Fix installed-tests failure with "FUSERMOUNT: unbound variable"
838 (#5751)
839
840 * Translation updates: pt_BR (#5762), tr (#5761)
841
842 Changes in 1.15.7
843 ~~~~~~~~~~~~~~~~~
844 Released: 2024-03-27
845
846 Dependencies:
847
848 * The Meson build system is now required.
849 Compiling with Autotools is no longer possible.
850
851 * In distributions that compile Flatpak to use a separate bubblewrap (bwrap)
852 executable, version 0.9.0 is recommended. Several of the bug fixes listed
853 below will not be active if an older version is used.
854
855 * In distributions that compile Flatpak to use a separate xdg-dbus-proxy
856 executable, version 0.1.5 is recommended.
857
858 * If libmalcontent (parental controls) is enabled, it must be version 0.5.0
859 or later.
860
861 New features:
862
863 * Automatically remove obsolete driver versions and other autopruned refs
864 (#5632)
865
866 * `--socket=inherit-wayland-socket` (#5614)
867
868 * Automatically reload D-Bus session bus configuration after installing
869 or upgrading apps, to pick up any exported D-Bus services (#3342)
870
871 Bug fixes:
872
873 * Update included copy of bubblewrap to version 0.9.0:
874
875 * `--symlink` is now idempotent, meaning it succeeds if the
876 symlink already exists and already has the desired target
877 (#2387, #3477, #5255)
878 * Report a better error message if `mount(2)` fails with `ENOSPC`
879 * Fix a double-close on error reading from `--args`, `--seccomp` or
880 `--add-seccomp-fd` argument
881 * Improve memory allocation behaviour
882 * Silence various compiler warnings
883
884 * Update included copy of xdg-dbus-proxy to version 0.1.5:
885
886 * Fix handling of long object paths
887
888 * Don't parse `<developer><name/></developer>` as the application name
889 (#5700)
890
891 * Don't refuse to start apps when there is no D-Bus system bus available
892 (#5076)
893
894 * Don't try to repeat migration of apps whose data was migrated to a new
895 name and then deleted (#5668)
896
897 * Improve handling of mixed locales on systems with systemd-localed (#5497)
898
899 * Improve display of ellipsized columns in wide terminals (#5722)
900
901 * Make `flatpak info -e` look for extensions in all installations (#5670)
902
903 * Fix warnings from newer GLib versions (#5660, #5737)
904
905 * Always set the `container` environment variable (#5610)
906
907 * Always let the app inherit redirected file descriptors (#5626)
908
909 * In `flatpak ps`, add xdg-desktop-portal-gnome to the list of backends
910 we'll use to learn which apps are running in the background (#5729)
911
912 * Don't use `WAYLAND_SOCKET` unless given `--socket=inherit-wayland-socket`
913 (#5614)
914
915 * Use `fusermount3` if compiled with FUSE 3, overridable with
916 `-Dsystem_fusermount` compile-time option (#5104)
917
918 * Avoid leaking a temporary variable from /etc/profile.d/flatpak.sh into
919 the shell environment (#5574)
920
921 * Improve async-signal safety (#5687)
922
923 * Fix various memory leaks (#5683, #5690, #5691)
924
925 * Avoid undefined behaviour of signed left-shift when storing object IDs
926 in a hash table (#5738)
927
928 * Detect the correct gtk-doc when cross-compiling (#5650)
929
930 * Detect the correct wayland-scanner when cross-compiling (#5596)
931
932 * Documentation improvements (#5659, #5677, #5682, #5664, #5719)
933
934 * Skip more tests when FUSE isn't available (#5611)
935
936 * Translation updates (#5602, #5707)
937
938 Changes in 1.15.6
939 ~~~~~~~~~~~~~~~~~
940 Released: 2023-11-14
941
942 Dependencies:
943
944 * In distributions that compile Flatpak to use a separate bubblewrap (bwrap)
945 executable, version 0.8.0 is now required.
946
947 * Enabling the optional Wayland security context feature requires
948 libwayland-client, wayland-scanner >= 1.15 and wayland-protocols >= 1.32.
949
950 * Ubuntu 18.04 is no longer routinely tested. Support for dependency
951 versions included in Ubuntu 18.04 should be considered "at risk".
952
953 Features:
954
955 * Add --device=input, for access to evdev devices in /dev/input (#5481)
956
957 * Update bundled copy of bubblewrap to version 0.8.0, and rely on its
958 features:
959 * Improve error message if seccomp is disabled in kernel config
960 * Security hardening: set user namespace limit to 0, to prevent creation
961 of nested user namespaces in a more robust way (#5084)
962
963 * For subsandboxes started by flatpak-portal, inherit environment
964 variables from the `flatpak run` that started the original instance
965 rather than from flatpak-portal, fixing behaviour of FLATPAK_GL_DRIVERS
966 and similar features (#5278)
967
968 * Stop http transfers if a download in progress becomes very slow (#5519)
969
970 * Make it easier to configure extra languages, by picking them up from
971 AccountsService if configured there (#5006)
972
973 * Add new flatpak_transaction_add_rebase_and_uninstall() API,
974 allowing end-of-life apps to be replaced by their intended replacement
975 more reliably (#3991)
976
977 * Create a private Wayland socket with the "security context" extension
978 if available, allowing the compositor to identify connections from
979 sandboxed apps as belonging to the sandbox (#4920, #5507, #5558)
980
981 * Update libglnx to 2023-08-29
982 * Use features of newer GLib versions if available
983 * Turn off system-level crash reporting infrastructure during
984 some unit tests that involve intentional assertion failures
985
986 * Add anchors to link to sections of flatpak-metadata documentation (#5582)
987
988 * New translations: ka, nl.
989
990 Bug fixes:
991
992 * Avoid warnings processing symbolic links with GLib >= 2.77.0, and
993 with GLib 2.76.0 (GLib 2.76.1 or later silences these warnings)
994
995 * Bypass page cache for backend requests in revokefs, fixing installation
996 errors with libostree 2023.4 (#5452)
997
998 * Show AppStream metadata in `flatpak remote-info` as intended
999 (#5523; regression in 1.9.1)
1000
1001 * Don't let Flatpak apps inherit VK_DRIVER_FILES or VK_ICD_FILENAMES
1002 from the host system, which would be wrong for the sandbox (#5553)
1003
1004 * Fix build failure with prereleases of libappstream 0.17.x (#5472)
1005
1006 * Forward-compatibility with libappstream 1.0 (#5563)
1007
1008 * Fix installation with Meson if configured with -Dauto_sideloading=true
1009 (#5495)
1010
1011 * Fix a memory leak (#5329)
1012
1013 * Fix compiler warnings (#5362, #5366)
1014
1015 * Make the tests fail more comprehensibly if a required tool is missing
1016 (#5020)
1017
1018 * Clean up `/var/tmp/flatpak-cache-*` directories on boot (#1119)
1019
1020 * Don't force `GIO_USE_VFS=local` for programs launched via flatpak-spawn
1021 (#5567)
1022
1023 * Clarify documentation for D-Bus name ownership (#5582)
1024
1025 * Translation updates: id, tr, zh_CN
1026 (#5332, #5565)
1027
1028 Internal changes:
1029
1030 * Split up large source files into smaller modules, reducing internal
1031 circular dependencies (#5410, #5411, #5415, #5419, #5416, #5414)
1032
1033 * Re-synchronize code backported from GLib with the version in GLib
1034 (#5410)
1035
1036 * Make the flags used to apply "extra data" clearer (#5466)
1037
1038 * Use glnx_opendirat() where possible (#5527)
1039
1040 * CI improvements (#5374, #5381)
1041
1042 Changes in 1.15.4
1043 ~~~~~~~~~~~~~~~~~
1044 Released: 2023-03-16
1045
1046 Security fixes:
1047
1048 * Escape special characters when displaying permissions and metadata,
1049 preventing malicious apps from manipulating the appearance of the
1050 permissions list using crafted metadata (CVE-2023-28101).
1051
1052 * If a Flatpak app is run on a Linux virtual console (tty1, tty2, etc.),
1053 don't allow copy/paste via the TIOCLINUX ioctl (CVE-2023-28100).
1054 Note that this is specific to virtual consoles: Flatpak is not
1055 vulnerable to this if run from a graphical terminal emulator such as
1056 xterm, gnome-terminal or Konsole.
1057
1058 Other bug fixes:
1059
1060 * Document the path used for `flatpak override`
1061 * Translation updates: oc, pl, ru, sv, tr
1062
1063 Changes in 1.15.3
1064 ~~~~~~~~~~~~~~~~~
1065 Released: 2023-02-21
1066
1067 Build system:
1068
1069 * Building this version of Flatpak with Meson is recommended. The source
1070 release flatpak-1.15.3.tar.xz no longer contains Autotools-generated
1071 files, although this version can still be built using Autotools after
1072 running `./autogen.sh`. Future versions are likely to remove the
1073 Autotools build system.
1074
1075 Bug fixes:
1076
1077 * When splitting an upgrade into two steps (download without installing, and
1078 then upgrade without allowing further downloads) like GNOME Software does,
1079 if an app is marked EOL and superseded by a replacement, don't remove the
1080 superseded app in the first step, which would result in the replacement
1081 incorrectly not being installed (#5172)
1082 * Fix a crash when --socket=gpg-agent is used (#5095)
1083 * Fix a crash when listing apps if one of them is broken or misconfigured
1084 (#5293)
1085 * If an app has invalid syntax in its overrides or metadata, mention the
1086 filename in the error message (#5293)
1087 * Unset $GDK_BACKEND for apps, ensuring GTK apps with --socket=fallback-x11
1088 can work (#5303)
1089 * Fix a deprecation warning when compiled with curl >= 7.85 (#5284)
1090 * Translation updates: es, ru (#5266, #5312, #5313)
1091
1092 Internal changes:
1093
1094 * Better diagnostic messages for why runtimes are or are not considered
1095 unused (#5237)
1096
1097 Changes in 1.15.2
1098 ~~~~~~~~~~~~~~~~~
1099 Released: 2023-02-06
1100
1101 Bug fixes:
1102
1103 * Never try to export a parent of reserved directories as a --filesystem,
1104 for example /run, which would prevent the app from starting (#5205, #5207)
1105 * Never try to export a --filesystem below /run/flatpak or /run/host,
1106 which could similarly prevent the app from starting
1107 * The above change also fixes apps not starting if a --filesystem is a
1108 symlink to the root directory (#1357)
1109 * Show a warning when the --filesystem exists but cannot be shared with
1110 the sandbox (#1357, #5035, #5205, #5207)
1111 * Display the intended messages for `flatpak repair` (#5204)
1112 * Exporting an app to an existing repository on a CIFS filesystem
1113 now works as intended (#5257)
1114 * Unset $GIO_EXTRA_MODULES for apps, avoiding misbehaviour in some GLib
1115 apps when set to a path on the host (#5206)
1116 * Unset $XKB_CONFIG_ROOT for apps, avoiding crashes in GTK and Qt apps
1117 under Wayland when this variable is set to a path not available in the
1118 sandbox (#5194)
1119 * When using the fish shell, avoid duplicate XDG_DATA_DIRS entries if the
1120 profile script is sourced more than once (#5198)
1121 * Update included copy of bubblewrap to 0.7.0 for better error messages
1122 * Install SELinux files correctly when building with Meson
1123 * Translation updates: ru, tr (#5256, #5262)
1124
1125 Internal changes:
1126
1127 * Update included copy of libglnx
1128 * flatpak -v now uses the INFO log level, and flatpak -vv uses the
1129 DEBUG log level in the flatpak log domain. Previously, the extra
1130 messages that were logged by flatpak -vv were in a separate "flatpak2"
1131 log domain. G_MESSAGES_DEBUG=flatpak previously had an effect similar to
1132 flatpak -v, and is now more similar to flatpak -vv. (#5001)
1133
1134 Changes in 1.15.1
1135 ~~~~~~~~~~~~~~~~~
1136 Released: 2022-11-17
1137
1138 Dependencies:
1139
1140 * When building with Meson, gpgme 1.8.0 is now required.
1141 Older versions can still be used by building with Autotools.
1142
1143 Features:
1144
1145 * If an old temporary deploy directory was leaked by versions before #5146,
1146 clean it up the next time the same app is updated (#5164)
1147
1148 Bug fixes:
1149
1150 * If an app update is blocked by parental controls policies, clean up the
1151 temporary deploy directory (#5146)
1152 * Fix Autotools build with versions of gpgme that no longer provide
1153 gpgme-config(1) (#5173)
1154 * Fix a possible parallel build failure with Meson (#5165)
1155 * Fix a compiler warning on 32-bit architectures (#5148)
1156 * When building with Autotools, be more consistent about applying compiler
1157 warning flags (#5149)
1158 * Unset $TEMP, $TEMPDIR and $TMP for apps, the same as $TMPDIR (#5168)
1159 * Treat /efi the same as /boot/efi (#5155)
1160
1161 Changes in 1.15.0
1162 ~~~~~~~~~~~~~~~~~
1163 Released: 2022-10-24
1164
1165 Build system:
1166
1167 * Flatpak can now be compiled using Meson instead of Autotools.
1168 This requires Meson 0.53.0 or later, and Python 3.5 or later.
1169 The Autotools build system is likely to be removed during either the
1170 1.15.x or 1.17.x cycle. (#4845)
1171
1172 New features:
1173
1174 * Allow the `modify_ldt` system call as part of `--allow=multiarch`.
1175 This increases attack surface, but is required when running 16-bit
1176 executables in some versions of Wine. (#4297)
1177 * Share gssproxy socket, which acts like a portal for Kerberos authentication.
1178 This lets apps use Kerberos authentication without needing a sandbox hole.
1179 (#4914)
1180 * Add a httpbackend variable to flatpak.pc, allowing dependent projects
1181 like GNOME Software to detect whether they are compatible with libflatpak
1182 (#5054)
1183
1184 Bug fixes:
1185
1186 * Terminate the flatpak-session-helper and flatpak-portal services when the
1187 session ends, so that applications will not inherit outdated Wayland
1188 and X11 socket addresses (#5068)
1189 * When using `fish` shell, don't overwrite a previously-set XDG_DATA_DIRS
1190 (#5123)
1191 * Don't try to enable HTTP 2 if linked to a libcurl version that doesn't
1192 support it (#5074)
1193 * Stop systemd reporting the session-helper as failed when terminated by
1194 a signal (#5129)
1195 * Fix a warning when listing a document with no permissions (#5055)
1196 * Fix compilation with GLib 2.66.x (as used in Debian 11) (#5062)
1197 * Fix compilation with GLib 2.58.x (as used in Debian 10) (#5066)
1198 * Make generated files more reproducible (#5085)
1199 * Translation updates: cs, id, pl, pt_BR (#5052, #5056, #5059, #5126)
1200
1201 Internal changes:
1202
1203 * Update project logo in README (#5119)
1204 * Update libglnx subproject (#5140)
1205
1206 Changes in 1.14.0
1207 ~~~~~~~~~~~~~~~~~
1208 Released: 2022-08-22
1209
1210 Known issues:
1211 * There may be an issue where non-primary architecture builds don't show up
1212 (https://github.com/flatpak/flatpak/issues/5045)
1213 * There is a new security advisory on Flatpak but all supported versions are
1214 not affected due to using new enough versions of libostree
1215 (https://github.com/flatpak/flatpak/security/advisories/GHSA-45jq-5658-v38x)
1216
1217 Dependencies:
1218
1219 * Conditional on a build time option, revokefs will now use version 3 of the
1220 FUSE API rather than version 2 (#4326)
1221 * Libappstream should be updated to at least 0.15.3 to avoid critical warning
1222 messages when using the "flatpak search" command
1223 (https://github.com/ximion/appstream/issues/384)
1224
1225 New features:
1226
1227 * A new key "DeploySideloadCollectionID" is now supported in flatpakref and
1228 flatpakrepo files, to allow setting a collection ID at the time a remote is
1229 added from one of those files, rather than when metadata is pulled from the
1230 remote, and without affecting versions of Flatpak with the older pre-sideload
1231 P2P implementation (#4826)
1232 * Allow sub-sandboxes to own MPRIS names on the session bus (#5023)
1233 * Commands that accept "--user" will now also take "-u" as an alias for that
1234 (#5014)
1235 * The CLI now properly informs the user of which apps are (indirectly) using
1236 end-of-life runtime extensions in end-of-life info messages (#4835)
1237 * The CLI now takes into account operations in the pending transaction when
1238 printing end-of-life messages (#4835)
1239 * The uninstall command now asks for confirmation before removing in-use
1240 runtimes or runtime extensions (#4835)
1241 * A "--socket=gpg-agent" option is now recognized by "flatpak run" and related
1242 commands (#4958)
1243
1244 Bug fixes:
1245
1246 * Fix a memory corruption issue caused by use of libcurl in an unsafe way
1247 (#5046)
1248 * Update selinux policy to cover symbolic links in /var/lib/flatpak (#4992)
1249 * Fix a crash in case a .desktop file processed by the build-export command has
1250 no Exec= key, and some related fixes for handling such .desktop files (#4817)
1251 * Preserve the X11 display number rather than redirecting it to :99 (#5034)
1252
1253 Other changes:
1254
1255 * Various improvements to the unit tests, CI infra, and documentation
1256 * Some changes were made to ensure translators can work on full sentences
1257 rather than fragments in several places
1258 * Translation updates: de, ru, sv, tr, uk, zh_CN
1259
1260 Changes in 1.13.3
1261 ~~~~~~~~~~~~~~~~~
1262 Released: 2022-06-16
1263
1264 Dependencies:
1265
1266 * Support curl 7.29 or later as an additional, and the default, HTTP backend
1267 alongwith libsoup 2.x (#4943)
1268 * Clarify that glib 2.46 or later is now required (#4944)
1269
1270 New features:
1271
1272 * Implement support for rewriting dynamic launchers when an app is renamed
1273 (#4703)
1274 * Add --include-sdk/debug options to install command to install SDK/debuginfo
1275 along with a ref (#4777)
1276 * Improve --sideload-repo option to take create-usb dirs (#4843)
1277 * Add a new library API flatpak_transaction_get_operation_for_ref() (#4947)
1278
1279 Bug fixes:
1280
1281 * Update the SELinux module to explicitly permit the system helper have read
1282 access to /etc/passwd and systemd-userdbd, read and lock access to
1283 /var/lib/flatpak, and watch files inside $libexecdir (#4852, #4855, #4892)
1284 * Fix the error messages and the exit code of the 'uninstall' command when
1285 non-existent refs are specified (#4857)
1286 * Be more careful with errors when creating directories and deleting files,
1287 and address some memory errors (#4930)
1288 * Fix support for --noninteractive in the 'uninstall' command (#4947)
1289
1290 Other changes:
1291
1292 * Cosmetic improvements to end-of-life messages and other aspects of the CLI
1293 output (#4947)
1294 * Speed up the tests by not installing the polkit agent (#4942)
1295 * Disable fuzzy ref matching when ID has a period or a slash, or when the
1296 standard input or output is not a TTY (#4829, #4848)
1297 * Update the icon-validator to print the format and size for consumption by
1298 the dynamic launcher portal (#4803, #4808)
1299 * Remove a pointless test (#4856)
1300 * Improve various details of the GitHub workflows (#4870)
1301 * Prepare for the addition of a Meson build (#4842, #4871, #4888, #4889, #4890)
1302 * Only add the specified 'summary-arches' to the compat summary. This is
1303 important since we're nearing the 10MB size limit for Flathub's legacy
1304 summary files. (#4880)
1305 * Translation updates: id, pt, sv, tr, uk
1306
1307 Changes in 1.13.2
1308 ~~~~~~~~~~~~~~~~~
1309 Released: 2022-03-14
1310
1311 Bug fixes:
1312
1313 * Consistently pass relative subpaths to libostree, working around a bug
1314 in libostree < 2021.6 when used with GLib >= 2.71 (#4805)
1315 * Document have-kernel-module-* as having been added in 1.13.1
1316 * Fix some memory leaks in GVariant data processing
1317
1318 Changes in 1.13.1
1319 ~~~~~~~~~~~~~~~~~
1320 Released: 2022-03-01
1321
1322 Dependencies:
1323
1324 * libappstream 0.12.0 or later is now required
1325 * appstream-glib is no longer required
1326 * In distributions that compile Flatpak to use a separate bubblewrap (bwrap)
1327 executable, version 0.5.0 is now required
1328
1329 New features:
1330
1331 * Create a directory for XDG_STATE_HOME and set the environment variable
1332 (#4477)
1333 - Apps requiring a state directory without a dependency on this updated
1334 Flatpak version can get similar functionality by using:
1335 --persist=.local/state --unset-env=XDG_STATE_HOME
1336 which will use the same storage location
1337 * Set HOST_XDG_STATE_HOME environment variable (#4477)
1338 * Add have-kernel-module-foo family of conditionals for extensions, a
1339 generalization of have-intel-gpu (which is now mostly equivalent to
1340 have-kernel-module-i915) (#4647)
1341 * Add `flatpak document-unexport --doc-id=...` (#1897)
1342 * Export Appstream metadata for host system to use (#4350, #4599)
1343 * Add command-line completion for the Fish shell (#3109)
1344 * Add FlatpakTransaction:no-interaction API (#4699)
1345 * We now allow networked access to X11 and PulseAudio services
1346 if that is configured, and the application has network access.
1347 (#397, #3908, #4702)
1348 * `flatpak build-init` automatically sets the build directory to be
1349 ignored by git (#4741)
1350
1351 Other changes:
1352
1353 * Updated bundled xdg-dbus-proxy to 0.1.3 (#4737)
1354 * Updated bundled bubblewrap to 0.6.1 (#4779)
1355 * The default branch in the Github repository is now named 'main'
1356 * Don't offer options in CLI tab completion unless the user typed a '-'
1357 (#4753)
1358 * Disable fancy output (e.g. progress bars that get redrawn) when
1359 G_MESSAGES_DEBUG is set in the environment (#4767)
1360 * Most commands now work if /var/lib/flatpak exists but /var/lib/flatpak/repo
1361 does not, and will automatically populate the repo directory if
1362 possible (#4111)
1363 * Disable session bus access for `flatpak-spawn --sandbox` as intended
1364 (#4630)
1365 * Make `sudo flatpak --user ...` fail with an error message, since acting
1366 on root's per-user installation is unlikely to be what was intended
1367 (#4638)
1368 * Don't mention "negative" permissions like !host in /.flatpak-info (#4691)
1369 * Improve performance when finding related refs
1370 * Use SHA256 instead of SHA1 to avoid false-positives from static analysis
1371 (in fact the use of SHA1 was not security-sensitive here) (#4716)
1372 * Create sandbox's XDG_RUNTIME_DIR with 0700 permissions (#3397)
1373 * Always create /.flatpak-info with 0600 permissions
1374 * Absolute paths in WAYLAND_DISPLAY now work (#4752)
1375 * Improve reliability of detecting the current GTK theme (#4754)
1376 * Fix some error code paths when deploying malformed apps
1377 * Improve some error messages
1378 * Use URN for fontconfig DTD, consistent with fontconfig itself (#4617)
1379 * Use `type -P` or `command -v` in preference to which(1) (#4696)
1380 * Improve measurement of test coverage (#4681)
1381 * Translation updates: de, fr, hi, hr, id, oc, pl, pt_BR, sv, uk, zh_CN
1382
1383 Changes in 1.12.6
1384 ~~~~~~~~~~~~~~~~~
1385 Released: 2022-02-21
1386
1387 * Fix a bug that sometimes caused repo corruption in case downloads are
1388 interrupted or canceled, necessitating a "flatpak repair" to recover
1389 (#3479, #4258)
1390 * More reliably detect the GTK theme (#4754)
1391 * Fix history command unit test in some edge cases (#4764)
1392 * Improve NEWS for 1.12.5
1393 * Translation update: pt_BR
1394
1395 Changes in 1.12.5
1396 ~~~~~~~~~~~~~~~~~
1397 Released: 2022-02-11
1398
1399 * Fixed a case where temporary data was sometimes left in
1400 /var/lib/flatpak/appstream, and we now detect such leftover data and
1401 remove it. (#4735)
1402 * Fix regressions in `flatpak history` since 1.9.1 (#4121, #4332)
1403 - Don't display the appstream branch used internally
1404 - Don't display temporary repositories used internally
1405 - Warn instead of failing if other non-app, non-runtime refs are found
1406 - Don't set up an unnecessary polkit agent for `flatpak history`
1407 - Add test coverage
1408 * Don't propagate GStreamer-related environment variables into
1409 sandbox (#4728)
1410 * Fix a typo in an error message
1411 * Fix incorrect year in NEWS for 1.12.4 release
1412 * Translation update: pl
1413
1414 Changes in 1.12.4
1415 ~~~~~~~~~~~~~~~~~
1416 Released: 2022-01-18
1417
1418 This is a regression fix update, reverting non-backwards-compatible
1419 behaviour changes in the solution previously chosen for CVE-2022-21682.
1420
1421 Flatpak 1.12.3 and 1.10.6 changed the behaviour of `--nofilesystem=host`
1422 and `--nofilesystem=home` in a way that was not backwards-compatible in
1423 all cases. For example, some Flatpak users previously used a global
1424 `flatpak override --nofilesystem=home` or
1425 `flatpak override --nofilesystem=host`, but expected that individual apps
1426 would still be able to have finer-grained filesystem access granted by the
1427 app manifest, such as Zoom's `--filesystem=~/Documents/Zoom:create`. With
1428 the changes in 1.12.3, this no longer had the intended result, because
1429 `--nofilesystem=home` was special-cased to disallow inheriting the
1430 finer-grained `--filesystem`.
1431
1432 Flatpak 1.12.4 and 1.10.7 return to the previous behaviour of
1433 `--nofilesystem=host` and `--nofilesystem=home`. Instead, CVE-2022-21682
1434 will be resolved by a new 1.2.2 release of flatpak-builder, which will
1435 use a new option `--nofilesystem=host:reset` introduced in Flatpak 1.12.4
1436 and 1.10.7. In addition to behaving like `--nofilesystem=host`, the new
1437 option prevents filesystem permissions from being inherited from the
1438 app manifest.
1439
1440 Other changes:
1441
1442 * Clarify documentation of `--nofilesystem`
1443 * Improve unit test coverage around `--filesystem` and `--nofilesystem`
1444 * Restore compatibility with older appstream-glib versions, fixing a
1445 regression in 1.12.3
1446
1447 Changes in 1.12.3
1448 ~~~~~~~~~~~~~~~~~
1449 Released: 2022-01-12
1450
1451 This is a security update that fixes two issues that were found in flatpak:
1452
1453 https://github.com/flatpak/flatpak/security/advisories/GHSA-qpjc-vq3c-572j
1454 (also known as CVE-2021-43860)
1455
1456 This issue is about the possibility for a malicious repository to send
1457 invalid application metadata in a way that hides some of the app
1458 permissions displayed during installation.
1459
1460 https://github.com/flatpak/flatpak/security/advisories/GHSA-8ch7-5j3h-g4fx
1461 (also known as CVE-2022-21682)
1462
1463 This issue is a problem with how flatpak-builder uses flatpak, that
1464 can cause `flatpak-builder --mirror-screenshots-url` commands to be
1465 allowed to create directories outside of the build directory.
1466
1467 The fix for this is done in flatpak by making the --nofilesystem=host
1468 and --nofilesystem=home more powerful. They previously only removed
1469 access to the particular location, i.e. `--nofilesystem=host` negated
1470 `--filesystem=host`, but not `--filesytem=/some/dir`. This is a minor
1471 change in behavior, as it may change the behavior of an override
1472 with these specific options, however it is likely that the new
1473 behavior was the expected one.
1474
1475 Other changes:
1476
1477 * Extra-data downloading now properly handles compressed content-encodings
1478 which fixes checksum verification (see #4415)
1479 Note: In some corner case server setups this may require the extra-data
1480 checksum to be changed
1481 * Avoid unnecessary policy-kit dialog due to auto-pinning when installing runtimes
1482 * Better handling of updates of extensions that exist in multiple repositories
1483 * Fixed (initial) installation apps with renamed ids
1484 * Support more pulseaudio configuration, including the one used in WSL2
1485 * Fixed regression in updates from no-enumerate remotes
1486 * We now verify checksums of summary caches, to better handle local file
1487 corruption
1488 * Improved cli output for non-terminal targets
1489 * Flatpak run --session-bus now works
1490 * Fix build with PyParsing >= 3.0.4
1491 * Fixed "Since" annotations on FlatpakTransaction signals
1492 * bash auto completion now doesn't complete on command name aliases
1493 * Minor improvements to the search command
1494 * Minor improvements to the list command
1495 * Minor improvements to the repair command
1496 * Add more tests
1497 * Updated translations and docs
1498
1499 Changes in 1.12.2
1500 ~~~~~~~~~~~~~~~~~
1501 Released: 2021-10-12
1502
1503 * Install translations referenced by LANG, LANGUAGE or LC_ALL
1504 * Fix error handling for the syscalls that are blocked when not using --devel
1505 * Improve diagnostic messages when seccomp rules cannot be applied
1506 * Update Polish translation
1507
1508 Changes in 1.12.1
1509 ~~~~~~~~~~~~~~~~~
1510 Released: 2021-10-08
1511
1512 The security fix in the 1.12.0 release failed when used with some
1513 older versions of libseccomp (that don't know about the new syscalls).
1514
1515 More specifically, installing modules that use extra-data would fail, and so
1516 would running applications with the --allow=multiarch feature, such as Steam.
1517 This release fixes those regressions.
1518
1519 Changes in 1.12.0
1520 ~~~~~~~~~~~~~~~~~
1521 Released: 2021-10-08
1522
1523 This is the first stable release in the 1.12.x series. The major changes
1524 in this series is the support for better control of sub-sandboxes, as
1525 used by the Steam Flatpak app to run Windows games under Proton.
1526
1527 In addition, this release fixes a security vulnerability in the portal
1528 support. Some recently added syscalls were not blocked by the seccomp rules
1529 which allowed the application to create sub-sandboxes which can confuse
1530 the sandboxing verification mechanisms of the portal. This has been
1531 fixed by extending the seccomp rules. (CVE-2021-41133)
1532 For details, see:
1533 https://github.com/flatpak/flatpak/security/advisories/GHSA-67h7-w3jq-vh4q
1534
1535 Other changes in this version:
1536 * Some test fixes
1537 * Update translations
1538 * Support for specifying the flatpak binary to use during exports
1539 * Install translations for all languages in the locale, not just the ones in
1540 LC_MESSAGES.
1541 * Fix progress reporting in flatpak fsck
1542 * Handle cases where /var/tmp is a symlink
1543 * Expose /etc/gai.conf to the sandbox
1544 * Fix the parental control checks for root
1545 * Handle missing /etc/ld.so.cache (musl)
1546
1547 Changes in 1.11.3
1548 ~~~~~~~~~~~~~~~~~
1549 Released: 2021-08-25
1550
1551 Dependencies:
1552
1553 * For Linux distributions that compile Flatpak to use a separate
1554 bubblewrap (bwrap) executable, updating to version 0.5.0 is recommended,
1555 but not required. The minimal version is still 0.4.0.
1556
1557 Bug fixes:
1558
1559 * Don't inherit an unusual $XDG_RUNTIME_DIR setting into the sandbox, fixing
1560 a regression introduced when CVE-2021-21261 was fixed in 1.8.5 and 1.10.0
1561 * Update the included copy of bubblewrap (flatpak-bwrap) to 0.5.0
1562 - Better diagnostics when a --bind or other bind-mount fails
1563 - Create non-directories with safer permissions
1564 - Allow mounting an non-directory over an existing non-directory
1565 - Silence kernel messages for our bind-mounts
1566 - Improve ability to bind-mount directories on case-insensitive filesystems
1567 * Don't ask user which remote to download from if there is only one option
1568 * Improve robustness of autogen.sh
1569
1570 Internal changes:
1571
1572 * Improve test coverage
1573 * Spelling fixes
1574
1575 Translation updates: Brazilian Portuguese, Russian, Spanish, Ukrainian
1576
1577 Changes in 1.11.2
1578 ~~~~~~~~~~~~~~~~~
1579 Released: 2021-06-17
1580
1581 Bug fixes:
1582
1583 * Fix logic error when migrating AppStream XML
1584 * Improve error-checking
1585 * Fix various memory and file descriptor leaks, in particular with
1586 flatpak-spawn --env=...
1587 * Fix fd confusion in flatpak-spawn --env=... --forward-fd=..., which
1588 caused "Steam Linux Runtime" containers to fail to start
1589 * Avoid a crash when looking up summary for a ref without an arch
1590 * Improve handling of refs belonging to more than one architecture,
1591 e.g. for cross-compilation
1592 * Don't abort uninstall if deploy metadata is missing
1593 * Don't fail transaction if searching for dependencies fails in one remote
1594 * Fix test failure when running tests as root
1595 * Improve error message for 'sudo flatpak run'
1596
1597 Internal changes:
1598
1599 * Improve printf format string validation
1600 * Improve test coverage
1601 * Reduce risk of accidentally hard-coding x86 in the tests
1602
1603 Translation updates: Danish, Indonesian, Russian
1604
1605 Changes in 1.11.1
1606 ~~~~~~~~~~~~~~~~~
1607 Released: 2021-04-26
1608
1609 This is the first unstable release in the series that will lead to 1.12.
1610
1611 New features:
1612
1613 * All instances of the same app-ID share their /tmp directory
1614 * All instances of the same app-ID share their $XDG_RUNTIME_DIR
1615 * Instances of the same app-ID can optionally share their /dev/shm directory
1616 (enabled by a new --allow flag, --allow=per-app-dev-shm)
1617 * Allow a subsandbox to have a different /usr and/or /app.
1618 Steam will use this to launch games with its own container runtime
1619 as /usr (the "Steam Linux Runtime" mechanism).
1620 * enter: Improve support for TUI programs like gdb
1621 * build-update-repo: Add a higher-performance reimplementation of
1622 `ostree prune` specialized for archive-mode repositories
1623
1624 Bug fixes:
1625
1626 * Fix deploys of local remotes in system-helper
1627 * Fix test failures on non-x86_64 systems
1628 * Fix two intermittent test failures
1629 * Make polkit queries non-interactive when operating in non-interactive mode
1630 * Use a local main-context when using libsoup in a thread
1631 * create-usb: Skip copying extra-data flatpaks
1632 * OCI: Switch to pax-format tar archives
1633 * history: Handle transaction log entries with empty REF field
1634 * portal: Fix flatpak-spawn --clear-env on OSs where flatpak is not on
1635 the fallback PATH, such as NixOS
1636 * Fix various issues detected by scan-build
1637
1638 Internal changes:
1639
1640 * Use GNU bison to build parse-datetime.y
1641 * Add information about security support and security vulnerability
1642 reporting (see `SECURITY.md`)
1643 * Move all git submodules into subprojects/ directory
1644 * Several sockets are now created in /run/flatpak in the sandbox, with
1645 symbolic links in $XDG_RUNTIME_DIR
1646
1647 Changes in 1.10.2
1648 ~~~~~~~~~~~~~~~~~
1649 Released: 2021-03-10
1650
1651 This is a security update which fixes a potential attack where
1652 a flatpak application could use custom formatted .desktop files to
1653 gain access to files on the host system.
1654
1655 Other changes:
1656
1657 * Fix memory leaks
1658 * Some test fixes
1659 * Documentation updates
1660 * G_BEGIN/END_DECLS added to library headers for c++ use
1661 * Fix for X11 cookies on OpenSUSE
1662 * Spawn portal better handles non-utf8 filenames
1663
1664 Changes in 1.10.1
1665 ~~~~~~~~~~~~~~~~~
1666 Released: 2021-01-21
1667
1668 * Fix flatpak build on systems with setuid bwrap
1669 * Fix some compiler warnings
1670 * Add --enable-asan configure option
1671 * Fix crash on updating apps with no deploy data
1672 * Update translations
1673
1674 Changes in 1.10.0
1675 ~~~~~~~~~~~~~~~~~
1676 Released: 2021-01-14
1677
1678 This is the first stable release after the 1.9.x unstable series.
1679 The major new feature in this series compared to 1.8 is the support
1680 for the new repo format which should make updates faster and download
1681 less data.
1682
1683 This release also contains the security fixes from 1.8.5, so everyone
1684 on the 1.9.x series should update immediately. (CVE-2021-21261)
1685
1686 Other changes since 1.9.3:
1687
1688 * The systemd generator snippets now call flatpak --print-updated-env
1689 in place of a bunch of shell for better login performance.
1690 * The .profile snippets now disable GVfs when calling flatpak to
1691 avoid spawning a gvfs daemon when logging in via ssh.
1692 * Build fixes for GCC 11.
1693 * Flatpak now finds the pulseaudio sockets better in uncommon
1694 configurations.
1695 * Sandboxes with network access it now also has access to the
1696 systemd-resolved socket to do dns lookups.
1697 * Flatpak supports unsetting env vars in the sandbox using --unset-env,
1698 and `--env=FOO=` now sets FOO to the empty string instead of
1699 unsetting it.
1700 * Similarly the spawn portal has an option to unset an env var.
1701 * The spawn portal now has an option to share the pid namespace
1702 with the sub-sandbox.
1703
1704 Changes in 1.9.3
1705 ~~~~~~~~~~~~~~~~
1706 Released: 2020-12-22
1707
1708 I expect this to be the final 1.9.x release, and we can expect 1.10.0
1709 early next year, containing basically what's in this release in terms
1710 of features.
1711
1712 A minor change in the new indexed summary format in this release. The
1713 gpg signature of the summary index is now stored in a filename indexed
1714 by the checksum of the index rather than a static filename. This fixes
1715 an update race between clients accessing the two files during and update.
1716 It also helps in keeping mirrors and cached coherent. The old filename
1717 is still created/used for backwards compat with 1.9.1, but may go
1718 away in the future.
1719
1720 Other changes:
1721
1722 * --filesystem=host now exposed /var/usrlocal (as seen on ostree)
1723 * Better error messages in flatpak portal.
1724 * Rebases during update now install the new app before uninstalling
1725 the old, which means failure during the first doesn't leave the app
1726 uninstalled.
1727 * flatpak_installation_list_installed_refs_for_update() now handles
1728 some case better when apps in the user installation depends on
1729 runtimes in the system installation.
1730 * New version of the deploy files which guarantees the existence of
1731 a bit more data. This is useful for eol detection of apps that were
1732 installed with previous flatpak versions.
1733 * Some corner cases when installing an app with extra-data into a nonstandard
1734 installation were fixed.
1735 * Fixed crashed when killing and entering running instance that have
1736 was running a runtime, not an app.
1737 * The root user can now bypass parental controls.
1738 * Some fixes to library annotations.
1739 * Updated translations
1740
1741 Changes in 1.9.2
1742 ~~~~~~~~~~~~~~~~
1743 Released: 2020-11-20
1744
1745 * Some build fixes on non-x86-64 arches
1746 * Fix permission issue in endless installer
1747 * Fixed a bug where flatpak was accidentally clearing the summary cache
1748 during updates in the user installation.
1749 * Fix handling of the multiarch permission.,
1750 * Add back the commit timestamp to the summary file.
1751
1752 Changes in 1.9.1
1753 ~~~~~~~~~~~~~~~~
1754 Released: 2020-11-19
1755
1756 This is the first unstable release in the series that will lead to
1757 1.10. The main change in this version is a new format for the summary
1758 file used when accessing an OSTree repository on the network. For this
1759 reason we now require OSTree version 2020.8.
1760
1761 The new format should make getting the initial metadata required for
1762 most flatpak operations much faster, and use less network
1763 bandwidth. This will allow repositories to scale to more apps and more
1764 architectures without affecting clients. The old format is still
1765 generated for compatibility with older clients.
1766
1767 The new format also allows repositories to publish named subsets, and
1768 for clients to declare that they only want to see that subset. The
1769 goal here is to allow for example flathub to mark all FOSS apps, and
1770 make it possible for users to use a flathub-foss remote without
1771 flathub having to maintain two duplicated repositories. This is
1772 accessible by passing --subset=SUBSET to the build-commit-from and
1773 build-export commands.
1774
1775 The new repo option `flatpak.summary-arches` controls which architectures
1776 are put in the old format summary. This can be used to avoid newly added
1777 architectures making old clients slower, at the cost of requiring a newer
1778 flatpak client version for the new architecture.
1779
1780 Other major changes
1781 * There is a new `flatpak pin` command that lets you pin runtimes
1782 so that they are not considered unused. Also, we now by default pin
1783 runtimes that are installed explicitly (i.e. not as a dependency of an
1784 app).
1785 * During a regular update or uninstall of an app, if the operation
1786 makes a previously used runtime unused, and the runtime is marked
1787 as end-of-lifed, then the runtime is automatically uninstalled.
1788 * During `flatpak update` (i.e. with no specific app given) flatpak
1789 now automatically adds uninstall operations for end-of-life runtimes
1790 that are unused.
1791 * The end-of-life warnings in the flatpak CLI are now better, showing
1792 more useful details (like version and what apps are using the runtime)
1793 and less useless details.
1794 * Some changes was made in which dconf paths were considered "similar"
1795 to the app id, allowing for example `org.gnome.SoundJuicer` to
1796 migrate from `/org/gnome/sound-juicer`.
1797 * Flatpak run now implements the new standard for os-release in containers
1798 (https://www.freedesktop.org/software/systemd/man/os-release.html).
1799 * There is now a tcsh profile snippet
1800 * The origin remote for an app is now prioritized over other remotes with
1801 the same priority when looking for dependencies.
1802 * We now allow extra-data apply_extra processes to run multiarch code.
1803 * A new internal representation for ostree ref strings was added which
1804 is more efficient. This should not affect the behaviour of flatpak
1805 but the large amounts of changes to use this may have accidentally
1806 introduced regressions.
1807 * Some fixes to the in-memory summary cache make it more efficient.
1808 * --filesystem=/ is now explicitly forbidden as it doesn't work (and never
1809 did).
1810 * Flatpak install/update now only prints `(partial)` for an update that
1811 actually is partial (not just for all locales).
1812 * Flatpak remote-ls on a file: uri (for example a sideloaded repo) now
1813 correctly lists the refs in the repo.
1814 * New library APIS: flatpak_installation_list_pinned_refs,
1815 flatpak_transaction_set_disable_auto_pin,
1816 flatpak_transaction_set_include_unused_uninstall_ops,
1817 flatpak_transaction_operation_get_subpaths,
1818 flatpak_transaction_operation_get_requires_authentication.
1819 * flatpak_installation_list_installed_refs_for_update() now returns
1820 refs that have a end-of-life rebase that it could be updated to.
1821 * There is a new `ready-pre-auth` signal in FlatpakTransaction allowing
1822 clients new ways to handling authentication.
1823 * Fix bug where extension sources were sometimes auto-installed
1824
1825 Changes in 1.8.3
1826 ~~~~~~~~~~~~~~~~
1827 Released: 2020-11-17
1828
1829 * Fixed progress reporting for OCI and extra-data
1830 * The in-memory summary cache is more efficient
1831 * Fixed authentication getting stuck in a loop in some cases
1832 * Fixed authentication error reporting
1833 * We now extract OCI info for runtimes as well as apps
1834 * Fixed crash if anonymous authentication fails and -y is specified
1835 * flatpak info now only looks at the specified installation
1836 if one is specified
1837 * Better error reporting for server HTTP errors during download
1838 * Uninstall now removes applications before the runtime it depends on
1839 * Fixed test-suite to pass with the latest OSTree version
1840 * Fixed dbus environment variables in flatpak enter
1841 * Avoid updating metadata from the remote when uninstalling
1842 * Fixed error message handling in various places
1843 * FlatpakTransaction now verifies all passed in refs to avoid
1844 potential issues with invalid names
1845 * Updated translations
1846
1847 Changes in 1.8.2
1848 ================
1849
1850 * Added validation of collection id settings for remotes
1851 * Fix seccomp filters on s390
1852 * Robustness fixes to the spawn portal
1853 * Fix support for masking update in the system installation
1854 * Better support for distros with uncommon models of merged /usr
1855 * Cache responses from located/AccoutService
1856 * Fix hangs in cases where xdg-dbus-proxy fails to start
1857 * Fix double-free in cups socket detection
1858 * OCI authenticator now doesn't ask for auth in case of http errors
1859
1860 Changes in 1.8.1
1861 ================
1862
1863 * Avoid calling authenticator in update if ref didn't change
1864 * Don't fail transaction if ref is already installed (after transaction start)
1865 * Fix flatpak run handling of userns in the --device=all case
1866 * Fix handling of extensions from different remotes
1867 * Fix flatpak run --no-session-bus
1868 * Updated translations
1869
1870 Changes in 1.8.0
1871 ================
1872
1873 New stable release series 1.8.
1874
1875 Changes:
1876 * FlatpakTransaction has a new signal "install-authenticator" which clients can handle to
1877 install authenticators needed for the transaction. This is done in the CLI commands.
1878 * We now always expose the host timezone data, allowing us the expose the host /etc/localtime
1879 in a way that works better, fixing several apps that had timezone issues.
1880 * Fix flatpak enter which didn't work in some cases.
1881 * We now ship a systemd unit (not installed by default) to automatically detect plugged in
1882 usb sticks with sideload repos.
1883 * By default we no longer install the gdm env.d file, as the systemd generators work better
1884 * create-usb now exports partial commits by default
1885 * Fix handling of docker media types in oci remotes
1886 * Fix subjects in remote-info --log output
1887
1888 Changes in 1.7.3
1889 ================
1890
1891 * Allow direct ALSA device access if app has pulseaudio access.
1892 * Flatpak now ships a sysusers.d file for allowing systemd to create the required users.
1893 * Fix issue in remote-delete where it failed to delete system remotes if it had to uninstall
1894 something first.
1895 * New library calls flatpak_transaction_operation_get_related_to_ops(), flatpak_transaction_operation_get_is_skipped() and
1896 flatpak_transaction_set_no_interaction().
1897 * New options --[no-]follow-redirect in remote-add/modify
1898 * New spawn portal APIs to get real pid of launched app.
1899 * By default, all OCI remotes now use the flatpak-oci-authenticator.
1900 * Support flatpak remote-info and flatpak update --commit= to specific versions for OCI remotes.
1901 * Initial work in progress on using deltas for OCI remotes.
1902 * Fix race in the generation of ld.so.cache when starting copies of the same app at the same time.
1903 * Minor fix in what locales are installed on update.
1904 * Flatpak uninstall now doesn't fail if one ref (of many) was not installed.
1905 * Flatpak systemd transient units now have an app-prefix to match new XDG spec for
1906 cgroup names.
1907 * In some cases we previously downloaded the summary twice.
1908 * flatpak upgrade is now an alias for flatpak update.
1909 * Fix to selinux module to work without unconfined module.
1910 * Respect user XDG basedirs when finding users fonts and icons.
1911 * Fix issue where thread were sometimes initialized causing flatpak enter to fail.
1912 * Better error reporting when authentication goes wrong.
1913
1914 Changes in 1.7.2
1915 ================
1916
1917 This fixes some regressions in progress reporting in 1.7.1, where it would report > 100%.
1918
1919 Other changes:
1920 * Completion support for fish shell
1921 * Properly handle migration of remotes with collection ids
1922 * The summary now has some extra-data download size info which can make downloads slightly more efficient
1923
1924 Changes in 1.7.1
1925 ================
1926
1927 This is the first release in the 1.7.x unstable release series.
1928
1929 A major change is that the support for the ostree peer-to-peer installation has been
1930 simplified. Flatpak no longer supports installing from local network peers, and sideloading
1931 from local usb stick is no longer automatic. To enable sideloading you have to configure
1932 a sideload repository by creating a symlink to it from /var/lib/flatpak/sideload-repos or
1933 /run/flatpak/sideload-repos. Due to this the flatpak code has been simplified internally
1934 and the p2p support is more efficient.
1935
1936 Other major changes
1937 * If an app has filesystem access, the host /lib is accessible as /run/host/lib, etc.
1938 * New filesystem permission "host-etc" and "host-os" give access to system /usr and /etc.
1939 * Flatpak now uses variant-schema-compiler to generate more efficient code for
1940 parsing GVariant files from ostreee.
1941 * libsystemd use is now optional in configure.
1942 * Journal sockets are mounted readonly
1943 * document-export now supports exporting directories (requires new portal version)
1944 * DConf migration now allows version numbers in object paths
1945
1946 Changes in 1.6.3
1947 ================
1948
1949 The main change in this version is a fix for a regression in the progress calculation
1950 for applications using extra-data. Additionally the bundled version of bubblewrap
1951 is updated to 0.4.1 which fixes a security issue in some cases. See
1952 https://github.com/containers/bubblewrap/security/advisories/GHSA-j2qp-rvxj-43vj
1953 for details.
1954
1955 Other changes:
1956 * Updated translations
1957 * Don't break if users primary gid is not in the nsswitch database
1958 * Fix crash in flatpak repair if no remotes are configured
1959 * Some updates to the oci authenticator
1960 * Retry downloads of extra data
1961
1962 Changes in 1.6.2
1963 ================
1964
1965 Due to a combination of some behaviour in flatpak and recent versions of ostree we at some
1966 point lost the use of deltas for the initial install case, instead always falling back
1967 to a full ostree operation which is a lot less efficient for pulls with many small files
1968 like a runtime. This caused some very slow installs from e.g. flathub, so I recommend
1969 everyone update to this version to get better install performance.
1970
1971 Other changes are:
1972 * We now correctly handle TMPDIR env var overrides when bwrap is setuid
1973 * Disallow running "flatpak run" under sudo (as it doesn't work and causes issues)
1974 * Fix build with older versions of glib
1975 * Minor documentation updates
1976 * Updated translations
1977
1978 Changes in 1.6.1
1979 ================
1980
1981 This is a (mild) security update. Flatpak 1.6.0 added the ability for an application to request it to be
1982 updated, as long as the new version doesn't require new permissions. Unfortunately in some special cases,
1983 if an app had access to the home directory, but not the rest of the filesystem it would still allow a
1984 self-update where the new version could access some files outside the home directory..
1985
1986 This is fixed in this version, and all users of 1.6.0 are recommended to update.
1987
1988 Other changes are:
1989
1990 * New permission --device=shm giving access to host /dev/shm, as needed for jack.
1991 * Generated correct download size in build-commit-from
1992 * sub-sandbox now allows the child to share the gpu of the caller has full device access
1993 * Fix crash with disabled remotes
1994 * Fix builds with older versions of glib
1995 * Update translations
1996
1997 Changes in 1.6.0
1998 ================
1999
2000 This is the first stable release in the 1.6 series, main changes
2001 since 1.4 is the support for protected content and improvements
2002 in the self-sandboxing support.
2003
2004 There is one change in the support for OCI remotes, we now
2005 only support the use of labels, not annotations, as labels
2006 work with more registries. This means pre-existing OCI flatpak
2007 registries (like fedora) may need some changes.
2008
2009 Changes since 1.5.2:
2010 * New permissions --socket=cups for direct cups access
2011 * Fix some leaks
2012 * Fix reporting of progress with latest version of ostree
2013 * New no-interaction flag for authenticators
2014 * Support for auto-installing authenticators from a flatpak remote
2015 * Warn less about unset XDG_DATA_DIRS
2016 * Don't poll for updates in the portal when on a metered connection
2017
2018 Changes in 1.5.2
2019 ================
2020
2021 This version has further changes to the protocol and API for handing
2022 authentication, in order to make it more flexible and futureproof. The
2023 sample authenticator has been updated to the new APIs. Flatpak now
2024 ships with a OCI authenticator that can be used to access private OCI
2025 registries.
2026
2027 FlatpakTransaction now also has a callback for simple user/password
2028 authentication for an authenticator (the basic-auth-start signal)
2029 modeled on HTTP basic authentication. This is handled in the flatpak
2030 CLI by interactive prompts on the terminal. This is needed by the OCI
2031 authenticator, but can also be used by other authenticators that have
2032 simple authentication requirements.
2033
2034 There were also some fixes to the new self-sandboxing support of the
2035 flatpak spawn portal, allowing webkit to use it.
2036
2037 Other changes:
2038 * Show background status in flatpak ps
2039 * Improved docs and help output
2040 * Fix support for fd forwarding and the allow_a11y flag in the sandboxing portal
2041 * Some improvements to the new permission-set command
2042 * New remote option that allows setting the default token type (mostly for debugging)
2043
2044
2045
2046 Changes in 1.5.1
2047 ================
2048
2049 The major new feature of this is the support for protected applications and the system
2050 around authenticating downloads to it. This is not considered stable yet, but this release
2051 has the initial work to make it possible for developers to play around with this. I
2052 will send out a separate mail about this later.
2053
2054 Other changes:
2055 * Flatpak now bundles bubblewrap 0.4.0, and requires 0.4.0 to use the system bubblewrap.
2056 * Optional support for parental controls using libmalcontent.
2057 * Transaction now installs extensions before apps to ensure we have a working app immediately after install.
2058 * Changes in temporary file use makes flatpak run work better in low disk space situations.
2059 * flatpak enter now works without sudo, and works better in general.
2060 * New features for the flatpak portal:
2061 * Support starting a sub-sandbox with the child processes visible in the original sandbox.
2062 * Support adding some kinds of permissions to sub-sandboxes
2063 * New commands flatpak permission-set and permission-remove
2064 * flatpak install CLI now always shows what kind of operations everything is.
2065 * libflatpak now returns apps as updatable if doing so would auto-download missing extensions or runtimes.
2066 * new API: flatpak_transaction_get_no_(deploy|pull).
2067 * We can now store locale info in the extra-languages key (in addition to the country code).
2068 * remote-ls and list --app-runtime now only shows apps, no runtimes.
2069 * Stop using mirror refs and delete any useless mirror refs you might have in your repo.
2070 * Fix busy-loop regression in revokefs-fuse in 1.5.0
2071
2072 Changes in 1.5.0
2073 ================
2074
2075 * New options flatpak install --or-update operation.
2076 * New command flatpak mask allows pinning version and avoiding auto-downloads.
2077 * Support self-updates and update monitoring in the flatpak portal.
2078 * Fix updates of exported services with dbus-broken.
2079 * Don't show arch columns in terminal output if all are the same.
2080 * Fix some cases where origin remotes were not properly removed.
2081 * flatpak-session-helper now links to more libraries.
2082 * OCI: Support images tagged with labels as well as annotations.
2083 * OCI: Always generate a history for images.
2084 * OCI: Support docker mimetypes in addition to OCI mimetypes.
2085 * Uninstall now always work, even if the remote it came from was force removed.
2086 * New config key default-languages that allows additions to the system list
2087 instead of overriding it.
2088 * Various minor tweak to CLI behaviour and output.
2089
2090 Changes in 1.4.3
2091 ================
2092 * Fix crash in revokefs.
2093 * Handle 'versions' extension key (in addition to 'version') when
2094 checking for local extensions, which was causing us to uninstall
2095 some actually used extensions with uninstall --unused.
2096 * The 'required-flatpak' metadata key now supports listing multiple
2097 versions to support backported features.
2098 * Fix crash with older versions of polkit.
2099 * Fix installation of bundles.
2100 * Fix crash on deploy error.
2101 * Support building bundles of apps installed from a remote.
2102 * OCI: Fix handling of locally cached icons.
2103 * Fix crash when listing unconfigured remotes.
2104 * Ignore differences in trailing slashes for repo uris.
2105
2106 Changes in 1.4.2
2107 ================
2108
2109 * Support extra_data in extensions.
2110 * Handle double slashes ("//")in XDG_DATA_DIRS.
2111 * Fix detection of local related refs.
2112
2113 Changes in 1.4.1
2114 ================
2115
2116 *WARNING* *WARNING* *WARNING*
2117
2118 There was an accidental ABI break in libflatpak in 1.4.0 compared to
2119 the 1.2.x ABI which caused crashes in apps like gnome-software.
2120
2121 This has been fixed in this release so it is now ABI compatible with
2122 1.2.x, but *NOT* compatible with 1.4.0. It is recommended that all
2123 distributions that shipped 1.4.0 update to 1.4.1 and rebuild all
2124 dependencies of libflatpak.
2125
2126 * Make ABI compatible with 1.2.x
2127 * Update translations
2128 * Fix some potential crashes
2129 * Fix some corner case where it was impossible to remove a remote
2130 * Restore support for file: uris in the RuntimeRepo key in flatpakref files
2131
2132 Changes in 1.4.0
2133 ================
2134
2135 This is the new stable series, ending the 1.3.x series. The major changes
2136 since the 1.2.x is the improved I/O use for system-installed applications,
2137 and the new format for pre-configured remotes.
2138
2139 * Recalculate download-size when moving between repos in
2140 build-commit-from.
2141 * New library error FLATPAK_ERROR_REF_NOT_FOUND returned instead of
2142 G_IO_ERROR_NOT_FOUND.
2143 * Fix installed tests when running on a tty.
2144 * Fix a double-set of a GError.
2145 * Grant more permissions on the /run/host/monitor directory to
2146 work with e.g. toolbox on the host.
2147
2148 Changes in 1.3.4
2149 ================
2150
2151 This version changes how default remotes are configured. We still
2152 use files in /etc/flatpak/remotes.d, however instead of the old
2153 *.conf files we now use regular flatpakrepo files, and the first
2154 time you use flatpak these are automatically imported.
2155
2156 The advantage of this new model is that the configuration is imported
2157 once, but then becomes writable and removable, just like a manually
2158 added remote. In the previous model the remote was always there and it
2159 was impossible to change or remove.
2160
2161 However, this means that anyone currently shipping a .conf file with
2162 a distro needs to change this to a .flatpakrepo file.
2163
2164 * Support for flatpakrepo files in /etc/flatpak/remotes.d
2165 * Support for client side filtering of a remote. This allows you
2166 to limit what apps are seen from a remote, using either a whitelist
2167 or a blacklist model.
2168 * Add library API to easily add remotes from flatpakref files.
2169 * Fix the dconf support.
2170 * Fix app updates in system-wide OCI remotes.
2171 * Fix CLI completion if G_MESSAGES_DEBUG is set
2172 * Add a docker seccomp profile for running flatpak inside a container.
2173 * Look for the new default dbus session socket at $XDG_RUNTIME_DIR/bus
2174 * Improve ability to pull from multiple p2p sources (needs latest ostree).
2175
2176 Changes in 1.3.3
2177 ================
2178
2179 * Fixed a crash in the system helper that made installation via
2180 the helper sometimes not work.
2181 * Fix build with older versions of glib
2182 * The list and remote-ls output is now less wide, not showing the
2183 appdata summary by default and only showing the architecture and
2184 origin if necessary (i.e. not if its the same for all rows).
2185 * flatpak remote-ls now filters end-of-lifed apps by default.
2186 * flatpak permission-reset now supports --all
2187 * Flatpak now works will all set values of umask.
2188 * The flatpak profile.d snippet now works if flatpak is not installed
2189 (in case it gets left over after deletion).
2190 * Fixed flatpak install --noninteractive still asking questions in some cases.
2191 * flatpak now returns a failure exit status if you abort the operation early.
2192 * flatpak remote-ls and remote-info now supports --cached to prefer
2193 using locally cached data.
2194 * libflatpak grew a FLATPAK_QUERY_FLAGS_ONLY_CACHED that allows you to
2195 get at locally cached data about remotes without doing network i/o.
2196 * Documentation updates
2197
2198 Changes in 1.3.2
2199 ================
2200
2201 This release contains a major change in how flatpak does system-wide
2202 installation as a user. We used to pull into a temporary user-owned
2203 directory and then ask the flatpak system-helper to import from this
2204 directory. Unfortunately, since we can't trust the user directory
2205 it had to copy these files as they were being imported, which caused
2206 unnecessary i/o, as well as temporarily using more diskspace.
2207
2208 The new setup uses a new custom fuse filesystem which the user writes
2209 to, and then when this is done we can safely revoke any access to this
2210 from the user, meaning the files can be directly imported into the
2211 system repository without needing to make a copy.
2212
2213 However, this makes packaging flatpak a bit more complex, as we now
2214 require flatpak to have a user. By default flatpak will look for a user
2215 called "flatpak", and for the new feature to work you need to create
2216 it in your package. If you want to use a different name you can specify
2217 that in configure as --with-system-helper-user=USERNAME.
2218
2219 Additionally, the new code passed a unix socket over the system bus, which
2220 is prohibited by the default selinux policy. To work around this flatpak
2221 now ships with a custom selinux module (enable with --enable-selinux-module).
2222 For the new feature to work you need to install this module and ensure
2223 the flatpak-system-helper binary gets the proper selinux context.
2224
2225 Other changes:
2226
2227 * We now support specifying a rebasing version of end-of-life, where
2228 the clients will be asked if they want to use the new version. At
2229 runtime any old per-user application data will be migrated to the
2230 new name. Note: This works for the CLI app, but needs some changes
2231 for installers to take advantage of the automatic rebasing.
2232 * New permission --socket=pcsc for access to smart cards.
2233 * We now store the description, comment, icon and homepage fields from
2234 the flatpakrepo files in the remote configuration and have new library
2235 APIs to read these back.
2236 * The fields above are now also settable in a repo and changes to these
2237 can propagate to clients.
2238 * run now tries the determine what branch to use when you run a runtime.
2239 * Print maximum icon size when icon-validator fails.
2240 * flatpak override can now disallow access to a dbus name.
2241 * flatpak list now has a new runtime column
2242
2243 Changes in 1.3.1
2244 ================
2245
2246 This release fixes CVE-2019-10063.
2247
2248 It has been discovered that the previous fix for CVE-2017-5226, which uses
2249 seccomp to prevent sandboxed apps from using the (dangerous) TIOCSTI ioctl
2250 was only incomplete on 64bit arches. This is now fixed.
2251
2252 * seccomp: Only compare the low 32bit of the TIOCSTI ioctl args.
2253 * Fix the required runtime prompt during installation.
2254 * When installing, only check dependencies from the same installation.
2255 * flatpak list --arch now works correctly again.
2256 * Create origin symlinks in appstream branch for libappstream compat.
2257
2258 Changes in 1.3.0
2259 ================
2260
2261 This is the start of a new unstable series, targeting stable release
2262 as 1.4.0.
2263
2264 Major changes:
2265
2266 * Support systems with multiple nvidia devices
2267 * Checks are update output are green again
2268 * Fix support for systems like gentoo where /var/run is a symlink.
2269 * Initial support for sandboxed dconf support.
2270 * build-update-repo: New options --no-update-[summary,appstream] and
2271 --static-delta-ignore-ref=PATTERN.
2272 * Regenerating the appstream branch is now much faster for large
2273 repositories.
2274 * We no longer limit the size of svgs in the icon validator.
2275
2276 Changes in 1.2.3
2277 ================
2278
2279 This release fixes CVE-2019-8308.
2280
2281 The CVE-2019-5736 runc vulnerability is about using /proc/self/exe
2282 to modify the host side binary from the sandbox. This mostly does not
2283 affect flatpak since the flatpak sandbox is not run with root permissions.
2284 However, there is one case (running the apply_extra script for system
2285 installs) where this happens, so this release contains a fix for that.
2286
2287 * Don't expose /proc in apply_extra script sandbox.
2288
2289 Changes in 1.2.2
2290 ================
2291
2292 * Reverted green checkbox as they caused table alignment issues
2293 * Fix a division by zero if the terminal reports a zero terminal
2294 width (which happens in the flathub build environment).
2295
2296 Changes in 1.2.1
2297 ================
2298
2299 * Ensure flatpak builds with older versions of glib and appstream-glib.
2300 * build-commit-from: Fix the new --extra-id option.
2301 * build-export: Allow disabling the sandboxing of the icon validator and
2302 do so during the tests.
2303 * profile: Don't break if debug logging is enabled.
2304 * Better handling of the appdata release attribute.
2305 * Don't install polkit agent when not needed, avoiding some unnecessary
2306 log lines in some cases.
2307 * Fix the output of the sandboxed icon validator not being visible.
2308 * builld-init: Allow specifying a full ref for the sdk, which is used to
2309 select the branch name when checking sdk extensions.
2310 * Make the ok checks in the output green
2311
2312 Changes in 1.2
2313 ==============
2314
2315 * Ensure DeployCollectionID works in flatpakrepo files in all cases.
2316 * Don't error out with empty installations in uninstall.
2317 * Add helper that validates icon files during export.
2318 * Don't allow root to modify the (non-root) per-user flatpak installation,
2319 as this risks causing problems later.
2320 * Remove some incorrect warnings from flatpak repair.
2321 * Allow multiple name segments after prefix when exporting files.
2322 * Allow specification of ellipsization in --colums options.
2323 * Handle dates as well as timestamps in appdata
2324 * Fixed a bug where flatpak remote-delete removed too many refs.
2325 * Now we use raw terminal mode during a transaction to a avoid problems with input
2326 during the operation causing problems with escape sequences.
2327 * Generate a fontconfig directory remapping snippet as will be needed
2328 for newer versions of fontconfig.
2329 * Support --extra-collection-id in build-commit-from to bind the commit
2330 to multiple collection ids. This is work in progress in ostree.
2331
2332 Changes in 1.1.3
2333 ================
2334
2335 * Various fixes to the CLI output changes
2336 * New flatpak --installations option to list all installations
2337 * Extract license info from appdata among with the other fields.
2338 This is shown in e.g. info and remote-info, and has library API.
2339 * install/update/uninstall now has --noninteractive option with less output
2340 that is useful when called from scripts, etc.
2341 * --devel is now properly forwarded to sub-sandboxes using the flatpak portal.
2342 * Drop dependency on libappstream-glib from libflatpak.
2343 * Initial support for exposing the system dconf defaults to the sandbox.
2344 * We now create deploy refs for the deployed commits to avoid a prune removing
2345 objects that are in use.
2346 * Ask about removing all refs when deleting a remote.
2347 * New environment generator that handles custom installations,
2348 replacing the old dbus service config file.
2349 * Documentation updates
2350 * More robust completion
2351 * Try to report out-of-space errors better.
2352 * Add more tests.
2353 * Various improvements to the repair command.
2354
2355 Changes in 1.1.2
2356 ================
2357
2358 * Refreshed the CLI output layout, in particular the install/update progress
2359 and application list/info commands.
2360 * The host XDG_{DATA,CONFIG,CACHE}_HOME env vars are now available as
2361 with the HOST_ prefix in the sandbox.
2362 * FLATPAK_ID is set to the app id in the sandbox (this previously
2363 only happened in flatpak build).
2364 * The spawn portal command now has a kill with parent option.
2365 * Flatpak shells now have custom prompts
2366 * New library APIs: Access to deployed appstream data, list unused refs.
2367 * Flatpak run now has --cwd option.
2368 * New option --static-delta-jobs to limit number of parallel delta
2369 generation jobs in build-update-repo.
2370 * Fixed critical warning with newer policykit versions.
2371
2372 Changes in 1.1.1
2373 ================
2374
2375 * New libflatpak function: flatpak_remote_get_main_ref()
2376 * Various changes to the policykit rules in order to cause less, and
2377 more understandable policykit authentication dialogs.
2378 * Give DRI apps access to more nvidia device nodes required for CUDA/OpenCL support.
2379 * search now doesn't search noenumerate remotes.
2380 * Renamed operations permission-list to permissions and document-list to
2381 documents. The old names are still supported as aliases.
2382 * New property 'non-interactive' for installations that allow frontends
2383 to do background updates without triggering policykit authentications.
2384 * New flag in HostCommand to allow killing the child process when
2385 the spawner exits the session bus.
2386 * Flatpak now authenticates on the terminal in case there is no desktop-wide
2387 policykit agent.
2388 * update with no arguments now updates all installations (i.e. also custom
2389 systemwide installations).
2390 * Use system helper to generate summary files for OCI remotes.
2391 * Better progress reporting for OCI downloads.
2392 * New conditional extension download feature, 'on-xdg-desktop-FOO' which downloads
2393 when XDG_CURRENT_DESKTOP matches FOO.
2394 * More sockets are now mounted read-only in the sandbox
2395 * Updated docs, error messages and translations
2396
2397
2398 Changes in 1.1
2399 ==============
2400
2401 This is the first release in the new unstable 1.1.x series, leading up to 1.2
2402 which is expected around the end of the year.
2403
2404 Changes in this version:
2405 * New command flatpak kill to kill running flatpak instances.
2406 * The remote argument is now optional in the flatpak install in
2407 interactive installs. Instead you are prompted for which
2408 remote to install from.
2409 * All commands printing tables now support --columns option to specify
2410 exactly what to output.
2411 * flatpak uninstall now supports --delete-data to delete the application
2412 data directory in your homedirectory. If no application is specified
2413 it will remove data from all uninstalled apps.
2414 * flatpak list now supports filtering by runtime with:
2415 --app-runtime=org.gnome.Platform//3.24
2416 * flatpak remote-ls can now show the runtime used for each app.
2417 * flatpak repo now supports --info to show information
2418 about a repository, and it is the default operation
2419 for the flatpak repo.
2420 * flatpak repo now supports --commits to list commits in branch.
2421 * flatpak now logs transactions to the systemd journal if built
2422 against libsystemd.
2423 * libflatpak now exposed FlatpakInstance for a running instance.
2424 * Better error output if a flatpak command is misspelled
2425 * Drop support for migration from xdg-app (previous name for flatpak).
2426 * New library function flatpak_installation_get_min_free_space_bytes.
2427 * In interactive mode "yes" is now the default in most prompts.
2428 * Bumped ostree requirement to 2018.9
2429 * Cleanups and improvements to the test suite.
2430 * Improvements to documentation.
2431 * buildsystem support for coverage generation.
2432
2433 Changes in 1.0.6
2434 ================
2435
2436 This release fixes an issue that lets system-wide installed
2437 applications create setuid root files inside their app dir (somewhere
2438 in /var/lib/flatpak/app). Setuid support is disabled inside flatpaks,
2439 so such files are only a risk if the user runs them manually outside
2440 flatpak.
2441
2442 Installing a flatpak system-wide is needs root access, so this isn't a
2443 privilege elevation for non-root users, and allowing root to install
2444 setuid files is something all traditional packaging systems
2445 allow. However flatpak tries to be better than that, in order to make
2446 it easier to trust third party repositories. Thus, it is recommended
2447 that all distros update to this version, or backport commit
2448 b98e09b20dfab896616b4a65e15c31f684a5f9f2.
2449
2450 Changes in this version:
2451 * The permissions of the files created by the apply_extra script is
2452 canonicalized and the script itself is run without any capabilities.
2453 * Better matching of existing remotes when the local and remote configuration
2454 differs wrt collection ids.
2455 * New flatpakrepo DeployCollectionID replaces CollectionID, doing the
2456 same thing. It is recommended to use this instead because older versions
2457 of flatpak has bugs in the support of collection ids, and this key
2458 will only be respected in versions where it works.
2459 * The X11 socket is now mounted read-only.
2460
2461 Changes in 1.0.5
2462 ================
2463
2464 There was a sandbox bug in the previous version where parts of the runtime
2465 /etc was not mounted read-only. In case the runtime was installed as the
2466 user (not the default) this means that the app could modify files on the
2467 runtime. Nothing in the host uses the runtime files, so this is not a direct
2468 sandbox escape, but it is possible that an app can confuse a different app
2469 that has higher permissions and so gain privileges.
2470
2471 So, it is recommended that everyone shipping flatpak to update to
2472 1.0.5, or at least backport the change in commit
2473 6711d7ae99c50a9dca8e4e2e9e9989a8fa6c3f06.
2474
2475 Changes in this version:
2476
2477 * Make the /etc -> /usr/etc bind-mounts read-only.
2478 * Make various app-specific configuration files read-only.
2479 * flatpak is more picky about remote names to avoid problems with storing weird
2480 names in the ostree config.
2481 * A segfault in libflatpak handling of bundles was fixed.
2482 * Updated translations
2483 * Fixed a regression in flatpak run that caused problems running user-installed
2484 apps when the system installation was broken.
2485
2486 Changes in 1.0.4
2487 ================
2488
2489 * Flatpak 0.99.1 removed the inheritance of permissions from the runtime due
2490 to concerns with dynamic app permissions. Due to popular requests, this
2491 version re-introduces such inheritance, but does it instead at build time.
2492 This solved the issues with dynamic permissions while still allowing runtimes
2493 to have default permissions. Apps can disable this by passing
2494 --no-inherit-permissions to build-finish.
2495 * The sandbox now always includes a /etc/timezone file, following the (old)
2496 debian standard for this. This is needed, because the more modern way
2497 of exposing the timezone name by having /etc/localtime be a symlink
2498 into /usr/share/zoneinfo doesn't work when exposing the host timezone.
2499 * All apps now have automatic permissions to own their own app id as a
2500 subname of org.mpris.MediaPlayer2.
2501 * We now properly re-load remote state in FlatpakTransaction if the
2502 metadata was updated for the remote.
2503 * The signature of the FlatpakTransaction::operation-done signal was wrong
2504 in the header and has now been corrected to the signature that is actually
2505 emitted.
2506 * A crash was fixed when reading invalid .flatpakref files.
2507 * A crash during updates when a local ref was unexpectedly missing was fixed.
2508 * An error case on uninstalling was incorrectly returning success even
2509 thought there was an error.
2510 * flatpak_installation_modify_remote did not correctly save the nodeps state.
2511 * flatpak_installation_load_app_overrides() was improperly returning freed
2512 memory.
2513 * The tarball now ships with an icon (flatpak.png).
2514
2515 Changes in 1.0.3
2516 ================
2517
2518 * run: You can now use --system to run an app that otherwise would run the
2519 user version.
2520 * New permission --allow=canbus that filters out access to AF_CAN sockets.
2521 * lib: New install flags FLATPAK_INSTALL_FLAGS_NO_TRIGGERS and new function
2522 flatpak_installation_run_triggers()
2523 * lib: Better error reporting, including some new error values that
2524 replace the generic FAILED.
2525 * uninstall --unused: Improve handling of which .Locale extensions are used
2526 * run: Make flatpak run on systems where $XDG_RUNTIME_DIR contains a symlink
2527 beneath /var (commonly /var/run -> /run).
2528 * Don't export any desktop/dbus/mimetype files in subdirectories.
2529 * build-init: We now record the base ref (if used) in the metadata. Nothing
2530 uses this atm, but it can be used by tools.
2531 * We now respect the upstream ostree.deploy-collection-id instead of the
2532 flatpak-specific xa.collection-id metadata key to decide whether to switch
2533 to collection ids for a remote. This is useful, because if you use the
2534 new one, only new clients (that support it better) will use it.
2535 * create-usb: Fix assertion failure in some error cases
2536 * create-usb: Always create archive-z2 repos
2537 * create-usb: Don't create unnecessary summary in repo
2538 * permissions: Avoid errors if there is no permissions table
2539 * repo: Fix flatpak repo sometimes using the wrong ostree-metadata ref.
2540 * Avoid fsync when updating $installation/.changed.
2541 * Add the missing appstream2 ref to the xa.cache metadata
2542 * The test-suite got some modifications to make it easier to maintain.
2543 * Documentation updates
2544 * Translation updates
2545
2546 Changes in 1.0.2
2547 ================
2548
2549 * The dbus proxy is now available in a separate git module, xdg-dbus-portal,
2550 which is imported into flatpak as a submodule. It is possible to build
2551 flatpak against the system xdg-dbus-portal instead, but this is not currently
2552 very useful as no other applications yet depend on xdg-dbus-portal.
2553 * Build regressions with older versions of glib have been fixed.
2554 * Flatpak ps now also tracks the pid the main process inside the sandbox.
2555 * Added flatpak override --reset to reset overrides for an app.
2556 * Added flatpak override --show to show overrides for an app.
2557 * flatpak install now automatically pick user or system based on the remote
2558 name given (unless the remote exists in both).
2559 * flatpak uninstall --unused now does not remove SDKs if some installed app
2560 refers to them.
2561 * Fixed bug where flatpak uninstall --unused prompted for uninstall twice.
2562 * Set IO class on the system helper to "idle", which should cause background
2563 updates to affect the system less.
2564 * Fixed regression in flatpak uninstall --no-related.
2565 * Better handling of empty collection ids in flatpak bundles.
2566 * Cleaned up some error messages.
2567 * Various documentation fixes and cleanups.
2568 * Updated translations.
2569
2570 Changes in 1.0.1
2571 ================
2572
2573 This fixes various build and test failures that were detected when
2574 packaging 1.0, as well as translations and doc updates. It also
2575 has some minor features, including a new subcommand "flatpak ps"
2576 to list the running flatpak instances for your user.
2577
2578 * Print application tags in the prompt when installing/updating.
2579 * Make sure we don't accidentally leak the host /proc into
2580 the sandbox.
2581 * Translation updates.
2582 * Added a "flatpak ps" command that lists running flatpak instances.
2583 * Improve error reporting when exporting documents.
2584 * Improve detection of dynamic p2p remotes.
2585 * Build fixes for older versions of glib.
2586 * Fix threading issue in the OCI support that was causing the
2587 installed tests to sometimes fail.
2588 * Fix OCI AppStream support on 32bit architectures.
2589 * Fix utf8 issue in the dbus API description.
2590 * Some install fixes to make installed tests work
2591 * Make the tests work with python3 (as well as python2)
2592 * Improve introspection annotations in libflatpak
2593 * Improve libflatpak API docs
2594
2595 Changes in 1.0
2596 ==============
2597
2598 Flatpak 1.0 is the first version in a new stable release series. This
2599 new 1.x series is the successor to the 0.10.x series, which was first
2600 introduced in October 2017. 1.0 is the new standard Flatpak version,
2601 and distributions are recommended to update to it as soon as possible.
2602
2603 The following release notes describe the major changes since
2604 0.10.0. For a complete overview of Flatpak, please see
2605 [docs.flatpak.org](http://docs.flatpak.org/en/latest/).
2606
2607 ## For users, app developers and distributors
2608
2609 Flatpak 1.0 marks a significant improvement in performance and
2610 reliability, and includes a big collection of bug fixes. 1.0 also
2611 includes a collection of new features, including:
2612
2613 * Faster installation and updates.
2614 * Applications can now be marked as end-of-life. App centers and
2615 desktops can use this information to warn users who have an end-of-life
2616 version installed.
2617 * Permissions now use an up-front verification model: users are
2618 asked to confirm app permissions at install time, if an update
2619 requires additional permissions, the user must also confirm.
2620 * A [new portal](https://flatpak.github.io/xdg-desktop-portal/portal-docs.html#gdbus-org.freedesktop.portal.Flatpak)
2621 allows apps to create sandboxes and restart themselves. This allows
2622 applications to restart themselves after they have been updated (to
2623 start using the new version), and to increase sandboxing for parts
2624 of the application.
2625 * `flatpak-spawn` is a new tool for running host commands (if
2626 permissions allow) and creating new sandboxes from an app (this
2627 uses the above portals APIs).
2628 * Apps can now export D-Bus services for all the D-Bus names they are
2629 privileged to own (rather than just the application ID).
2630 * Flatpak's support for OCI bundles has been updated to the latest
2631 specification. Also, AppData can now be distributed through OCI
2632 repositories.
2633 * Host TLS certificates are now exposed to applications, using
2634 p11-kit-server. This removes a point of friction when accessing
2635 network services in some environments.
2636 * Apps can now request access the host SSH agent to securely access
2637 remote servers or Git repositories.
2638 * A new application permission can be used to grant access to
2639 Bluetooth devices.
2640 * A new `fallback-x11` permission grants X11 access, but only if the
2641 user is running in a X11 session. For applications that support
2642 both Wayland and X11, this can be used to ensure that the app
2643 doesn't have unnecessary X11 access while in Wayland, but still
2644 works in an X11 session.
2645 * Peer-to-peer installation (via USB sticks or local network) is now
2646 enabled and supported by default in all builds.
2647
2648 The Flatpak command line also introduces new commands and options, including:
2649
2650 * `uninstall --unused` automatically removes unused runtimes and
2651 extensions (if you've removed all apps that depend on a runtime, or
2652 all the apps you had depending on it have upgraded to a newer
2653 version).
2654 * New `info` options, including `--show-permissions`,
2655 `--file-access`, `--show-location`, `--show-runtime`, `--show-sdk`.
2656 * `repair` - fixes broken installs by scanning for errors, removing
2657 invalid objects and reinstalling anything that's missing.
2658 * `permission-*` - allows interaction with the portals permissions
2659 store. This is useful for testing and for getting back to a clean
2660 state.
2661 * `create-usb` - can be used to prepare an repository to be used as a
2662 local updates source.
2663
2664 Finally, the command line has a collection of other improvements, such as:
2665
2666 * If `--system` or `--user` aren't specified, one is automatically
2667 picked if it is obvious (or it will ask if the correct option isn't
2668 obvious).
2669 * The `install`, `update` and `uninstall` commands now ask for
2670 confirmation of changes before proceeding, in order to prevent
2671 mistakes, and to show the required application permissions.
2672 * The `uninstall` command now does not allow you to remove a runtime
2673 if some installed application requires it.
2674 * `flatpak remove` is now an alias for `flatpak uninstall`.
2675
2676 ## For Linux distributors, OS and platform developers
2677
2678 * Flatpak no longer requires a filesystem that supports `xattr`.
2679 * Portals are now more cleanly separated from Flatpak, thanks to the
2680 document portal and permission store having been moved to
2681 `xdg-desktop-portal`. It is recommended that the flatpak package has
2682 a weak dependency on `xdg-desktop-portal`.
2683 * `libflatpak` now has a transaction API for install, update and
2684 uninstall operations. This means that it is much easier to use as
2685 the basis of app centers and other graphical app management
2686 software.
2687 * Flatpak now sets several HTTP headers when installing applications,
2688 which make it easier for Flatpak repositories to log things like
2689 app download statistics and Flatpak versions in use.
2690 * It is now recommended that Flatpak packages add a dependency on
2691 p11-kit-server, as this allows apps to access host
2692 certificates. However, this does not need to be a hard dependency.
2693 * Requires bubblewrap 0.2.1 or later, and comes bundled with 0.3.0.
2694 * Requires OSTree 2018.7.
2695
2696 Major changes in 0.99.3
2697 =======================
2698
2699 * Fixed case where system install would sometimes fail
2700 due to the system-helper idle exiting.
2701 * Support installing flatpakref files in FlatpakTransaction,
2702 including a new signal add-new-remote for when remotes
2703 might be added.
2704 * Added some new FlatpakError codes.
2705 * We now support .flatpakrepo files with no gpg signatures
2706 * Fix crash in system-helper when updating appstream
2707 * New command create-usb which can be used to prepare
2708 an repo for offline updates.
2709 * Fix some non-handled cases of the CLI not working when
2710 /var/lib/flatpak doesn't exist.
2711 * Fix crash when running with a gid that is not in
2712 /etc/groups.
2713 * Add new permission-* commands to interact with the
2714 permissions store from the portals.
2715 * Include appdata in OCI bundle.
2716
2717 Major changes in 0.99.2
2718 =======================
2719
2720 * Fix race condition on instance id allocation
2721 * Translation updates
2722 * Build fixes for new glibc versions
2723 * Build fixes for new libsoup versions
2724 * Build fixes for old glib versions
2725
2726 Major changes in 0.99.1
2727 =======================
2728
2729 This is the first pre-release before flatpak 1.0. This is considered
2730 feature-complete and we expect no features or major changes before
2731 1.0, only bugfixes.
2732
2733 Note: There were some (minor) API changes in the FlatpakTransaction
2734 APIs that were added in 0.11.8, so please don't use the old
2735 version. (Note: I know of no user of this API).
2736
2737 Changes since last minor release:
2738 * Ostree 2018.6 is required, and with this, the p2p code in
2739 flatpak is made non-optional.
2740 * flatpak install/update/ininstall now lists all the operations
2741 that it will do and asks for confirmation before starting.
2742 * In the above confirmation the permissions (new permissions
2743 for updates) are shown for all applications.
2744 * The FlatpakTranscation API has a new ::ready signal that
2745 allows users to do similar confirmation prompts.
2746 * P2P updates are more efficient
2747 * system-wide installation uses less fsync calls so should
2748 installation should be faster.
2749 * New ssh agent permissions allows granting an app
2750 ssh access.
2751
2752 Major changes in 0.11.8.3
2753 =========================
2754
2755 * Fix a 25 second timeout on startup if using p11-kit < 0.23.10
2756 * Minor change in dbus proxy default filter, now broadcasts are
2757 not accepted from portals.
2758
2759 Major changes in 0.11.8.2
2760 =========================
2761
2762 * Fix crash when building some apps
2763 * Allow multiple appstream components per app
2764 * Fix handling of gl drivers in uninstall --unused
2765 * Don't prompt if nothing changed in uninstall --unused
2766 * Longer timeouts in test suite
2767 * Updated translations
2768
2769 Major changes in 0.11.8.1
2770 =========================
2771
2772 * Fixed regression running apps with --own=* permissions
2773
2774 Major changes in 0.11.8
2775 =======================
2776
2777 * Flatpak uninstall now accepts --all to remove everything and --unused to remove unused
2778 runtimes.
2779 * New command "flatpak repair" allows checking and repairing a flatpak installation.
2780 * New permission --allow=bluetooth allows use of AF_BLUETOOTH sockets
2781 * If p11-kit-server is installed on the host, this is now used to forward the host
2782 certificate trust store to the sandboxed app.
2783 * New transaction API in libflatpak that makes it much easier to implement
2784 installation and updates in frontends.
2785 * Flatpak uninstall now does not allow you to remove a runtime if some installed app requires it.
2786 * We now have tab-completion for zsh.
2787 * New installations of flatpak now defaults to bare-user-only repos, which means
2788 that it works with filesystems that don't support xattrs.
2789 * New flatpak info options: --show-location, --show-runtime, --show-sdk
2790 * New flatpak remote-info options: --show-runtime, --show-sdk
2791 * p2p operations now work when offline.
2792 * Work around hanging on app startup on blocking autofs mounts.
2793 * The dbus proxy filtering now works matches the new dbus containers filtering API.
2794 * Various optimizations make installation and updates faster. In particular
2795 operations like running triggers and pruning only happens once per
2796 install/update operation.
2797 * We now respect multiple extension versions matches when auto-downloading extensions.
2798 * New http header Flatpak-Upgrade-From sent when upgrading.
2799 * Commands like "flatpak info/list/remotes/search" now work properly if /var/lib/flatpak doesn't exist.
2800 * The bubblewrap version required for system-bwrap is now 0.2.1.
2801
2802 Major changes in 0.11.7
2803 =======================
2804
2805 * Fix regression in installing .flatpak bundles
2806
2807 Major changes in 0.11.6
2808 =======================
2809
2810 * Further work on the export filename regression, now also fixes the
2811 same issue as in 0.11.5 but in flatpak build-finish.
2812 * Fix segfault when installing from .flatpakref in gnome-software
2813 * Build yacc parser from source.
2814 * Don't tab-complete Sources/Locale/Debug extension by default.
2815 * Fix tests on debian.
2816
2817 Major changes in 0.11.5
2818 =======================
2819
2820 * Fix a regression which caused installation of epiphany and
2821 other apps that export multiple .service files to fail.
2822 * Fix appstream updates in p2p mode.
2823 * Don't distribute generated gdbus code with tarball.
2824 * Add documentation for the flatpak portal
2825
2826 Major changes in 0.11.4
2827 =======================
2828
2829 * flatpak remove is now an alias for flatpak uninstall.
2830 * flatpak uninstall now picks system or user automatically if not specified
2831 * New appstream branch format which is more efficient to distribute,
2832 the old is still generated for backwards compat.
2833 * Appstream data now contains compatible arches (for applications
2834 that doesn't exist for the primary arch). For example, an
2835 i386-only app is now listed in the x86-64 appstream.
2836 * The flatpak version is included in the user agent when downloading.
2837 * The Flatpak-Ref http header is set to the currently installing ref when
2838 downloading.
2839 * New argument --timestamp in build-commit-from.
2840 * When updating many apps we now only prune the local repo when all
2841 updates are done, making multi-app updates faster.
2842 * flatpak build now always allows multiarch use.
2843 * flatpak build now mounts app extensions during build.
2844 * flatpak build-init now supports --extension to add extension points earlier
2845 than build-finish. Also build-finish now supports --remove-extension.
2846 * New flatpak portal allows applications to sandbox themselves and restart a
2847 newer version of themselves.
2848 * New flatpak run options: --no-a11y-bus, --no-documents-portal.
2849 * Initial support for end-of-life:ing applications.
2850 * New option X-Flatpak-RunOptions in exported desktop/files allow you to specify
2851 no-a11y-bus and no-documents-portal.
2852 * Support for tagged extension points, which is useful if you want to use
2853 the same extension id (but maybe different versions) multiple times in an app.
2854 * We now export .service files for names that the app is allowed to own on
2855 the session bus.
2856 * libflatpak got new methods for listing remotes by type.
2857 * libflatpak now has support in FlatpakRemoteRef for getting remote metadata
2858 such as end-of-life, download size, metadata etc.
2859 * There was some internal restructuring on how installs/updates are done
2860 which should improve performance and maintainability.
2861
2862 Major changes in 0.11.3
2863 =======================
2864
2865 * Fix "open with" and flatpak run --file-forwarding crash
2866 * Fix build with glibc 2.27
2867
2868 Major changes in 0.11.2
2869 =======================
2870
2871 * Remove fuse dependency, since we don't ship document portal anymore
2872 * Fix various issues with /home being a symlink to /var/home (atomic)
2873 * Allow downgrades when using collection ids
2874 * Search on all supported architectures
2875
2876 Major changes in 0.11.1
2877 =======================
2878
2879 This release removes the document portal and the permission store as they
2880 have been added to xdg-desktop-portal 0.10. Packagers need to update
2881 these two in lock-step. Flatpak technically doesn't depend on
2882 xdg-desktop-portal, but it is recommended that the flatpak package
2883 depends on xdg-desktop-portal in some way, because most flatpaks will
2884 want it.
2885
2886 * Remove document portal and permission store
2887 * Add --socket=fallback-x11 permission
2888 * Fix dbus proxy vulnerability in authentication phase
2889 * Allow personality syscall in devel mode
2890 * commit-from: Migrate static deltas with commit
2891 * Add "network" storage type for installations
2892 * Add flatpak info --show-permissions
2893 * Add flatpak info --file-access
2894 * search: Update appstream (if stale) before searching
2895 * Make libflatpak work when /var/lib/flatpak is empty
2896 * build-bundle: Add --from-commit option
2897 * Allow appstream ids that don't end in .desktop
2898 * Make permission handling ignore unknown permissions for forwards
2899 compatibility
2900 * Removed incorrect error message in update --appdata when there
2901 was no updates
2902 * Fix handling of abort in the duplicate remote prompt
2903 * Fix division by zero in progress calculation
2904 * Fix flatpak remote-info --show-metadata
2905 * Fixed crash when installing some flatpak bundle files
2906 * Fix installation of telegram
2907 * remote-ls -u only considers app from the origin remote
2908 * Fix assertion error in extra-data progress reporting
2909 * Report nicer errors when trying to downgrade as non-root
2910 * pulseaudio: Try to find pulseaudio socket better
2911 * Fixed some warnings reported by coverity
2912 * Cleaned up code by splitting up some large source files
2913
2914 Major changes in 0.10.2
2915 =======================
2916
2917 * Flatpak now requires OSTree 2017.14
2918 * flatpak update now updates from both system and user installations
2919 by default.
2920 * flatpak update is less noisy when updating appstream info.
2921 * All the remote-* commands now by default automatically decide to use
2922 --user or --system based on the given remote name.
2923 * flatpak remote-ls with no remote lists the content of all remotes
2924 * Fixed regression that made xdg-user-dirs and theme selection
2925 for kde apps break.
2926 * flatpak override with no argument now overrides globally, i.e. for
2927 all apps.
2928 * flatpak override now supports --nofilesystem properly. For example
2929 flatpak override --nofilesystem=~/.ssh hides the ssh dir for all
2930 apps, even those who have homedir access.
2931 * flatpak install now takes a --reinstall argument which uninstalls
2932 a previously installed version if necessary. This is very useful
2933 when you want to install a new version from a different source.
2934 * flatpak install now allows you to pass an absolute pathname as
2935 remote name, which will create a temporary remote and install
2936 from that. The remote will be removed when the app is uninstalled.
2937 This is very useful during development and testing.
2938 * Flatpak now creates CLI wrappers for all installed apps, so if you
2939 add /var/lib/flatpak/exports/bin or ~/.local/share/flatpak/exports/bin
2940 to your PATH you can easily start flatpak apps by their application id.
2941
2942 Major changes in 0.10.1
2943 =======================
2944
2945 * New command "flatpak remote-info" shows information about applications
2946 in a remote. In particular the --log operation shows the history and
2947 can be used in combination with flatpak update --commit=XYZ to roll
2948 back to a previous version.
2949 * New command "flatpak search" which allows you to search the appstream
2950 data from the commandline.
2951 * flatpak update now updates appstream data for all configured remotes, which
2952 is important for search to work.
2953 * Allow automatic installation of gtk themes matching the active theme.
2954 * Handle the case when /etc/resolv.conf is a symlink
2955 * /usr an /etc are now expose in /run/host in the app if the app has
2956 full filesystem access.
2957 * flatpak remote-add now works as a user when /var/lib/flatpak is empty,
2958 allowing flatpak to work on stateless systems.
2959 * Add support for flatpak build --log-session/system-bus, similar to
2960 what flatpak run already does.
2961 * flatpak build --readonly runs with the target directory (normally /app)
2962 mounted read-only.
2963 * Fall back to LD_LIBRARY_PATH if a runtime doesn't have /usr/bin/ldconfig.
2964 * Updated the support for OCI remotes. This is work in progress and still
2965 disabled by default though.
2966
2967 Major changes in 0.10
2968 =====================
2969
2970 This is the first release in a new series of stable releases called
2971 0.10.x. New features will be added to 0.11.x, and bugfixes will be
2972 backported to 0.10.x. During the early phase of the 0.10.x series we
2973 may also backport minor features, but we guarantee backwards
2974 compatibility.
2975
2976 Changes since 0.9.99
2977 * Added the flatpak config option which can set the language settings
2978 * Fix issue where sometimes ld.so.conf were not generated
2979 * /dev/mali0 is added to --device=dri
2980 * Work around ostree static delta issues in some cases
2981
2982 Major changes in 0.9.99
2983 =======================
2984
2985 * Requires ostree 2017.12 for important pull stability fix
2986 * New libflatpak API: flatpak_dir_cleanup_undeployed_refs, flatpak_installation_prune_local_repo,
2987 flatpak_installation_remove_local_ref_sync, flatpak_installation_cleanup_local_refs_sync
2988 * build: FLATPAK_ID and FLATPAK_ARCH are now set in the environment when building
2989 * update: Don't fail the entire update if some remote fails to update its metadata
2990 * run: /.flatpak-info now lists exact commits and extensions in use
2991 * run: We now use a per-app ld.so.cache file when running. This should speed things up,
2992 and allows ldconfig to report the correct results.
2993 * The verbose mode was changed into two levels, use -vv to show the more detailed info, which
2994 currently only contains the full bubblewrap argument lists.
2995 * run: Some common problematic host environment variables are now unset in the sandbox
2996 (PYTHONPATH, PERLLIB, PERL5LIB and XCURSOR_PATH)
2997 * run: Fixed failure when a higher prio extensions depended on a lower prio one.
2998 * run: The extension ld path order is now: app extensions, app, runtime extension, runtime.
2999 This was previously incorrect in that the app could override app extensions.
3000 * Extensions are now not downloaded if a matching unmaintained extension is already installed
3001 * Preemptive changes to handle new bubblewrap change which doesn't user /newroot
3002 * document portal: Disable debug spew that was accidentally enabled
3003 * build-finish: New --extension-priority option
3004 * run: Fix regression in --persist in 0.9.98
3005 * run: Use sealed memfds (instead of just temporary files) when passing data to bubblewrap
3006
3007 Major changes in 0.9.98.2
3008 =========================
3009
3010 * Fix permission denied when using the system-helper
3011
3012 Major changes in 0.9.98.1
3013 =========================
3014
3015 * run: Fix homedir access if the app has --filesystem=host access
3016 * build-update: Fix appstream update in case one arch didn't change
3017
3018 Major changes in 0.9.98
3019 =======================
3020
3021 * libflatpak now correctly finds metadata for subset installations (like locale data)
3022 * flatpak build now supports --appdir which exposes the per-app directory in the
3023 user homedir. This is useful when testing builds.
3024 * The host fontconfig caches are exposed to the sandbox, next to the fonts in /run/host.
3025 This will (pending fontconfig work) allow sharing host fontconfig caches, allowing
3026 much faster initial startup for flatpak apps.
3027 * flatpak install now supports --no-pull
3028 * Added new extension property "locale-subset", which makes the extension point
3029 act like a locale extension (i.e. only install the subset configured by the
3030 locale).
3031 * flatpak remote-add --oci is disabled for now, as this is not up to date with
3032 the latest OCI work, and we don't want to break existing deployments if this
3033 has to change when this lands.
3034 * Parallel installation/updates are now safe because we take a filesystem lock
3035 whenever we prune the local ostree repo.
3036 * Flatpak run now works when important paths like $HOME, etc, are symlinks.
3037 * The ostree min-free-space property is is set to zero by default for the
3038 flatpak repos. This was causing a lot of problems for people, but the feature
3039 is still there if you manually enable it.
3040
3041 Major changes in 0.9.12
3042 =======================
3043
3044 * Fixed a regression in extra-data installation
3045 * Don't expose the a11y bus in flatpak build
3046
3047 Major changes in 0.9.11
3048 =======================
3049
3050 * You can now show all outstanding updates with: flatpak remote-ls --updates
3051 * The dbus filter "org.name.*" now means all subnames of org.name, not just
3052 the first level. This matches how dbus arg0namespace works, and how the
3053 coming dbus container support will work.
3054 * Fixed segfault on update
3055 * Better commandline tab completion
3056 * Flatpak now exposes host icons readonly as /run/host/share/icons to the sandbox.
3057
3058 Major changes in 0.9.10
3059 =======================
3060
3061 Fix regression in dbus proxy that causes some apps to not
3062 work in 0.9.9.
3063
3064 Major changes in 0.9.9
3065 ======================
3066
3067 flatpak-builder was split out into its own module:
3068 https://github.com/flatpak/flatpak-builder
3069
3070 * When downloading to a temporary directory for later install to the
3071 system repo we now write to /var/tmp instead of $HOME. This is more
3072 likely to be the same filesystem as /var/lib/flatpak, and thus will
3073 not run into issues with e.g. filesystem full.
3074 * We now get the default language list from AccountService if possible.
3075 * A regression that made --devel crash was fixed.
3076 * New feature for flatpakrefs, SuggestRemoteName=remotename will cause
3077 flatpak to ask if you want to create a generic (not app specific)
3078 remote for the repo url.
3079 * flatpak build now does not die with the parent by default, you have
3080 to pass --die-with-parent. This was done because die-with-parent
3081 uses PR_SET_PDEATHSIG which does not work well if the parent is
3082 threaded, like e.g. gnome-software is.
3083 * We now always re-set the personality in the sandboxed process
3084 in order to avoid inheriting weird settings.
3085 * We now share a single dbus proxy instance for all proxies for a sandbox.
3086 * dbus-proxy now properly disallows old-style eavesdropping.
3087 * We now support accessibility by starting a customized dbus proxy for the
3088 a11y bus.
3089
3090 Major changes in 0.9.8
3091 ======================
3092
3093 Core:
3094
3095 * Experimental support for peer2peer installation, enable with --enable-p2p
3096 * Add default language setting to flatpak config. Defaults to all locales for
3097 system installs and the users locale for per-user installs.
3098 * build-update-repo: Now always keeps the *two* latest deltas around to avoid
3099 race conditions with outstanding downloads at the time or running the update.
3100 * Support loading extra data from local lookaside cache.
3101
3102 Flatpak-builder:
3103
3104 * Set terminal title to the currently building module
3105 * Added ability to specify http url for sources mirror with --extra-sources-url.
3106 * --install-deps-from=REMOTE installs the dependencies needed for the
3107 manifest.
3108 * New option --delete-build-dirs to always delete build directories,
3109 even on a failed build.
3110 * New property "add-extension" makes it nicer to create extension points.
3111
3112 Major changes in 0.9.7
3113 ======================
3114
3115 * Don't re-download git repo when bundling sources
3116 * Build modules with no source if buildsystem is "simple"
3117 * Build cleanups
3118
3119 Major changes in 0.9.6
3120 ======================
3121
3122 This version requires the latest ostree version (2017.7) because it
3123 uses a new feature that hardens the security of flatpak. Previously,
3124 if you installed to a system-wide repository, the files created for an
3125 application were as specified by the remote repo, but owned by root,
3126 which could include problematic permissions like setuid or
3127 world-writable. We now never create such problematic files or
3128 directories on disk. Flatpak export was also changed to never
3129 create problematic files in new apps.
3130
3131 Related to this, newly created flatpak installations also use the
3132 new "bare-user-only" mode for the repositories, which means you
3133 can now install applications even if your filesystem does not
3134 support extended attributes.
3135
3136 Other changes:
3137
3138 * flatpak info --show-metadata now only shows the metadata, in
3139 a machine parseable way.
3140 * build-export now records the flatpak version in the commit message
3141 * builder: The .pyc timestamp fixer now allows .pyc files with no
3142 corresponding .py file.
3143 * builder: New feature 'inherit-extensions' lets you copy extension
3144 info from the parent runtime.
3145 * builder: Set ExtensionOf in auto-created extensions (like Locale
3146 and Debug)
3147 * builder: Setting CPPFLAGS now works
3148
3149 Major changes in 0.9.5
3150 ======================
3151
3152 Changes in flatpak:
3153
3154 * Fix installation of installed tests
3155 * Don't show an error when updating if a remote is disabled
3156 * Store the app id in the X-Flatpak key when exporting a
3157 desktop file.
3158 * flatpak run: Handle paths when rewriting %u urls during
3159 file forwarding.
3160 * builder: Always assume separate builddir when using meson, as
3161 meson only works with this.
3162 * document-portal: The app-specific directory is always accessible
3163 to the app, take this into consideration for AddFull.
3164 * builder: Don't warn for unknown keys if they start with x-
3165 * Fix a race condition when restarting the document portal
3166 * build-update-repo: Don't list removed deltas in the summary
3167 * list: Don't show .Locale/.Debug/.Sources by default. Show with -a.
3168 * remote-ls: Don't show .Locale/.Debug/.Sources, or non-primary
3169 arches (unless the primary does not exist) by default.
3170 Show with -a.
3171 * dbus-portal: Fix handling of NameHasOwner
3172 * builder: Add --export-only to export a previous build.
3173 * run: Allow regular files for --filesystem=xdg-config/path
3174 * run: Allow --filesystem=xdg-config/subdir:ro (previously
3175 it needed to be writable).
3176 * build-commit-from: Properly handle xa.ref when rewriting
3177 refnames.
3178
3179 Major changes in 0.9.4
3180 ======================
3181
3182 Changes in flatpak:
3183
3184 * Now requires ostree 2017.6 and bubblewrap 0.1.8
3185 * Better progress reporting in CLI and UI
3186 * Improved output from commands info, list, remotes,
3187 remote-ls: More detail, colors, nicer table formatting.
3188 * New command flatpak repo that lets you show information
3189 about local repositories.
3190 * When launching exported desktop files, the paths
3191 passed to it are automatically created as documents
3192 to allow access to the arguments, if needed.
3193 * Flatpak install of an already installed application is
3194 now a warning, not an error.
3195 * flatpak build now kills all the processes in the
3196 sandbox when it exits.
3197 * flatpak update --subpath=... now updates the app event
3198 if there is no new upstream version, but the subpath is
3199 different from what is currently installed.
3200 * Exports are now whitelisted, and the only thing you can
3201 export are:
3202 desktop files, icons, dbus services, mime definitions, and
3203 gnome-shell search providers
3204 * Exported gnome-shell search providers are automatically
3205 disabled by default.
3206 * Exported mimetypes are rewritten to only allow globs, and to
3207 make the globs have a low priority vs system mime info.
3208 * A remote can now redirect to a new URL and/or a new GPG key, by
3209 using build-update-repo --redirect-url=URL --gpg-import=FILE.
3210 When clients see this they permanently change the local configuration.
3211 This is very useful when migrating official repositories.
3212 * flatpak caches in the homedir are now stored in ~/.cache
3213 (or $XDG_CACHE_HOME) instead of ~/.local/share/flatpak/system-cache.
3214 * Added version field to all exported dbus interfaces.
3215 * New AddFull method in the Document Portal, which allows
3216 exporting multiple files, as-needed by a particular target
3217 app. This is useful for implementations of dbus activation
3218 for desktop files.
3219 * New flag --no-static-deltas for install/update without
3220 using static deltas. Mostly useful for debugging.
3221 * TMPDIR is now unset in the sandbox, if set on the
3222 host. Each sandbox has a personal /tmp that is used.
3223 * Flatpak run now works if /tmp is a symlink on the
3224 host.
3225 * /etc/hosts and /etc/hosts.conf from the host are now exposed
3226 in the sandbox in addition to /etc/resolv.conf.
3227 * Titles and default branches are now automatically updated from
3228 the remote unless they are explicitly set. You no longer have
3229 to run flatpak remote-modify --update.
3230 * Some performance improvements when installing apps.
3231 * When exporting a build, the commit objects now always include
3232 the branchname, the metadata and install/download size.
3233 The sizes are reused for faster summary building, and the
3234 others changes are for future use. The fields are verified
3235 against the deployed metadata during installation, so it
3236 is trusted.
3237 * Fixed minor race condition in portal application identification.
3238 * lib: New flatpak_installation_update_appstream_full_sync method
3239 that allows progress reporting.
3240 * bash-completion: Fix out-of-bounds read that could produce
3241 weird completion at times.
3242
3243 Changes in flatpak-builder:
3244
3245 * Added support for appdata screenshot mirroring.
3246 * New property "install-rule" lets you change what Makefile rule to
3247 use in the install phase.
3248 * The git "commit" property can now specify both a tag object and the
3249 commit object it refers to.
3250 * New cppflags property, similar to e.g. cflags.
3251 * The "env" property now overrides the cflags/cxxflags/ldflags
3252 properties, to allow these to be reset.
3253 * Initial checkout of git/bzr to a temporary directory so that errors
3254 during checkout do not persist.
3255 * Properly take the "buildsystem" field into account when calculating
3256 cache freshness.
3257 * Don't crash if appstream-compose fails.
3258 * "ldflags" property now works correctly.
3259
3260 Major changes in 0.9.3
3261 ======================
3262 Changes in flatpak-builder:
3263
3264 * "rename-icon" renames in translated icons too
3265 * Moved manifest format docs to own manpage, "flatpak-manifest".
3266 * "bootstrap.sh" is now recognized as an autogen.sh alternative
3267 * Fall back to not using rofiles-fuse if it is not available.
3268 * Make sure flatpak-builder --run grants the app access to dbus.
3269 * Make paths paths for module includes and module dependencies
3270 relative to the included module rather than the "base" json file.
3271 * When cross-compiling 32bit apps on 64bit arches (like i386 on x86-64)
3272 then we automatically set a linux32 personallity.
3273 * Print warnings for unhandled json properties.
3274 * Make sure flatpak-builder --run works if --extra-data is in the
3275 finish args.
3276 * Take build-commands into consideration when considering if the
3277 build cache is stale.
3278 * Support for --extra-sources= to pre-seed downloaded sources.
3279 * Support for --bundle-sources which creates a runtime with the sources
3280 that were used to build the app.
3281 * Handle trailing whitespace in git submodule uris
3282 * Progress reporting while downloading files.
3283
3284 Other changes:
3285 * build-export now always exports directories as readable and executable.
3286 * build-update-repo --generate-static-deltas now fork the work process
3287 rather than using threads, which avoids problems with this using
3288 a lot of memory in a single process in some cases.
3289 * Report flatpak version in HTTP request user agent.
3290 * New "flatpak repo" command added that has some options for maintaining
3291 a repository.
3292 * flatpak info can now report more information and handles multiple
3293 installed branches better.
3294 * Support non-default WAYLAND_DISPLAY environment var.
3295 * Handle application ids that end with .desktop when generating
3296 appstream data.
3297 * Documentation updates
3298
3299 Major changes in 0.9.2
3300 ======================
3301
3302 * Fixed a use-after-free and some leaks in the dbus-proxy. This
3303 is not currently believed to be exploitable, but the proxy is a
3304 security boundary, so we still recommend to update.
3305 * Regular updates now never allow updates to an older version
3306 than what is currently installed (unless you explicitly specify
3307 an old commit id). This closes a hole where a MITM attacker can
3308 force clients to downgrade to an earlier (gpg-signed) version of
3309 the application.
3310 * The automatic detection of --from in flatpak install now detects
3311 flatpakref extensions even in URIs that end in a query string such as
3312 https://git.gnome.org/browse/gnome-apps-nightly/plain/gedit.flatpakref?h=stable
3313 * OCI support now supports GPG signatures
3314 * OCI support now works with the system-helper for unprivileged systemwide
3315 installation.
3316 * Experimental support for the new ostree bare-user-only repo mode that
3317 allows flatpak to run on filesystems without xattrs. Set
3318 FLATPAK_OSTREE_REPO_MODE=user-only in the environment to use this.
3319 * builder: New property disable-fsckobjects for git sources
3320 * builder: New property commit for git sources. This lets you specify
3321 both a tag (for readability) and a commit id (to ensure the tag doesn't
3322 change).
3323 * builder: The manifest file format docs have been split out into its
3324 own manpage.
3325 * builder: App manifests now support specifying sdk-extensions that has
3326 to be installed for the app to build.
3327 * builder: When creating the platform, remove all sdk-specific extensions,
3328 allowing creation of sdk-specific extensions.
3329 * builder: Correctly handle absolute pathnames in the specified
3330 command.
3331 * builder: Support --default-branch which defined the branch to build in
3332 case the manifest doesn't specify one.
3333 * When exporting builds to ostree we now use the canonical permissions
3334 for bare-user files, which means the resulting builds can safely
3335 be used with the new ostree bare-user-only repository type.
3336 * The detection of "unmaintained" system extensions was broken, and
3337 in some cases these extensions were not found. This now always
3338 works.
3339 * Flatpak now builds with latest OSTree. This required some fixing for
3340 multiple definitions of the g_auto* macros as OSTree now exports
3341 those.
3342 * We no longer rely on ostree trivial-httpd for the tests, because
3343 this is optional in later versions of ostree. Instead we use
3344 they python SimpleHTTPServer.
3345 * The minimum glib version has been corrected to 2.44.
3346 * The minimum automake version has been increased to 1.13.4
3347 because some older version didn't work.
3348
3349 Major changes in 0.9.1
3350 ======================
3351
3352 This release mostly has changes to flatpak-builder and the build
3353 machinery. All flatpaks built with this version can run
3354 on flatpak 0.8.x, but there has been additions and minor
3355 changes in flatpak-builder that may require minor changes
3356 to existing builder manifests, see below.
3357
3358 The flatpak-builder build cache now uses an ostree feature called
3359 rofiles-fuse. This allows the build to work directly against
3360 hardlinked checkouts of the cache, because rofiles-fuse disallows
3361 writes to the hardlinked files (but allows replacing them). This makes
3362 cache commits and checkouts much faster. However, it also means that
3363 installation cannot do in-place modification of files in the
3364 installation directory. There is a new per-module property called
3365 "ensure-writable" that takes a list of patterns and ensures all files
3366 matching them are writable (by manually breaking the hardlinks). This
3367 may need to be added to some manifests to keep them building in the new
3368 version.
3369
3370 The cflags and cxxflags module properties now work by appending,
3371 rather that replacing, when there are multiple values specified. For
3372 instance, the per-arch or per-module cflags will be appended to the
3373 base cflags. This may cause old json files do duplicate cflags in
3374 some cases. Normally compiler flags are repeatable without problems
3375 though, so it is unlikely to cause problems.
3376
3377 Here are a short summary of the rest of the flatpak-builder changes:
3378
3379 * The build cache was changed so that it is not invalidated if
3380 the installed version of the SDK changed. This means that the app
3381 will not rebuilt if you updated the SDK. This is generally the right
3382 thing to do, as SDKs are meant to be compatible. If you want
3383 to avoid this (for instance when building against an unstable sdk)
3384 you can use the --rebuild-on-sdk-change argument.
3385 * The build cache is now per-arch, so building on one arch doesn't
3386 invalidate the cache for another arch.
3387 * New buildsystem "cmake-ninja" which works like "cmake", but builds
3388 using ninja, rather than make.
3389 * New buildsystem "simple" which doesn't use configure or make, it
3390 just runs a set of shell commands specified in the "build-commands"
3391 property. Note: build-commands is also available to other buildsystems
3392 and are run between make and make install.
3393 * flatpak-builder now has build-runtime and build-extension properties that
3394 makes it easier to build runtimes and extensions.
3395 * FLATPAK_DEST is set in the build environment to the installation
3396 destination (i.e. typically /app). It is particularly useful when
3397 building an extension where the destination is more complex.
3398 * flatpak-builder now supports --from-git=URL which pulls the
3399 json manifest and related files directly from a git repo.
3400 * modules have a new no-make-install property which skips
3401 the make install step.
3402 * Modules and sources have only-arches and skip-arches properties,
3403 which lets you enable/disable them based on the build architecture.
3404 * build-options has a new property ldflags, which is similar
3405 to cflags and cxxflags.
3406 * flatpak build (and thus flatpak-builder --run) now supports
3407 dbus proxies when needed.
3408 * All git repos are cloned with fsckObjects=true, which means
3409 we verify that the repos are valid.
3410 * New flatpak-builder argument --build-shell=MODULE extracts and
3411 prepares the sources for a specified module and then starts
3412 a build sandbox inside it.
3413
3414 There are also some other changes:
3415
3416 * build-export: Now supports --timestamp=ISO-8601-TIMESTAMP, which
3417 allows you to create reproducible commits.
3418 * The OCI support has been updated to the latest version of the
3419 OCI image specification format.
3420 * There is a new flatpak-bisect script that can be used to bisect
3421 flatpak applications, looking for regressions.
3422 * flatpak list got a revamp. It now shows more information, and
3423 shows both apps and runtimes by default.
3424 * flatpak remote-list was renamed flatpak remotes in order
3425 to minimize confusion with flatpak remote-ls. The old name
3426 is deprecated but still works.
3427
3428 Major changes in 0.8.4
3429 ======================
3430
3431 In addition to the regular list of bugfixes this stable release
3432 include backports of one more feature required for making OpenGL work
3433 well. Now extra-data using extensions (such as the nvidia driver) can
3434 specify that it doesn't need a runtime to run its apply script. We use
3435 this in the nvidia driver by making the script a static binary, which
3436 lets us use the nvidia driver for multiple runtimes without requering
3437 that a particular one is installed. We also support an extension point
3438 supporting multiple versions, which will be use for sharing the
3439 nvidia driver between different runtime versions.
3440
3441 Additional fixes:
3442 * Documentation fixes
3443 * Crash fixes
3444 * Fix xauth propagation in some cases
3445 * Don't remove origin remotes on uninstall if some other app
3446 is installed from it.
3447 * Don't reset what locales are installed when updating a locale
3448 extension
3449 * Disable splice for the documentation portal as it seems
3450 to be broken in fuse
3451 * Append, don't override XDG_DATA_DIRS in profile script
3452 * Fix progress reporting in libflatpak to go from 0 to
3453 100% once, merging the various phases.
3454
3455 Major changes in 0.8.3
3456 ======================
3457
3458 In addition to the regular list of bugfixes this stable release
3459 include backports of a the updated OpenGL support from master. This,
3460 in combination with the work in the runtime allows flatpak to work out
3461 of the box with out-of-tree OpenGL drivers, including the nvidia
3462 driver.
3463
3464 Additionally, due to some complicated issues wrt ptrace and user
3465 namespaces this version disables the use of user namespaces if
3466 bubblewrap is setuid, as it cause problems for the way flatpak
3467 portals identifies applications. (See issue #557 for details)
3468
3469 * Better handling of errors for extra-data
3470 * Handle extra-data properly for runtimes (as well as apps)
3471 * Respect required version for runtimes (as well as apps)
3472 * flatpak list: Don't break if some local ref is not deployed
3473 * builder: Look for appstream data in /app/share/metadata also
3474 * builder: Fix buildsystem=cmake builds
3475 * Add progress reporting to extra-data download
3476 * Fix uid/gid for directories in document portal
3477
3478 Major changes in 0.8.2
3479 ======================
3480
3481 This is a bugfix and security update.
3482
3483 Some of the bind-mounts that flatpak sets up were not read-only as
3484 they should have. This includes: extensions, system fonts,
3485 resolv.conf, localtime and machine-id. Many of these are typically only
3486 writable by root, but some, like the user-specific fonts and
3487 user-installed extensions could be modified from the sandbox.
3488
3489 Everyone using 0.8.x is recommended to update to this version.
3490
3491 Other fixes:
3492
3493 * There are new configure options for where to install dbus configuration
3494 * Broken symlinks in the root directory no longer break flatpak run
3495 * flatpak run with HOME in /var now works
3496 * dri access now also handles mali devices
3497 * install handles --arch when installing flatpakrefs
3498 * system-helper activation fixed on systemd-less setups
3499 * dbus-proxy now works without /run
3500 * During installation, failing to update a dependency is now not
3501 fatal.
3502 * /etc is now fully writable when building runtimes
3503 * --filesystem=xdg-config/foo now sets up the bind-mount from the host dir
3504 even when not using :create.
3505
3506 Major changes in 0.8.1
3507 ======================
3508
3509 This is a bugfix and security update (CVE-2017-5226).
3510
3511 Flatpak now uses seccomp to disallow the TIOCSTI ioctl in the sandbox,
3512 which works around the possibility to inject text on the controlling
3513 tty (CVE-2017-5226).
3514
3515 This was previously fixed in bubblewrap in 0.1.6, but that change has
3516 now been reverted as it introduced other problems for flatpak.
3517
3518 * Update bundled bubblewrap to 0.1.7
3519 * Fix writing new file with O_EXCL in the document portal.
3520 * Allow appstream data that doesn't have .desktop in the component id,
3521 such as data for runtimes.
3522 * Drop json-glib dependency from 1.2 to 1.0
3523 * Builder: Fail if unable to read included file
3524 * OCI: Ensure exported layers are readable by everyone
3525 * Fix extra-data download in gnome-software
3526 * Fix update-mime-database trigger when installing via
3527 the system helper.
3528 * Updating an app by installing a newer bundle now works
3529 again.
3530 * Make /var/tmp not be on a tmpfs (it is now in
3531 ~/.var/app/$appid/cache/tmp).
3532 * Documentation / translation updates
3533
3534 Major changes in 0.8.0
3535 ======================
3536
3537 This is the first release in a new series of stable releases called
3538 0.8.x. New features will be added to 0.9.x, and only bugfixes will be
3539 backported to 0.8.x. The featureset of this release is a good base to
3540 target if you're creating flatpaks that should be widely usable.
3541
3542 This release technically requires only OSTree 2016.14, and it build
3543 fine with this, but we recommend using OSTree 2016.15, because of the
3544 change in how it verifies the checksums of commits in delta files.
3545
3546 * Flatpakrepo files now support a RuntimeRepo= key which points to
3547 a flatpakrepo file. This means the user don't have to manually
3548 configure a remote for the runtime, just reply to the prompt
3549 to automatically do this when installing the app.
3550 * We now support dependencies when installing bundles. This includes
3551 required runtimes, related refs, and the equivalent of RuntimeRepo.
3552 * The support for OCI in flatpak has been updated to the latest
3553 OCI spec version, and support has been added to directly install
3554 flatpak applications from an OCI image.
3555 * In flatpak install, the --from and --bundle options are now optional
3556 if the argument has the correct suffix (.flatpakref and .flatpak)
3557 * Flatpak install now supports -y to let you avoid interactive prompts.
3558 * build-finish: We now export mime type files with the right name.
3559 * build-finish: New --require-version option let you specify a particular
3560 version of flatpak, and older version of flatpak will not install
3561 or update to the new version.
3562 * build-sign: Allow signing all apps by omitting the id.
3563 * Fix regression in the document portal when adding named files.
3564 * build-import-bundle now signs the commit if you specify a gpg key.
3565 * Flatpak now reads configuration from /etc/flatpak/installations.d
3566 which lets you support multiple system-level installation paths.
3567 These can be accessed with new --installation=... arguments to
3568 most of the commands.
3569 * flatpak-builder: Support --jobs=N to limit parallel builds
3570 * flatpak-builder: Patch source got new options property that lets
3571 you pass arguments to patch.
3572 * flatpak-builder: New generic "buildsystem: type" option that
3573 replace the (now deprecated) "cmake: true" option. This
3574 supports "autotools", "cmake" and "meson".
3575
3576 Major changes in 0.6.14
3577 =======================
3578 * Update bundled bubblewrap to 0.1.4 which has some nice bugfixes.
3579 If you are using an external bubblewrap it is recommended, but
3580 not required to update.
3581 * Requires OSTree 2016.14, which allows us to drop some old
3582 workarounds.
3583 * When installing an application system-wide, don't consider
3584 dependencies that are installed for the user only.
3585 * Flatpak install --from now tries to reuse existing remotes to
3586 avoid creating unnecessary origin remotes.
3587 * Using --filesystem=$dir when $dir is a symlink-to-directory now works.
3588 * Using --filesystem=$file to expose unix sockets to the app is now
3589 allowed.
3590 * By default all the directories in ~/.var/app (except the app), as
3591 well as ~/.local/share/flatpak are hidden in the sandbox.
3592 * New option --filesystem=$dir:create which will create the destination
3593 if it did not previously exist.
3594 * --filesystem= now supports for xdg-[config|cache|data]. This
3595 allows you access to the host versions of these xdg dirs. Additionally
3596 if you use these with a subdirectory, like:
3597 --filesystem=xdg-config/subdir
3598 then that subdirectory on the host will be shared with the per-app
3599 instance of the xdg-dir.
3600 * Builder now correctly handles app-ids that have dashes in them.
3601 Previously this generated invalid ids for the debuginfo and locale
3602 extensions.
3603 * The experimental OCI file format support was changed from creating an
3604 OCI container to creating an OCI image.
3605 * Fix regression where "flatpak update --appstream remotename" broke
3606
3607 Major changes in 0.6.13
3608 =======================
3609 * The command line arguments for install/update/uninstall changed
3610
3611 These used to take an application id and an optional branch name as
3612 two arguments. This meant you could not specify multiple apps
3613 to install in a single command. So, instead of having the branch
3614 as a separate argument we now support partial references.
3615 If you only specify an id we try to match the rest as best we
3616 can depending on what is installed/available, but if this
3617 matches multiple things you have to specify more details.
3618
3619 For example you can use:
3620 * org.my.App//stable - Any compatible arch, stable branch
3621 * org.my.App/x86_64 - x86-64, look for available branch
3622 * org.my.App/x86_64/stable - exact reference
3623
3624 This means install/update/uninstall can now install multiple apps
3625 in a single operation.
3626
3627 * Application runtime depencenies are checked/downloaded
3628
3629 Whenever you install or update an application we check that the
3630 required runtime is installed. If not, we check if it is available
3631 in any configured remote, and if found asks the user if/where to
3632 install it from. If it is not found, the install/update fails.
3633
3634 You can mark remotes as --no-use-for-deps, which means flatpak will
3635 never search for runtime dependencies in such remotes. This makes
3636 the dependency search faster if you have app-only remotes.
3637 It is recommended that app-only .flatpakrepo file define this
3638 by specifying NoDeps=true.
3639
3640 * remote-add and install --from now supports uris
3641
3642 This means you can install flatpakrefs and flatpakrepos in a
3643 single command like so:
3644
3645 * flatpak remote-add --from gnome https://sdk.gnome.org/gnome.flatpakrepo
3646 * flatpak install --from https://sdk.gnome.org/gedit.flatpakref
3647
3648 * flatpak run can now launch a runtime directly
3649
3650 For example, "flatpak run org.gnome.Platform//3.22" will launch a shell
3651 inside a sandboxy with the gnome 3.22 runtime and an empty /app.
3652 This is useful for development and testing.
3653
3654 * included bubblewrap was bumped to 0.1.3 which has a security fix
3655 * Support for defining the default branch per remote
3656 * remote-add/modify: --update-metadata pulls current title and default branch
3657 from remote summary file
3658 * Applications can now list a set of URIs that will be downloaded with the
3659 application. The app can then extract these and use as a part of the
3660 application data. This is useful for applications using freely downloadable
3661 parts that can't be redistributed elsewhere.
3662 * flatpak-builder: Support --finish-only and --allow-missing-runtimes
3663 * flatpak-builder: Support app layering
3664
3665 An app can define a "base" application which is used for the initial
3666 content before the application is built. This way applications can
3667 be built in a layered fashion.
3668
3669 * dbus proxy: The filtering has been tightened up
3670 * build-finish: Now exports icons for themes other than hicolor too
3671 * There is support in the app metadata for generic policies.
3672
3673 These are read and propagated and supports overriding, but are
3674 not otherwise interpreted by flatpak. They can be used by other
3675 host services as static permissions for the application.
3676
3677 * Support for extensions directories
3678
3679 In addition to using flatpak maintained runtime as an extensions
3680 flatpak can now use raw directories in ~/.local/share/flatpak/extension
3681 and /var/lib/flatpak/extension. For example, if you create a
3682 directory called org.freedesktop.Platform.GStreamer.MyPlugins/x86_64/1.4
3683 there it will be used as a source for gstreamer plugins for all
3684 runtimes based on the freedesktop 1.4 runtime.
3685
3686 Major changes in 0.6.12
3687 =======================
3688 * Partial revert in application id rules. Application ids
3689 can now only have dashes in the last element. This allows
3690 apps to export files such as org.my.App-extra.desktop which
3691 was used by the libreoffice builds.
3692 * By default the kernel keyring is not accessible, as it is
3693 not containable.
3694 * Some robustness fixes for build-commit-from
3695 * Better error messages
3696 * flatpak update --appstream now updates for all remotes
3697 * Made flatpak enter work, and you can now use any pid in the sandbox.
3698 However, it requires root permissions.
3699 * Support for --device=kvm for /dev/kvm access
3700 * Support for --allow=multiarch to support non-primary arch support.
3701 For example running i686 code in an x86_64 app.
3702 * Add new default-branch setting for the remote configuration
3703
3704 Major changes in 0.6.11
3705 =======================
3706
3707 * Dashes are now allowed in application ids. However, to still work with
3708 symbolic icon names, they may not end with "-symbolic".
3709 * HostCommand now handles ptys correctly
3710 * Various documentation updates
3711 * New FLATPAK_CHECK_VERSION macro in libflatpak
3712 * HostCommand now returns the real PID rather than a fake one.
3713 * Fix regression in flatpak update --appstream
3714 * Fix regression installing bundles without origin urls
3715 * New flatpak-builder option --show-deps lists all the files
3716 the manifest depends on.
3717
3718 Major changes in 0.6.10
3719 =======================
3720
3721 * Dropped requirement for systemd --user.
3722 The way we detect if an process we're talking to is sandboxed, and
3723 what application id it has doesn't use cgroups anymore, which means
3724 that the dependency on systemd in the user session is now optional.
3725 This also means the --no-desktop argument is not needed any more.
3726 (It is still accepted but does nothing.)
3727 * Initial support has been added for .flatpakref files. These are simple key
3728 value files similar to .flatpakrepo files, however they specify an application
3729 to install in addition to the repo information. For example, gedit can be
3730 installed by downloading https://sdk.gnome.org/gedit.flatpakref and running:
3731 flatpak install --from gedit.flatpakref
3732 There is also library support for this so it can be added to graphical
3733 installers (such as gnome-software).
3734 * Requires OSTree 2016.10. The change in how OSTree handles mtimes in
3735 checkouts that was introduced in 2016.7 has been reverted, and
3736 the required changes in Flatpak has been made. This means that
3737 flatpak now depends on OSTree 2016.10.
3738 * Requires Bubblewrap 0.1.2 for builds using the system bubblewrap.
3739 Builds using the included copy need no changes.
3740 * The $XDG_RUNTIME_DIR/flatpak-info file has added information
3741 about the running application, and is now also securely available
3742 for a running application from the host as "/proc/$fd/root/.flatpak-info".
3743 This is what is used to identify remote apps instead of the cgroup
3744 info.
3745 * A new run permission --allow=devel has been added. An application with
3746 this permission is allowed to use ptrace and perf. This was previously
3747 only available during "flatpak build" and "flatpak run -d". This
3748 is useful if you're packaging e.g. an IDE.
3749 * When an application is updated or removed a /app/.updated or /app/.removed
3750 file is created for running instances. This can be used by applications to
3751 trigger e.g. a restart for the new version.
3752 * A new dbus request "HostCommand" has been added to org.freedesktop.Flatpak.
3753 This lets you run any command on the host, and is therefore clearly not
3754 sandboxed, so access to this should be limited. However, it is very useful
3755 if you're using flatpak mainly as a distribution mechanism, for a non-sandboxed
3756 application.
3757 * flatpak-builder now supports running from inside a flatpak, by auto-detecting
3758 this and using the HostCommand service to run recursive flatpaks.
3759 * Consecutive calls to flatpak build-update-repo has been speed up.
3760 * The document portal now allows sandboxed applications to create references
3761 to files in /app and /usr (in the app/runtime).
3762 * The update process noew doesn't stop at the first failure.
3763
3764 Major changes in 0.6.9
3765 ======================
3766
3767 * Dropped dependency on libgsystem
3768 * Allow passing partial refs whenever a CLI command takes
3769 an app or runtime name.
3770 * New command build-commit-from creates a new commit based
3771 on the contents of another commit (optionally from another
3772 local repo).
3773 * The sandbox now contains $XDG_RUNTIME_DIR/app/$APPID from the
3774 host (and the directory is created if needed).
3775 * update: Better output, and faster for the no updates case
3776 * build-export: Don't make most validation errors fail, instead
3777 just print a warning.
3778 * builder: Support local path references for git sources
3779 * builder: Better handling of recursive git submodules
3780 * builder: Fixed issues with the .pyc mtime rewriting
3781 * builder: Handle symbolic icons for rename-icon
3782 * builder: Add --stop-at=$module to do partial builds
3783 * builder: Add --sandbox flag to disable the build from escaping
3784 from the sandbox via build-args.
3785
3786 Major changes in 0.6.8
3787 ======================
3788
3789 * Requires OSTree 2016.7, allowing us to enable use of static delta
3790 for system downloads again.
3791 * Support --no-desktop which allows you to run a flatpak app outside
3792 a desktop, with some loss of functionality (for example, there
3793 will be no systemd --user scope created for the app)..
3794 * More documentation.
3795 * Memory leak fixes.
3796 * Initial support for rpms as flatpak-builder archive sources.
3797 * Start work on translating the CLI.
3798 * Install systemd config snippet to set the right XDG_DATA_DIRS path.
3799 * Support --arch in flatpak list.
3800 * Support access() in the document portal.
3801 * Validate exported desktop files.
3802
3803 Major changes in 0.6.7
3804 ======================
3805
3806 * Automatically download and update related references such
3807 as locales when using the CLI.
3808 * lib: Support for getting related references
3809 * Document metadata format
3810 * Support build using system-installed bwrap
3811 * Allow access to the journal socket in the sandbox
3812 * builder: Support applying patches with git (useful for binary diffs)
3813 * Require ostree 2016.6
3814
3815 Major changes in 0.6.6
3816 ======================
3817
3818 * Better support for multi-arch (for instance, will automatically install
3819 i386-only app on x86_64 without user having to specify --arch).
3820 * Support --device=all to access the full host /dev
3821 * More command line support for managing exported documents
3822 * Extended API for the document portal: Lookup, Info, List
3823 * flatpak-builder: Support initializing /var from a runtime
3824 extension.
3825 * Disable static deltas when updating via the system helper to
3826 work around bug in ostree.
3827
3828 Major changes in 0.6.5
3829 ======================
3830
3831 * Documentation improvements
3832 * builder: Check that the specified command exists after build is done
3833 * builder: Fix up mtime in headers for python precompiled files
3834 * builder: Allow submodules and including modules from other json files
3835 * system-helper builds are optional (--disable-system-helper)
3836 * system-helper: Support installing from local remotes and bundles
3837 * Improved support for --subpath installs, including libflatpak support
3838 * Improved command line completion
3839
3840 Major changes in 0.6.4
3841 ======================
3842
3843 * Fix an issue where flatpak sometimes created empty "repo"
3844 directories in the CWD
3845
3846 Major changes in 0.6.3
3847 ======================
3848
3849 * Fix resolv.conf regression in `flatpak build`
3850 * Fix LD_LIBRARY_PATH override support in `flatpak build`
3851 * Support forwarding app permissions in `flatpak-builder --run`
3852 * Flatpak is now smarter about the default branch to use in most operations
3853 * update will not fail on the first error if updating several things
3854 * New much more complete bash completion system
3855 * Faster installations
3856 * Support new keyfile format for remote-add --from=file
3857
3858 Major changes in 0.6.2
3859 ======================
3860
3861 * Fixed no-network support regression in setuid mode.
3862 * Fixed creation of root-owned file in home dir when using sudo in some cases
3863 * New --with-privileged-group configure option
3864
3865 Major changes in 0.6.1
3866 ======================
3867
3868 * Fixed support for systems without user namespaces (default for Arch) or
3869 unprivileged support for user namespaces (default for Debian).
3870 * Fix memory leak during install/update.
3871 * update: Fix support for --arch.
3872 * Set the right location for the system directory in the environment.
3873 * system-helper: Support updating without deploying (needed for
3874 gnome-software support).
3875 * lib: Fix support for updates
3876
3877 Major changes in 0.6.0
3878 ======================
3879
3880 Renamed from xdg-app to Flatpak. Existing repositories should keep
3881 working, and locally user installed apps/runtime will be migrated
3882 automatically. However, there are some things that you have to be
3883 aware of:
3884 * The command names are now flatpak/flatpak-builder
3885 * System-wide installed apps/runtimes need to be reinstalled
3886 * flatpak-builder uses a ".flatpak-builder" subdirectory instead
3887 of ".xdg-app-builder".
3888 * The bus name and interface name for the permission
3889 store is changed, it was in org.freedesktop.XdgApp, but is
3890 now in org.freedesktop.impl.portal.DesktopPortal.
3891 * The installation migration is a one-time operation so you can't
3892 go back to xdg-app after updating.
3893 * The library API (and name) changed due to the rename.
3894
3895 Other changes:
3896 * Flatpak now hard-requires ostree 2016.5
3897 * Switch from using xdg-app-helper to an included version of bubblewrap:
3898 https://github.com/projectatomic/bubblewrap
3899 * Added a policykit-based system helper that allows you to authenticate
3900 via polkit to install into the system repository.
3901 * Added an experimental command to export/import applications and runtimes
3902 as an OCI tarball.
3903 * builder: Fix creation of locale extensions if there was no locale data in the
3904 build.
3905 * It is now possible to disable/enable configured remotes.
3906 * A lot of new tests where added, and we now support installed tests.
3907 * builder now has an optional --arch argument for multiarch building.
3908 * Builder modules can be disabled with "disabled": true.
3909 * Using --filesystem=/tmp now hides the system X11 sockets.
3910
3911
3912 Major changes in 0.5.2
3913 ======================
3914
3915 * The way locale extensions work has changed. Now we build a single extension
3916 for all locales, but we allow you to specify a subset of it during installation
3917 and update time using the --subpath commandline flag.
3918 The main reason for this is that the many extensions didn't scale, both in
3919 technical terms (large ostree summary file size), but also in terms of the
3920 UI listing hundreds of uninteresting things.
3921 * We no longer use sizes in the commit objects to get installed and download size,
3922 instead we store some extra metadata in the summary file. This allows us
3923 to get much faster access to these, as with recent ostree versions we can
3924 cache the summary file.
3925 * New command xdg-app build-sign that lets you sign a commit at any time.
3926 * New argument xdg-app build --force-clean that removes pre-existing build dirs.
3927 * xdg-app run now uses the "current" version as the default if you specify no
3928 branch or arch. It used to default to the "master" branch. This will default
3929 to the last installed version, but can be changed with xdg-app make-current.
3930 * Added config-opts to the build-options in xdg-app-builder. This allows you
3931 to extend the configure flags in an arch dependent way.
3932 * Documentation updates
3933
3934 Major changes in 0.5.1
3935 =======================
3936 * Make xdg-app-builder --build-only not export the results
3937 * Create all-in-one Locale extension that combines all the locale extensions
3938 * Extract icons for all appdata nodes when creating appstream
3939 * Documentation updates
3940 * Better handling of metadata in xdg-app-builder cache
3941 * Respect the specified branch when exporting in xdg-app-builder
3942 * Fix support for multi-arch with i386 userspace and 64bit kernel
3943 * Avoid deprecated 32bit capabilities syscalls
3944
3945 Major changes in 0.5.0
3946 =======================
3947 * Some libxdg-app API additions for handling bundles
3948 * Default to /bin/sh as user shell in sandbox
3949 * Fix detection of which apps are in use during uninstall
3950 * New implementation of fuse filesystem for document portal.
3951 It is now cleaner and works on 32bit.
3952 * Honor the noenumerate flag on remotes in CLI and libxdg-app.
3953 * Add change notification for permissions store
3954 * Require signed summaries for gpg-signed remotes
3955 * Fix summary signatures of deltas in xdg-app build-update.
3956
3957 Major changes in 0.4.13
3958 =======================
3959 * Fix misgeneration of appdata xml in some cases
3960 * Various improvements to bundles, and support in libxdgapp
3961 * Add sources to Debug extensions created by xdg-app-builder
3962 * Allow specifying subdirs of xdg-* dirs, for instance:
3963 --filesystem=xdg-download/some-dir
3964 * Add support for --filesystem=xdg-run/subdir which means
3965 XDG_RUNTIME_DIR dir, rather than xdg-user-dirs.
3966 * Add --generate-static-deltas option to build-update-repo.
3967
3968 Major changes in 0.4.12
3969 =======================
3970 * Fix crashes.
3971 * Update exports when removing apps.
3972 * Remove appstream and repo refs when removing a remote.
3973 * Add some build options to make libxdg-app usable inside a sandbox.
3974 * xdg-app-builder builds are now in the .xdg-app-builder/build subdir.
3975 * Make system repo bare-user to avoid creating any setuid binaries.
3976 * Add xdg-app-builder --run operation that runs a command with the
3977 build environment set up.
3978 * Support creating locale extensions with xdg-app-builder.
3979 * Add support for tags to metadata.
3980 * Put runtime info and tags in the appstream data
3981
3982 Major changes in 0.4.11
3983 =======================
3984 * Fix assertion when installing runtime
3985
3986 Major changes in 0.4.10
3987 =======================
3988 * App desktop files and icons were not being exported to the desktop
3989
3990 Major changes in 0.4.9
3991 ======================
3992 * Fix crash at end of runtime install.
3993 * xdg-app-builder has a new source type "shell" which lets you run arbitrary
3994 shell commands.
3995 * Allow apps with writable homedir access to modify the xdg-app repos.
3996 * New xdg-app info command gives you status of an installed app or runtime.
3997 * The xdg-app-builder cache now contains the sdk commit id, so that a new
3998 version of the sdk invalidates the cache.
3999 * Fixed a regression in the xdg-app install-app backwards compatibility
4000 handling.
4001 * xdg-app now gives the application access to the deployment path, which can
4002 be used to give host-side services access to app files (such as help
4003 documents).
4004 * build-export no longer exports appstream files, and when generating appstream
4005 files we don't need them to be.
4006 * The default architecture tag used by xdg-app is now made canonical when needed
4007 (i.e. on arm/x86/mips).
4008
4009 Major changes in 0.4.8
4010 ======================
4011 * Changed global installation directory to /var/lib/xdg-app (not /var/xdg-app).
4012 * Add support for a dbus filtering on the system bus.
4013 * Choosing user namespaces or setuid is now a runtime option, not build time.
4014 * Fix xml-escaping in the appstream generation.
4015 * Various build fixes.
4016 * Added some more documentation for the library.
4017 * Disable support for running apps on systems without a systemd user session.
4018 * Fix uninitialized memory read in xdg-app-builder during git checkouts.
4019 * Correctly handle disabled git submodules in xdg-app-builder
4020 * Fix hiding of non-exported symbols in libxdgapp
4021
4022 Major changes in 0.4.7
4023 ======================
4024 * Enabled build of libxdg-app by default, now the API is stable
4025 enough for e.g. gnome-software to use it.
4026 * Restructured the command line interface to xdg-app, it is now
4027 more streamlined and easy to use. For instance, to install
4028 both apps or runtimes, now use "xdg-app install $name".
4029 The old commands still work, but are deprecated and not
4030 in the docs.
4031 * xdg-app-builder has gotten a bunch of new features that
4032 makes it easier to build apps, and some initial work to
4033 make it possible to create runtimes using it
4034 * build-export now finds and export any app-info installed by
4035 the app, and build-update-repo collects all such exports
4036 into a per-repo branch for appstream and icons.
4037 * The client (and libs) support for locally mirroring the appstream
4038 branch for each remote. This allows use to create graphical appstores
4039 with user-readable information and icons.
4040 * On the client side one can now specify priorities for each
4041 remote.
4042
4043 Major changes in 0.4.6
4044 ======================
4045 * Added an initial version of libxdg-app, a highlevel library
4046 intended to be used by user interface frontends to xdg-app.
4047 It is not yet API stable, so it is disabled by default.
4048 Enable with --enable-libxdgapp
4049 * Added xdg-app-builder, a separate tool that makes it easier to build
4050 applications with external dependencies.
4051 * Add support for single-file bundles, which can be a useful way
4052 to distribute apps on e.g. a usb stick. Only works with the
4053 latest version of ostree.
4054 * Always allow apps to talk to the built-in portals
4055 * Support granting read-only access to the filesystem with e.g. --filesystem=host:ro
4056 * Add /run/user/$uid/xdg-app-info file that contains the current permissions of the app
4057 * Add --writable-sdk option to xdg-app build-init
4058 * Add file locking to better handle concurrent xdg-app operations like update and install
4059 * Various fixes
4060
4061 Major changes in 0.4.5
4062 ======================
4063 * Support signing commits in build-export
4064 * Correctly handle symlinks in host root when app has host-fs access
4065 * Always regenerate summary after build-export
4066 * Make uninstall a bit more robust
4067 * Install the dbus introspection files
4068 * Add human readable size to build-export report
4069 * Add /dev/ptmx symlink in app
4070 * Fix apps not getting SIGCHILD
4071 * Only expose minimal /etc/[passwd|group] in app
4072
4073 Major changes in 0.4.4
4074 ======================
4075 * Fix race condition in fuse fs
4076 * Don't save uid/gid/xattrs in build-export
4077 * run: Handle existing mounts with spaces in them
4078 * propagate xauth cookies to sandbox
4079
4080 Major changes in 0.4.3
4081 ======================
4082 * Build with older ostree
4083 * Add --nofilesystem flag to e.g. xdg-app run
4084 * Add xdg-app dump-runtime command
4085
4086 Major changes in 0.4.2.1
4087 ======================
4088 * Fix dbus proxy
4089
4090 Major changes in 0.4.2
4091 ======================
4092 * Fix build with older versions of glib
4093 * Fix regression in filesystem access configuration
4094 * Make seccomp use optional (for arches without it)
4095 * Add xdg-app enter command to enter a running sandbox
4096 * Fix /var/cache being readonly
4097 * Add /var/data and /var/config shortcuts for per-app data
4098 * Minor fixes to bash completion
4099
4100 Major changes in 0.4.1
4101 ======================
4102 * Fixed a parallel build issue
4103 * Fixed a build issue where openat() didn't get a mode passed
4104 * Don't block ptrace and perf in debug and build runs
4105 * Put nvidia drivers in sandbox if DRI allowed
4106 * Support specifying a version for runtime extensions
4107
4108 Major changes in 0.4.0
4109 ======================
4110 * A new permissions store was added to the dbus api.
4111 This can be used by portal implementations that want to store
4112 per-app permissions for objects.
4113 * The document portal was added. This is a dbus api
4114 which you can use to create document ids and assign
4115 apps permissions to see these documents. The documents
4116 themselves are accessed via a custom fuse filesystem.
4117 * perf and strace are now blocked via the seccomp filters
4118 * You can now override application metadata on a system
4119 and per-user level, giving apps more or less access
4120 than what they request.
4121 * New command modify-remote added which lets you change
4122 configuration of a remote after it has been added with
4123 add-remote.
4124 * Support for adding trusted gpg keys on a per-remote basis
4125 has been added to add-remote and modify-remote.
4126 * The repo-contents command has been renamed to ls-remote
4127 to better match the other commands.
4128 * The list-remotes command can now show more information
4129 about the remotes.
4130 * The bash completion implementation has been improved.
4131
4132 Major changes in 0.3.6
4133 ======================
4134
4135 * Fix a typo in the socket seccomp rules that made ipv6 not work
4136 * Export the users fonts (~/.local/share/fonts or ~/.fonts) in the sandbox
4137 * Fix seccomp rules to work on i386
4138 * Make exposing xdg user dirs work right