Drupal 11 will change many functionality related to file validation. One of the changes is the hook_file_validate() which is now deprecated and will be removed from Drupal 11.
How do you update entity display mode to show a newly created field by default? It is easy with configuration import, but what if you need to use hook_update_N?
Drupal has good multilingual support out of the box and it allows to creation of multilingual sites easily. In normal circumstances translation process is easy, but there are some cases where you may want to update translations programmatically.
Enums allow a developer to define a custom type that is limited to one of a discrete number of possible values. Using it as an array key was not that straightforward.
I have worked on multilingual Drupal sites quite a lot but some things still come as a surprise. I have used entity query in some cases but today I did encounter an issue where something did not work correctly.
The Libraries API in Drupal is very powerful and flexible, but it may come with a cost - it may fail in some cases, like the libraries-override definition.