The version value in .info.yml files must be a string. Previously, using numeric literals was possible, but this can lead to all sorts of problems. For example, the version 1.0 would be parsed as a number, and simplified to just 1. To ensure consistency, the version value must now explicitly be a string wrapped in single quotes.
Note that extension developers distributing code on Drupal.org do not need to worry about this. The Drupal.org packaging system automatically adds the version key to .info.yml files, and has always done so as a string literal. This change primarily impacts the .info.yml files for custom extensions.
Before
An custom_example.info.yml file might look like this:
core_version_requirement: '^10 || ^11'
name: 'Custom example'
type: module
version: 1.1
After
Now, you must wrap the version value in quotes:
core_version_requirement: '^10 || ^11'
name: 'Custom example'
type: module
version: '1.1'