Got this message today after updating grub on PureOS Crimson 11.
Notices: Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. Warning: os-prober will not be executed to detect other bootable partitions.
Personally I don’t use “hidden”. Instead I have GRUB_TIMEOUT_STYLE=menu and the only reason that I can see to avoid that would be with non-technical users who would be confused or who would stuff it up (which I guess would include some kind of kiosk environment).
So probably
GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=5
The file noted above recommends using info -f grub -n 'Simple configuration' for documentation on available options.
By the way, none of the above is a Purism recommendation. I don’t speak for Purism. These are just my personal observations.