xref: /freebsd/RELNOTES (revision af1ef35a00668b1461af31c73f0bf48e27b5c8f8)
1963f38b2SChristos MargiolisRelease notes for FreeBSD 15.0.
28dbc2b6eSMark Johnston
38dbc2b6eSMark JohnstonThis file describes new user-visible features, changes and updates relevant to
48dbc2b6eSMark Johnstonusers of binary FreeBSD releases.  Each entry should describe the change in no
58dbc2b6eSMark Johnstonmore than several sentences and should reference manual pages where an
68dbc2b6eSMark Johnstoninterested user can find more information.  Entries should wrap after 80
78dbc2b6eSMark Johnstoncolumns.  Each entry should begin with one or more commit IDs on one line,
8cda1f88dSWarner Loshspecified as a comma separated list and/or range, followed by a colon and a
9cda1f88dSWarner Loshnewline.  Entries should be separated by a newline.
108dbc2b6eSMark Johnston
118dbc2b6eSMark JohnstonChanges to this file should not be MFCed.
128dbc2b6eSMark Johnston
13*af1ef35aSJohn Baldwinb2f7c53430c3:
14*af1ef35aSJohn Baldwin	Kernel TLS is now enabled by default in kernels including KTLS
15*af1ef35aSJohn Baldwin	support.  KTLS is included in GENERIC kernels for aarch64,
16*af1ef35aSJohn Baldwin	amd64, powerpc64, and powerpc64le.
17*af1ef35aSJohn Baldwin
186e242595SChristos Margiolisf57efe95cc25:
196e242595SChristos Margiolis	New mididump(1) utility which dumps MIDI 1.0 events in real time.
206e242595SChristos Margiolis
210706fa37SBaptiste Daroussinddfc6f84f242:
220706fa37SBaptiste Daroussin	Update unicode to 16.0.0 and CLDR to 45.0.0.
230706fa37SBaptiste Daroussin
24e46c4de7SBaptiste Daroussinb22be3bbb2de:
25e46c4de7SBaptiste Daroussin	Basic Cloudinit images no longer generate RSA host keys by default for
26e46c4de7SBaptiste Daroussin	SSH.
27e46c4de7SBaptiste Daroussin
28fc2efd28SColin Percival000000000000:
29fc2efd28SColin Percival	RSA host keys for SSH are deprecated and will no longer be generated
30fc2efd28SColin Percival	by default in FreeBSD 16.
31fc2efd28SColin Percival
32279734beSColin Percival0aabcd75dbc2:
33279734beSColin Percival	EC2 AMIs no longer generate RSA host keys by default for SSH.  RSA
34279734beSColin Percival	host key generation can be re-enabled by setting sshd_rsa_enable="YES"
35279734beSColin Percival	in /etc/rc.conf if it is necessary to support very old SSH clients.
36279734beSColin Percival
37116dc70cSMark Johnstona1da7dc1cdad:
38116dc70cSMark Johnston	The SO_SPLICE socket option was added.  It allows TCP connections to
39116dc70cSMark Johnston	be spliced together, enabling proxy-like functionality without the
40116dc70cSMark Johnston	need to copy data in and out of user memory.
41116dc70cSMark Johnston
42c55e4971SJohn Baldwinfc12c191c087:
43c55e4971SJohn Baldwin	grep(1) no longer follows symbolic links by default for
44c55e4971SJohn Baldwin	recursive searches.  This matches the documented behavior in
45c55e4971SJohn Baldwin	the manual page.
46c55e4971SJohn Baldwin
4734d9de96SMark Johnstone962b37bf0ff:
4834d9de96SMark Johnston	When running bhyve(8) guests with a boot ROM, i.e., bhyveload(8) is not
4934d9de96SMark Johnston	used, bhyve now assumes that the boot ROM will enable PCI BAR decoding.
5034d9de96SMark Johnston	This is incompatible with some boot ROMs, particularly outdated builds
5134d9de96SMark Johnston	of edk2-bhyve.  To restore the old behavior, add
5234d9de96SMark Johnston	"pci.enable_bars='true'" to your bhyve configuration.
5334d9de96SMark Johnston
5434d9de96SMark Johnston	Note in particular that the uefi-edk2-bhyve package has been renamed
5534d9de96SMark Johnston	to edk2-bhyve.
5634d9de96SMark Johnston
5734d9de96SMark Johnston43caa2e805c2:
5834d9de96SMark Johnston	amd64 bhyve(8)'s "lpc.bootrom" and "lpc.bootvars" options are
5934d9de96SMark Johnston	deprecated.  Use the top-level "bootrom" and "bootvars" options
6034d9de96SMark Johnston	instead.
6134d9de96SMark Johnston
622e98b886SBaptiste Daroussin822ca3276345:
632e98b886SBaptiste Daroussin	byacc was updated to 20240109.
642e98b886SBaptiste Daroussin
652e98b886SBaptiste Daroussin21817992b331:
662e98b886SBaptiste Daroussin	ncurses was updated to 6.5.
672e98b886SBaptiste Daroussin
68cf9c4b32SAlexander Ziaee1687d77197c0:
69cf9c4b32SAlexander Ziaee	Filesystem manual pages have been moved to section four.
70cf9c4b32SAlexander Ziaee	Please check ports you are maintaining for crossreferences.
71cf9c4b32SAlexander Ziaee
72c180fd3dSBaptiste Daroussin8aac90f18aef:
73c180fd3dSBaptiste Daroussin	new MAC/do policy and mdo(1) utility which enables a user to
74c180fd3dSBaptiste Daroussin	become another user without the requirement of setuid root.
75c180fd3dSBaptiste Daroussin
765224825aSChristos Margiolis7398d1ece5cf:
775224825aSChristos Margiolis	hw.snd.version is removed.
785224825aSChristos Margiolis
796faf6567SJohn Baldwina15f7c96a276,a8089ea5aee5:
806faf6567SJohn Baldwin	NVMe over Fabrics controller.  The nvmft(4) kernel module adds
816faf6567SJohn Baldwin	a new frontend to the CAM target layer which exports ctl(4)
826faf6567SJohn Baldwin	LUNs as NVMe namespaces to remote hosts.  The nvmfd(8) daemon
836faf6567SJohn Baldwin	is responsible for accepting incoming connection requests and
846faf6567SJohn Baldwin	handing off connected queue pairs to nvmft(4).
856faf6567SJohn Baldwin
866faf6567SJohn Baldwina1eda74167b5,1058c12197ab:
876faf6567SJohn Baldwin	NVMe over Fabrics host.  New commands added to nvmecontrol(8)
886faf6567SJohn Baldwin	to establish connections to remote controllers.  Once
896faf6567SJohn Baldwin	connections are established they are handed off to the nvmf(4)
906faf6567SJohn Baldwin	kernel module which creates nvmeX devices and exports remote
916faf6567SJohn Baldwin	namespaces as nda(4) disks.
926faf6567SJohn Baldwin
93993d1fadSChristos Margiolis25723d66369f:
9425723d66SChristos Margiolis	As a side-effect of retiring the unit.* code in sound(4), the
9525723d66SChristos Margiolis	hw.snd.maxunit loader(8) tunable is also retired.
9654d6fea9SMateusz Piotrowski
9754d6fea9SMateusz Piotrowskieeb04a736cb9:
9854d6fea9SMateusz Piotrowski	date(1) now supports nanoseconds. For example:
9954d6fea9SMateusz Piotrowski	`date -Ins` prints "2024-04-22T12:20:28,763742224+02:00" and
10054d6fea9SMateusz Piotrowski	`date +%N` prints "415050400".
10154d6fea9SMateusz Piotrowski
102ca0620b7SMark Johnston6d5ce2bb6344:
103ca0620b7SMark Johnston	The default value of the nfs_reserved_port_only rc.conf(5) setting has
104ca0620b7SMark Johnston	changed.  The FreeBSD NFS server now requires the source port of
105ca0620b7SMark Johnston	requests to be in the privileged port range (i.e., <= 1023), which
106ca0620b7SMark Johnston	generally requires the client to have elevated privileges on their local
107ca0620b7SMark Johnston	system.  The previous behavior can be restored by setting
108ca0620b7SMark Johnston	nfs_reserved_port_only=NO in rc.conf.
109ca0620b7SMark Johnston
1101ff4bc0fSJake Freelandaea973501b19:
1111ff4bc0fSJake Freeland	ktrace(2) will now record detailed information about capability mode
1121ff4bc0fSJake Freeland	violations. The kdump(1) utility has been updated to display such
1131ff4bc0fSJake Freeland	information.
114ca0620b7SMark Johnston
1155b35479eSWarner Loshf32a6403d346:
1165b35479eSWarner Losh	One True Awk updated to 2nd Edition. See https://awk.dev for details
1175b35479eSWarner Losh	on the additions. Unicode and CSVs (Comma Separated Values) are now
1185b35479eSWarner Losh	supported.
1195b35479eSWarner Losh
1205a98d9d0SBaptiste Daroussinfe86d923f83f:
1215a98d9d0SBaptiste Daroussin	usbconfig(8) now reads the descriptions of the usb vendor and products
12273157ce4SBaptiste Daroussin	from usb.ids when available, similarly to what pciconf(8) does.
1235a98d9d0SBaptiste Daroussin
12430c741c6SMike Karels4347ef60501f:
12530c741c6SMike Karels	The powerd(8) utility is now enabled in /etc/rc.conf by default on
12630c741c6SMike Karels	images for the arm64 Raspberry Pi's (arm64-aarch64-RPI img files).
12730c741c6SMike Karels	This prevents the CPU clock from running slow all the time.
12830c741c6SMike Karels
129b9a60d36SAlexander Leidinger0b49e504a32d:
130b9a60d36SAlexander Leidinger	rc.d/jail now supports the legacy variable jail_${jailname}_zfs_dataset
131b9a60d36SAlexander Leidinger	to allow unmaintained jail managers like ezjail to make use of this
132b9a60d36SAlexander Leidinger	feature (simply rename jail_${jailname}_zfs_datasets in the ezjail
133b9a60d36SAlexander Leidinger	config to jail_${jailname}_zfs_dataset.
134b9a60d36SAlexander Leidinger
135b9a60d36SAlexander Leidingere0dfe185cbca:
136b9a60d36SAlexander Leidinger	jail(8) now support zfs.dataset to add a list of ZFS datasets to a
137b9a60d36SAlexander Leidinger        jail.
138b9a60d36SAlexander Leidinger
1392f036705SXin LI61174ad88e33:
1402f036705SXin LI	newsyslog(8) now supports specifying a global compression method directly
1412f036705SXin LI	at the beginning of the newsyslog.conf file, which will make newsyslog(8)
1422f036705SXin LI	to behave like the corresponding option was passed to the newly added
1432f036705SXin LI	'-c' option. For example:
1442f036705SXin LI
1452f036705SXin LI	<compress> none
1462f036705SXin LI
1472f036705SXin LI906748d208d3:
1482f036705SXin LI	newsyslog(8) now accepts a new option, '-c' which overrides all historical
1492f036705SXin LI	compression flags by treating their meaning as "treat the file as compressible"
1502f036705SXin LI	rather than "compress the file with that specific method."
1512f036705SXin LI
1522f036705SXin LI	The following choices are available:
1532f036705SXin LI	 * none: Do not compress, regardless of flag.
1542f036705SXin LI	 * legacy: Historical behavior (J=bzip2, X=xz, Y=zstd, Z=gzip).
1552f036705SXin LI	 * bzip2, xz, zstd, gzip: apply the specified compression method.
1562f036705SXin LI
1572f036705SXin LI	We plan to change the default to 'none' in FreeBSD 15.0.
1582f036705SXin LI
159208f089dSRick Macklem1a878807006c:
160208f089dSRick Macklem	This commit added some statistics collection to the NFS-over-TLS
161208f089dSRick Macklem	code in the NFS server so that sysadmins can moditor usage.
162208f089dSRick Macklem	The statistics are available via the kern.rpc.tls.* sysctls.
163208f089dSRick Macklem
164dac33a65SRick Macklem7c5146da1286:
165dac33a65SRick Macklem	Mountd has been modified to use strunvis(3) to decode directory
166dac33a65SRick Macklem	names in exports(5) file(s).  This allows special characters,
167dac33a65SRick Macklem	such as blanks, to be embedded in the directory name(s).
168dac33a65SRick Macklem	"vis -M" may be used to encode such directory name(s).
169dac33a65SRick Macklem
17033c2bd53SMark Johnstonc5359e2af5ab:
17133c2bd53SMark Johnston	bhyve(8) has a new network backend, "slirp", which makes use of the
17233c2bd53SMark Johnston	libslirp package to provide a userspace network stack.  This backend
17333c2bd53SMark Johnston	makes it possible to access the guest network from the host without
17433c2bd53SMark Johnston	requiring any extra network configuration on the host.
17533c2bd53SMark Johnston
176b351fa9dSChristos Margiolisbb830e346bd5:
177b351fa9dSChristos Margiolis	Set the IUTF8 flag by default in tty(4).
178b351fa9dSChristos Margiolis
179b351fa9dSChristos Margiolis	128f63cedc14 and 9e589b093857 added proper UTF-8 backspacing handling
180b351fa9dSChristos Margiolis	in the tty(4) driver, which is enabled by setting the new IUTF8 flag
181b351fa9dSChristos Margiolis	through stty(1). Since the default locale is UTF-8, enable IUTF8 by
182b351fa9dSChristos Margiolis	default.
183b351fa9dSChristos Margiolis
184bb63e82eSBaptiste Daroussinff01d71e48d4:
185b627b3e6SBaptiste Daroussin	dialog(1) has been replaced by bsddialog(1)
186bb63e82eSBaptiste Daroussin
187da51a121SJohn Baldwin41582f28ddf7:
188da51a121SJohn Baldwin	FreeBSD 15.0 will not include support for 32-bit platforms.
189da51a121SJohn Baldwin	However, 64-bit systems will still be able to run older 32-bit
190da51a121SJohn Baldwin	binaries.
191da51a121SJohn Baldwin
192da51a121SJohn Baldwin	Support for executing 32-bit binaries on 64-bit platforms via
193da51a121SJohn Baldwin	COMPAT_FREEBSD32 will remain supported for at least the
194da51a121SJohn Baldwin	stable/15 and stable/16 branches.
195da51a121SJohn Baldwin
196da51a121SJohn Baldwin	Support for compiling individual 32-bit applications via
197da51a121SJohn Baldwin	`cc -m32` will also be supported for at least the stable/15
198da51a121SJohn Baldwin	branch which includes suitable headers in /usr/include and
199da51a121SJohn Baldwin	libraries in /usr/lib32.
200da51a121SJohn Baldwin
201da51a121SJohn Baldwin	Support for 32-bit platforms in ports for 15.0 and later
202da51a121SJohn Baldwin	releases is also deprecated, and these future releases may not
203da51a121SJohn Baldwin	include binary packages for 32-bit platforms or support for
204da51a121SJohn Baldwin	building 32-bit applications from ports.
205da51a121SJohn Baldwin
206da51a121SJohn Baldwin	stable/14 and earlier branches will retain existing 32-bit
207da51a121SJohn Baldwin	kernel and world support.  Ports will retain existing support
208768489c7SJohn Baldwin	for building ports and packages for 32-bit systems on stable/14
209da51a121SJohn Baldwin	and earlier branches as long as those branches are supported
210da51a121SJohn Baldwin	by the ports system.  However, all 32-bit platforms are Tier-2
211da51a121SJohn Baldwin	or Tier-3 and support for individual ports should be expected
212da51a121SJohn Baldwin	to degrade as upstreams deprecate 32-bit platforms.
213da51a121SJohn Baldwin
214da51a121SJohn Baldwin	With the current support schedule, stable/14 will be EOLed 5
215da51a121SJohn Baldwin	years after the release of 14.0.  The EOL of stable/14 would
216da51a121SJohn Baldwin	mark the end of support for 32-bit platforms including source
217da51a121SJohn Baldwin	releases, pre-built packages, and support for building
218da51a121SJohn Baldwin	applications from ports.  Given an estimated release date of
219da51a121SJohn Baldwin	October 2023 for 14.0, support for 32-bit platforms would end
220da51a121SJohn Baldwin	in October 2028.
221da51a121SJohn Baldwin
222da51a121SJohn Baldwin	The project may choose to alter this approach when 15.0 is
223da51a121SJohn Baldwin	released by extending some level of 32-bit support for one or
224da51a121SJohn Baldwin	more platforms in 15.0 or later.  Users should use the
225da51a121SJohn Baldwin	stable/14 branch to migrate off of 32-bit platforms.
226