The Spark 4.x Releases

The Spark 4.x Release Line and Current Stable Version

Spark 4.2.0 129 (14 July 2026) is the current stable release and the one this chapter runs. It needs Java 17, 21 or 25, Scala 2.13 and Python 3.10 or later; SparkR is deprecated.

Apache Spark release lines as of October 2026
Line First release Latest patch Status
4.2 14 Jul 2026 4.2.0 Current feature release
4.1 16 Dec 2025 4.1.3 (15 Jul 2026) Maintained
4.0 23 May 2025 4.0.4 (15 Jul 2026) Maintained
3.5 13 Sep 2023 3.5.9 (16 Jul 2026) Security fixes until Nov 2027

From 4.3.0 on, feature releases arrive quarterly and majors yearly; ordinary branches get six months of fixes and the last feature release of each major line is an 18-month LTS, planned as 4.5.0 for 4.x, with Spark 5.0 planned for 2027. Pin the same Spark version on the client (pyspark==4.2.0) and the cluster.