Debian Codegraph @

NEWS

raw
1 Changes in 1.4.10
2 =================
3
4 * Rewrite locale migration to use fd-based traversal
5 * Various improvements to tests
6
7 Changes in 1.4.9
8 ================
9
10 * Fix various leaks found by ASAN
11 * Fix various build warnings and fix the build with GCC 15 and GLIBC 2.43
12
13 Changes in 1.4.8
14 ================
15
16 * Use glnx_chaseat() to resolve and validate license files (CVE-2026-39977)
17 * Limit Glib version gate macros to flatpak-builder target to mitigate build warnings from libglnx update
18 * Update libglnx submodule to ccea836b
19 * Handle trailing '/' as directory boundary in cleanup
20 * Fix licence directory for runtimes
21 * Include license-files in cache checksum
22 * Show a better message on CURLE_BAD_CONTENT_ENCODING
23 * Install base-extensions when handling dependencies
24 * Run locale migration after cleanup
25 * Handle case-insensitive YAML boolean and null scalars in YAML manifests
26 * Support setting state-dir for run
27 * Various improvements to CI, documentation and tests
28
29 Changes in 1.4.7
30 ================
31
32 * Pass `--wrap-mode=nodownload` to `meson setup` if building without network for the meson buildsystem
33 * Install debug extension by default when using the `--install` argument
34 * Support setting environment buildflags for the qmake buildsystem
35 * Create a fixed alias for builddir of current module at `/run/active-build`
36 * Set LANGUAGE to avoid AppStream output localisation
37 * Fix a compiler warning
38 * Improvements to docs and CI
39 * Start new branching policy, document maintainance and versioning docs
40
41 Changes in 1.4.6
42 ================
43
44 * Support specifying appstream compose URL policy with `--compose-url-policy`
45 * Support fetching and checking out Git LFS objects
46 * Add disable-lfs option to disable fetching Git LFS objects on a per source basis
47 * Prevent deleting current working directory, state directory or their parents with force-clean
48 * Create appstream ref branches in locally exported repo
49 * Log sdk, runtime and base versions and commits used with `--verbose`
50 * Pass `--no-gpg-sign` to `git commit` when committing archives inside state directory
51 * Pass `--no-gpg-sign` to `git am` when applying patches
52 * Fix the meson build with `-Dinstalled_tests=true`
53 * Fix the screenshot ref commit test to work offline
54 * Improvements to docs and CI
55
56 Changes in 1.4.5
57 ================
58
59 * Support automatically installing common license files for modules
60 * Add license-files option to define license files to install per module
61 * Support committing mirrored media as screenshot ref to exported repo
62 * Enable authenticated downloads via netrc
63 * Create CACHEDIR.TAG file in state dir
64 * Create gitignore file in state dir
65 * Switch to bsdunzip from unzip
66 * Install both platform and sdk from combined runtime manifest
67 * Improvements to docs and CI
68
69 Changes in 1.4.4
70 ================
71
72 * Default to a relative path for `CMAKE_INSTALL_LIBDIR` on cmake modules
73 * Only pass `--libdir` to autotools modules when `libdir` is explicitly set
74
75 Changes in 1.4.3
76 ================
77
78 * Always set `CMAKE_INSTALL_LIBDIR` with cmake buildsystems
79 * Update libglnx submodule to latest commit
80
81 Changes in 1.4.2
82 ================
83
84 * Fix missing test files in the generated tarballs
85 * Fix possible empty id in provides when renaming
86 * Fix minor memory leaks
87
88 Changes in 1.4.1
89 ================
90
91 * Add support for `autoprune-unless` in extensions
92 * Add `disable-http-decompression` option to archive/file sources
93 * Change `rename-desktop-file` and `rename-appdata-file` to also set the launchable or provide the old id if needed
94
95 Changes in 1.4.0
96 ================
97
98 * Document that `app-id` is deprecated in favor of `id`
99
100 Changes in 1.3.5
101 ================
102
103 This is a development release that will eventually become 1.4.x.
104
105 * Add `rename-mime-file` and `rename-mime-icons` properties
106 * Re-implement support for `data:` URIs
107 * Set download speed timeout for HTTP downloads
108 * Enabled compressed HTTP downloads
109 * Use `meson setup` with `meson` buildsystem to avoid warning
110 * Fix libappstream not handling ID's ending with `.desktop`
111 * Fix ostree deployment on 64-bit inode filesystems
112
113
114 Changes in 1.3.4
115 ================
116
117 This is a development release that will eventually become 1.4.x.
118
119 * Replace appstream-glib with libappstream
120 * Run tests in parallel respecting number of jobs set
121 * Add missing `secret-env` and `secret-opts` keys to the JSON schema
122 * Improve parsing of git submodules
123 * Meson build fixes
124
125 Changes in 1.3.3
126 ================
127
128 This is a development release that will eventually become 1.4.x.
129
130 * Add `installed_tests` option to meson project
131 * Fix libglnx meson subproject when built from autotools dist
132 * Fix tests not running in parallel under meson
133
134 Changes in 1.3.2
135 ================
136
137 This is a development release that will eventually become 1.4.x.
138
139 * Add meson buildsystem; The autotools build system will be removed in a future release
140 * Add `referer` property to file/archive sources to set the HTTP `Referer` header
141 * Fix `no-autodownload` in extensions incorrectly setting `autodelete`
142 * Reduce verbosity of unzip usage
143 * Ignore `$schema` properties in manifests so editors can use our JSON schema
144 * Change git usage to be more forgiving about submodules in `.gitmodules`
145
146 Changes in 1.3.1
147 ================
148
149 This is a development release that will eventually become 1.4.x.
150
151 * Deprecate SHA1 and MD5 hashes for sources
152 * Remove all usage of libsoup (bumps GLib requirement to 2.66)
153 * Fix errors in included manifests not being fatal
154 * Fix crash on empty manifests or incorrect JSON type
155 * Various updates to the JSON Schema
156
157 Changes in 1.2.2
158 ================
159
160 This is a security update to resolve CVE-2022-21682.
161 Upgrading both Flatpak and flatpak-builder is required.
162
163 CVE-2022-21682 is a vulnerability in how flatpak-builder uses flatpak,
164 which can cause `flatpak-builder --mirror-screenshots-url` commands to be
165 allowed to create directories outside the build directory.
166
167 flatpak-builder >= 1.2.2 uses a new option `--nofilesystem=host:reset`
168 to cancel out filesystem permissions in the application manifest and
169 overrides. This is only effective when using Flatpak >= 1.12.4, or a
170 version that has a backport of the `--nofilesystem=host:reset` feature
171 (such as 1.10.x versions >= 1.10.7).
172
173 When using an older version of Flatpak, this version of flatpak-builder
174 will still work, but it will show a warning: "Unexpected filesystem
175 suffix reset, ignoring". In this situation, it is still vulnerable
176 to CVE-2022-21682.
177
178 Other changes:
179
180 * Make FUSE 2 optimizations opt-in.
181 By default, this version of flatpak-builder is compatible with versions
182 of ostree that have been compiled against either FUSE 2 or FUSE 3.
183 Older distributions that use FUSE 2 can configure --with-fuse=2 for better
184 performance, but the resulting flatpak-builder executable will not work
185 with versions of ostree >= 2022.1 that have been compiled with FUSE 3
186 (this is the same behaviour as in 1.2.1).
187 * Make the JSON schema introduced in 1.2.1 more complete
188
189 Changes in 1.2.1
190 ================
191 * Fix debuginfo being re-processed multiple times in a manifest
192 * Change manifest parsing issues from warnings to fatal errors
193 * Add `.tar.zst` archive support
194 * Fix auto-detection of `.7z` archives
195 * Install a JSON schema for manifest format
196 * Documentation updates
197
198 Changes in 1.2.0
199 ================
200 * Documentation updates
201 * Add missing newlines in some output
202 * Fix missing error check in the new inline data support
203
204 Changes in 1.1.2
205 ================
206
207 * New secret-opts feature lets you pass e.g. CI secrets into the build.
208 * Support content-encoding when downloading.
209 * New inline data source allowing easy creation of files from embedded content from
210 the manifest.
211
212 Changes in 1.1.1
213 ================
214
215 This is the first unstable relase in preparation for 1.2.0
216
217 * We now use the external debugedit project instead of using an internal copy.
218 The system version can be used, or if not an internal version is used
219 built using git submodules.
220 Note, this needs libdw 0.172, which may not be available on older distributions.
221
222 Changes in 1.0.14
223 =================
224
225 * Ensure that sources cannot create files outside the build directory.
226 * If --sandbox is enabled, ensure sources can't real files outside the
227 manifest directory.
228
229 Changes in 1.0.13
230 =================
231
232 * Fix a bug where git submodules were bundled even when disabled (whereas in
233 the previous release this issue was fixed for the extraction phase)
234 * For bundled extensions, use the specified version as the branch rather than
235 using the branch of the parent app
236
237 Changes in 1.0.12
238 =================
239
240 * Make --run work if manifest has --metadata in build-finish
241 * Don't try to extract git submodules if they were disabled
242
243 Changes in 1.0.11
244 =================
245
246 * Use brz instead of bzr fom bzr repos (if available)
247 * Fix `run-tests` with --sandbox and empty test-args
248
249 Changes in 1.0.10
250 =================
251
252 * Support for 7zip archives
253 * Allow overriding archive type
254 * Support --token-type option
255
256 Changes in 1.0.9
257 ================
258
259 * More detailed commandline output with --verbose enabled
260 * Support for including yaml module snippets
261 * Support the CCACHE_DIR environment variable
262 * New option disable-submodules for git sources
263 * New commandline option --show-manifest
264 * Multiple modules with the same name in the same manifest is
265 now supported.
266
267 Changes in 1.0.8
268 ================
269
270 * Support multiple instances of --install-dep-from
271 * Ensure shallow git mirrors are updated when the git ref changes
272 * Improved error reporting
273
274 Changes in 1.0.7
275 ================
276
277 * Use the new die-with-parent feature of HostCommand when build to run in a flatpak
278 * Fix some details in how we create platform commits to fix font cache mtime issues.
279
280 Changes in 1.0.6
281 ================
282
283 * Pass --noninteractive when installing for flatpak >= 1.2.0
284 * Doc fixes
285
286 Changes in 1.0.5
287 ================
288
289 Due to a change in the output of "flatpak info" the support for
290 loading default build options from the sdk regressed with flatpak
291 1.2.x. This is fixed and everyone who built flatpaks with 1.2.x are
292 recommended to update to this release and re-build.
293
294 Changes in 1.0.4
295 ================
296
297 * Add --add/remove-tag options
298 * Allow using a full ref as sdk and use the branch from that.
299
300 Changes in 1.0.3
301 ================
302
303 * Compress changes in cache, fixing the build of large applications like libreoffice in
304 some cases.
305 * Add new default-branch manifest option to allow overridable branch name.
306
307 Changes in 1.0.2
308 ================
309
310 * Print a warning when a YAML document has a float-like string value.
311 * Handle .txz archive suffixes.
312 * Set SOURCE_DATE_EPOCH to the mtime of the manifest in the build.
313 * Update python post-processor to handle python 3.7 pyc files.
314 * Allow unsetting env vars in the build options by setting them to null.
315 * Documentation improvements
316
317 Changes in 1.0.1
318 ================
319
320 * Run appstream-util mirror-screenshots in the sandbox, rather than on
321 the host, as the host might not have a new enough appstream-glib.
322 * Fix build cache when a module has uncommon characters in the name.
323
324 Changes in 1.0.0
325 ================
326
327 * Respect no-parallel-make with ninja
328 * Fixed regression in data: uris
329 * Warn about deprecated cmake property
330 * Make X-Flatpak-RenamedFrom a list
331 * Fix handling of mirror uris with no terminating slash
332 * Take arch into account for --skip-if-unchanged
333 * Fix --run when run inside a flatpak sandbox
334 * Ensure GIT commiter env var is set when applying git patches
335 * Keep x-* properties in the manifest when creating manifest.json
336 * New property `paths` in patch source to apply multiple patches.
337
338 Major changes in 0.99.3
339 =======================
340
341 * Add X-Flatpak-RenamedFrom key to renamed desktop files
342 * Set FLATPAK_BUILDER_BUILDDIR when building module
343 * Handle large downloads better
344 * Make p2p code non-optional
345
346 Major changes in 0.99.2
347 =======================
348
349 * Fix --install not working due to asking for confirmation
350 * Fix builds with latest libsoup
351 * New option git-init for archives
352 * New option use-git-am for patches
353
354 Major changes in 0.99.1
355 =======================
356
357 In preparation for 1.0, this release depends on a recent (0.11.8) flatpak.
358
359 * New libdir build option
360 * Support loading default options from sdk
361 * Add support for overriding c/cpp/ld/etc flags in a module
362 * Now uses libcurl to download things instead of soup,
363 which means we now support ftp urls.
364 * Don't prune build caches when building with --{export,finish}-only
365 * rename-desktop-file now handles launchables in the appdata
366 * archive sources support dest-filename
367 * archive and file sources now support mirror-urls to list
368 extra urls in case of network problems.
369
370 Major changes in 0.10.10
371 ========================
372
373 * We now support yaml manifest as well as json.
374 * New source type "svn" to download subversion checkouts.
375 * New source type "dir" for local directories.
376 * Set FLATPAK_BUILDER_N_JOBS in environment during build.
377 * If not using ccache, enfore it of. This helps builds with
378 meson as they pick up ccache by default, which makes no
379 sense when there is no persistent storage for ccache to use.
380 * New options prepend-*-path similar to the existing append-*-path
381 ones, but prepending instead.
382 * New argument --no-shallow-clone which disables any shallow clone
383 optimizations.
384 * New inherit-sdk-extensions property similar to inherit-extensions,
385 but is not inherited in the platform.
386 * We now ignore json keys starting with "//" and "__" allowing these
387 to be used for comments.
388 * Fixed a bug that caused --install to not work properly.
389 * New argument --extension-tag for using the new tagged extension feature.
390 * The build metadata now records which extensions were produced as part
391 of a build.
392 * New property add-build-extensions allows creating exension points that
393 can be used during the build.
394 * flatpak-builder --run now also binds /run/build-runtime to the builds,
395 allowing it to work when building runtimes.
396
397 Major changes in 0.10.9
398 =======================
399
400 * Support -y argument, which passes it on to flatpak install, etc
401 * Fix build on glibc 2.27
402
403 Major changes in 0.10.8
404 =======================
405
406 * Fix build on recent glibc
407
408 Major changes in 0.10.7
409 =======================
410
411 * Add support for --socket=fallback-x11
412 * Fix assert in --install
413 * Fix --disable-updates for git sources
414 * When mirroring git repos, use a temporary download dir
415 * Support running flatpak-builder inside a flatpak sandbox
416
417 Major changes in 0.10.6
418 =======================
419
420 * New checksum types for file/archive sources: md5, sha1, sha512
421 * Support including source snippets from another file, similar to
422 how module includes are supported.
423 * The app id renaming in the appdata file is now more careful to
424 avoid renaming other parts.
425 * The cache default repo format for new caches is now bare-user-only
426 which means building with flatpak-builder works on filesystems that
427 don't support xattrs.
428 * New --install argument will install the finished build using the
429 new flatpak install install-directly-from-local-repo feature.
430 This makes it easier to test local builds.
431
432 Major changes in 0.10.5
433 =======================
434
435 * Add support for running tests during the build (disable with --disable-tests).
436 * New build-option append-pkg-config to append to PKG_CONFIG_PATH
437 * --state-dir option lets you reuse a single directory instead of scattered
438 .flatpak-builder dirs for builds, downloads and cache data.
439 * git: Allow updates with non-fastforwarded branched
440 * Don't fail if app ships both appdata and metainfo file
441 * Support --log-system/session-bus in --run
442
443 Major changes in 0.10.4
444 =======================
445
446 * Fixed source bundling of git repos with older versions of git
447 * Allow git sources to use "HEAD" branch
448 * Fixed crashes in some cases of git failure
449
450 Major changes in 0.10.3
451 =======================
452
453 * Yet more fixed or older versions of git. In particular, we disable
454 fsck during transfer when doing a shallow clone and the git version
455 is less than 1.8.3.2.
456
457 Major changes in 0.10.2
458 =======================
459
460 * Even more fixes for shallow git clones with older versions of git
461 * New property for git sources, disable-shallow-clone which falls
462 back to cloning the entire remote.
463
464 Major changes in 0.10.1
465 =======================
466
467 * Fix handling of shallow git clones with older versions of git
468 * Fix issue where flatpak-builder --run could exit if some
469 thread in the parent process exited, exposeb by e.g.
470 gnome-builder.
471
472 Major changes in 0.10.0
473 =======================
474
475 * We now do shallow clones of git repos when downloading if
476 possible.
477 * The way the cache works internally was slightly tweaked
478 which will cause all existing caches to be rebuilt.
479
480 Major changes in 0.9.99
481 =======================
482
483 * Fix git source bundling on older git version
484 * New property: appdata-license lets you easily modify the appstream license field
485 * New source type "extra-data" which makes it easier to use extra-data apps
486 * We now automatically compress debuginfo unless the no-debuginfo-compression
487 option is specified.
488 * Appstream files called .metainfo.xml are now recognized.
489 * New prepare-platform-commands property, similar to cleanup-platform-commands,
490 but run before importing all the changes from the SDK.
491 * We now apply all the deletions that happened in the SDK on the base when creating
492 the platform.
493
494 Major changes in 0.9.98
495 =======================
496
497 * build cache hits are now faster
498 * git sources have a new property "tag" which works the same as "branch", but
499 improves readability when referencing a git tag.
500 * flatpak-builder --run now passes --with-appdir which is useful when
501 testing uninstalled builds.
502 * When bundling git repos in .Sources we now make a shallow clone which uses
503 a lot less space.
504 * .Locale extensions now always set the new locale-subset property
505 * locale-subset is supported in the add-extension property
506 * build-options now also supports make-args and make-install args, which
507 allows per-arch make flags.
508
509 Major changes in 0.9.11
510 ======================
511
512 Skipped 0.9.10 to sync with flatpakk
513
514 * Fix build on some arches due to lack of flatpak_get_kernel_arch symbol
515 * Disable ostree 3% free space check for build cache
516 * Add some new status terminal title updates
517 * Set the requested environment vars in type=shell sources commands
518 * Add append-path and append-ld-library-path build options
519 * Add buildtype=qmake
520 * Updated docs
521
522 Major changes in 0.9.9
523 ======================
524
525 flatpak-builder was split out from flatpak into its own module.
526
527 * Pass --die-with-parent to all flatpak build commands