diff --git a/_service b/_service
index a0d4b03..70cfa68 100644
--- a/_service
+++ b/_service
@@ -2,7 +2,7 @@
git
https://git.libcamera.org/libcamera/libcamera.git
- refs/tags/v0.3.2
+ refs/tags/v0.4.0
@PARENT_TAG@
v([0-9\.]*)
diff --git a/libcamera-0.3.2.tar.xz b/libcamera-0.3.2.tar.xz
deleted file mode 100644
index bb6b491..0000000
--- a/libcamera-0.3.2.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7dfd005e592cc3db102f974f06719157c9410476c1f5c57c4602390ce5fa4605
-size 1159524
diff --git a/libcamera-0.4.0.tar.xz b/libcamera-0.4.0.tar.xz
new file mode 100644
index 0000000..e0da004
--- /dev/null
+++ b/libcamera-0.4.0.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:735327c80d8363761c5297b4d6ba8ba17d60ee5ac05c67b3a087adcad626119b
+size 1208712
diff --git a/libcamera.changes b/libcamera.changes
index 2928215..380fbc3 100644
--- a/libcamera.changes
+++ b/libcamera.changes
@@ -1,3 +1,39 @@
+-------------------------------------------------------------------
+Mon Dec 23 21:51:19 UTC 2024 - Antonio Larrosa
+
+- Update to release 0.4.0
+ * The abi-compliance-checker reports that there is both ABI and
+ API breakage in this release.
+ * The majority of the ABI breakages are around the public API for
+ Control handling and definitions, which have caused underlying
+ identifiers to be changed, and the reuqired storage for
+ controls has increased.
+ * This release brings in 253 commits, with substantial
+ development on image control and tuning features for IPA and
+ Pipeline handlers supporting libipa, as well as integrating
+ libipa support for IPA handling on the ARM Mali-C55 ISP.
+ * A new 'Virtual Pipeline Handler' has been introduced to support
+ more testing in CI and virtual environments.
+ * Gstreamer has had some interesting development to rework
+ expressing the full control set from libcamera using auto
+ generation from the full control descriptors.
+ * A key and notable change in this release too is that the
+ softISP is now moving towards utilising the libipa
+ implementaitons which will enable future tuning and image
+ control capabilities, and should also support future
+ development on a GPU-ISP implementation for GPU-accelerated
+ handling. I do believe this work may have introduced an
+ oscillation regression in the AEGC which will need to be
+ investigated and fixed in the near future, but I don't want to
+ hold up progressing the ABI updates at this stage.
+ * The i.MX8MP can now make full use of the DW100 Dewarp Engine
+ for full rotation and digital zoom capabilities.
+ * Raspberry Pi systems now have improved support for the OV7251,
+ IMX462, and IMX327 Sensors, and libipa platforms can now make
+ use of the GalaxyCore gc05a2 and gc08a3 Image sensors.
+ * For a full list of changes, please see:
+ https://git.libcamera.org/libcamera/libcamera.git/commit/?id=35ed4b91291d9f3d08e4b51acfb51163e65df8f8
+
-------------------------------------------------------------------
Sat Oct 19 17:05:03 UTC 2024 - Jan Engelhardt
diff --git a/libcamera.spec b/libcamera.spec
index bc90e9e..e4fc1c8 100644
--- a/libcamera.spec
+++ b/libcamera.spec
@@ -16,15 +16,15 @@
#
-%define lname libcamera0_3
-%define lname_base libcamera-base0_3
+%define lname libcamera0_4
+%define lname_base libcamera-base0_4
%if "@BUILD_FLAVOR@" != ""
%define extname -@BUILD_FLAVOR@
%else
%define extname %nil
%endif
Name: libcamera%extname
-Version: 0.3.2
+Version: 0.4.0
Release: 0
Summary: A complex camera support library in C++
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-SA-4.0