xref: /freebsd/RELNOTES (revision 54d6fea9790439cb82e71a069d229c3ebb8bea16)
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
13993d1fadSChristos Margiolis25723d66369f:
1425723d66SChristos Margiolis	As a side-effect of retiring the unit.* code in sound(4), the
1525723d66SChristos Margiolis	hw.snd.maxunit loader(8) tunable is also retired.
16*54d6fea9SMateusz Piotrowski
17*54d6fea9SMateusz Piotrowskieeb04a736cb9:
18*54d6fea9SMateusz Piotrowski	date(1) now supports nanoseconds. For example:
19*54d6fea9SMateusz Piotrowski	`date -Ins` prints "2024-04-22T12:20:28,763742224+02:00" and
20*54d6fea9SMateusz Piotrowski	`date +%N` prints "415050400".
21*54d6fea9SMateusz Piotrowski
22ca0620b7SMark Johnston6d5ce2bb6344:
23ca0620b7SMark Johnston	The default value of the nfs_reserved_port_only rc.conf(5) setting has
24ca0620b7SMark Johnston	changed.  The FreeBSD NFS server now requires the source port of
25ca0620b7SMark Johnston	requests to be in the privileged port range (i.e., <= 1023), which
26ca0620b7SMark Johnston	generally requires the client to have elevated privileges on their local
27ca0620b7SMark Johnston	system.  The previous behavior can be restored by setting
28ca0620b7SMark Johnston	nfs_reserved_port_only=NO in rc.conf.
29ca0620b7SMark Johnston
301ff4bc0fSJake Freelandaea973501b19:
311ff4bc0fSJake Freeland	ktrace(2) will now record detailed information about capability mode
321ff4bc0fSJake Freeland	violations. The kdump(1) utility has been updated to display such
331ff4bc0fSJake Freeland	information.
34ca0620b7SMark Johnston
355b35479eSWarner Loshf32a6403d346:
365b35479eSWarner Losh	One True Awk updated to 2nd Edition. See https://awk.dev for details
375b35479eSWarner Losh	on the additions. Unicode and CSVs (Comma Separated Values) are now
385b35479eSWarner Losh	supported.
395b35479eSWarner Losh
405a98d9d0SBaptiste Daroussinfe86d923f83f:
415a98d9d0SBaptiste Daroussin	usbconfig(8) now reads the descriptions of the usb vendor and products
4273157ce4SBaptiste Daroussin	from usb.ids when available, similarly to what pciconf(8) does.
435a98d9d0SBaptiste Daroussin
4430c741c6SMike Karels4347ef60501f:
4530c741c6SMike Karels	The powerd(8) utility is now enabled in /etc/rc.conf by default on
4630c741c6SMike Karels	images for the arm64 Raspberry Pi's (arm64-aarch64-RPI img files).
4730c741c6SMike Karels	This prevents the CPU clock from running slow all the time.
4830c741c6SMike Karels
49b9a60d36SAlexander Leidinger0b49e504a32d:
50b9a60d36SAlexander Leidinger	rc.d/jail now supports the legacy variable jail_${jailname}_zfs_dataset
51b9a60d36SAlexander Leidinger	to allow unmaintained jail managers like ezjail to make use of this
52b9a60d36SAlexander Leidinger	feature (simply rename jail_${jailname}_zfs_datasets in the ezjail
53b9a60d36SAlexander Leidinger	config to jail_${jailname}_zfs_dataset.
54b9a60d36SAlexander Leidinger
55b9a60d36SAlexander Leidingere0dfe185cbca:
56b9a60d36SAlexander Leidinger	jail(8) now support zfs.dataset to add a list of ZFS datasets to a
57b9a60d36SAlexander Leidinger        jail.
58b9a60d36SAlexander Leidinger
592f036705SXin LI61174ad88e33:
602f036705SXin LI	newsyslog(8) now supports specifying a global compression method directly
612f036705SXin LI	at the beginning of the newsyslog.conf file, which will make newsyslog(8)
622f036705SXin LI	to behave like the corresponding option was passed to the newly added
632f036705SXin LI	'-c' option. For example:
642f036705SXin LI
652f036705SXin LI	<compress> none
662f036705SXin LI
672f036705SXin LI906748d208d3:
682f036705SXin LI	newsyslog(8) now accepts a new option, '-c' which overrides all historical
692f036705SXin LI	compression flags by treating their meaning as "treat the file as compressible"
702f036705SXin LI	rather than "compress the file with that specific method."
712f036705SXin LI
722f036705SXin LI	The following choices are available:
732f036705SXin LI	 * none: Do not compress, regardless of flag.
742f036705SXin LI	 * legacy: Historical behavior (J=bzip2, X=xz, Y=zstd, Z=gzip).
752f036705SXin LI	 * bzip2, xz, zstd, gzip: apply the specified compression method.
762f036705SXin LI
772f036705SXin LI	We plan to change the default to 'none' in FreeBSD 15.0.
782f036705SXin LI
79208f089dSRick Macklem1a878807006c:
80208f089dSRick Macklem	This commit added some statistics collection to the NFS-over-TLS
81208f089dSRick Macklem	code in the NFS server so that sysadmins can moditor usage.
82208f089dSRick Macklem	The statistics are available via the kern.rpc.tls.* sysctls.
83208f089dSRick Macklem
84dac33a65SRick Macklem7c5146da1286:
85dac33a65SRick Macklem	Mountd has been modified to use strunvis(3) to decode directory
86dac33a65SRick Macklem	names in exports(5) file(s).  This allows special characters,
87dac33a65SRick Macklem	such as blanks, to be embedded in the directory name(s).
88dac33a65SRick Macklem	"vis -M" may be used to encode such directory name(s).
89dac33a65SRick Macklem
9033c2bd53SMark Johnstonc5359e2af5ab:
9133c2bd53SMark Johnston	bhyve(8) has a new network backend, "slirp", which makes use of the
9233c2bd53SMark Johnston	libslirp package to provide a userspace network stack.  This backend
9333c2bd53SMark Johnston	makes it possible to access the guest network from the host without
9433c2bd53SMark Johnston	requiring any extra network configuration on the host.
9533c2bd53SMark Johnston
96b351fa9dSChristos Margiolisbb830e346bd5:
97b351fa9dSChristos Margiolis	Set the IUTF8 flag by default in tty(4).
98b351fa9dSChristos Margiolis
99b351fa9dSChristos Margiolis	128f63cedc14 and 9e589b093857 added proper UTF-8 backspacing handling
100b351fa9dSChristos Margiolis	in the tty(4) driver, which is enabled by setting the new IUTF8 flag
101b351fa9dSChristos Margiolis	through stty(1). Since the default locale is UTF-8, enable IUTF8 by
102b351fa9dSChristos Margiolis	default.
103b351fa9dSChristos Margiolis
104bb63e82eSBaptiste Daroussinff01d71e48d4:
105b627b3e6SBaptiste Daroussin	dialog(1) has been replaced by bsddialog(1)
106bb63e82eSBaptiste Daroussin
107da51a121SJohn Baldwin41582f28ddf7:
108da51a121SJohn Baldwin	FreeBSD 15.0 will not include support for 32-bit platforms.
109da51a121SJohn Baldwin	However, 64-bit systems will still be able to run older 32-bit
110da51a121SJohn Baldwin	binaries.
111da51a121SJohn Baldwin
112da51a121SJohn Baldwin	Support for executing 32-bit binaries on 64-bit platforms via
113da51a121SJohn Baldwin	COMPAT_FREEBSD32 will remain supported for at least the
114da51a121SJohn Baldwin	stable/15 and stable/16 branches.
115da51a121SJohn Baldwin
116da51a121SJohn Baldwin	Support for compiling individual 32-bit applications via
117da51a121SJohn Baldwin	`cc -m32` will also be supported for at least the stable/15
118da51a121SJohn Baldwin	branch which includes suitable headers in /usr/include and
119da51a121SJohn Baldwin	libraries in /usr/lib32.
120da51a121SJohn Baldwin
121da51a121SJohn Baldwin	Support for 32-bit platforms in ports for 15.0 and later
122da51a121SJohn Baldwin	releases is also deprecated, and these future releases may not
123da51a121SJohn Baldwin	include binary packages for 32-bit platforms or support for
124da51a121SJohn Baldwin	building 32-bit applications from ports.
125da51a121SJohn Baldwin
126da51a121SJohn Baldwin	stable/14 and earlier branches will retain existing 32-bit
127da51a121SJohn Baldwin	kernel and world support.  Ports will retain existing support
128768489c7SJohn Baldwin	for building ports and packages for 32-bit systems on stable/14
129da51a121SJohn Baldwin	and earlier branches as long as those branches are supported
130da51a121SJohn Baldwin	by the ports system.  However, all 32-bit platforms are Tier-2
131da51a121SJohn Baldwin	or Tier-3 and support for individual ports should be expected
132da51a121SJohn Baldwin	to degrade as upstreams deprecate 32-bit platforms.
133da51a121SJohn Baldwin
134da51a121SJohn Baldwin	With the current support schedule, stable/14 will be EOLed 5
135da51a121SJohn Baldwin	years after the release of 14.0.  The EOL of stable/14 would
136da51a121SJohn Baldwin	mark the end of support for 32-bit platforms including source
137da51a121SJohn Baldwin	releases, pre-built packages, and support for building
138da51a121SJohn Baldwin	applications from ports.  Given an estimated release date of
139da51a121SJohn Baldwin	October 2023 for 14.0, support for 32-bit platforms would end
140da51a121SJohn Baldwin	in October 2028.
141da51a121SJohn Baldwin
142da51a121SJohn Baldwin	The project may choose to alter this approach when 15.0 is
143da51a121SJohn Baldwin	released by extending some level of 32-bit support for one or
144da51a121SJohn Baldwin	more platforms in 15.0 or later.  Users should use the
145da51a121SJohn Baldwin	stable/14 branch to migrate off of 32-bit platforms.
146