This impacts the first example in Annotations section of the cookbook.
When using annotate(geom = "label", ...), label outlines are removed by setting label.size = NA (passed to geom_label). In ggplot2 4.0.0, this argument has been replaced by linewidth. Now to remove label outlines, you need to set linewidth = 0.
The code doesn't break when updated, but just produces a warning to highlight that label.size isn't a valid argument. And the labels are outlined in the resulting plot. The reverse is true when using linewidth with an older version of ggplot2.
Action: update cookbook example to use linewidth when organisation has moved to ggplot 4.0.0.