After increasing StreamReadConstraints.maxStringLength initial default to 20M via #1014, many users have demanded yet higher maximum -- some suggesting unlimited. As a compromise, let's raise default in 3.1 to 100M (100_000_000 units (bytes or chars depending on input source). This will not affect those who set explicit limits and 3.1 is expected to finally provide stable baseline for all defaults (there have been some changes since 3.0) so if this is to be changed that needs to be done now.
After increasing
StreamReadConstraints.maxStringLengthinitial default to 20M via #1014, many users have demanded yet higher maximum -- some suggesting unlimited. As a compromise, let's raise default in 3.1 to100M(100_000_000units (bytes orchars depending on input source). This will not affect those who set explicit limits and 3.1 is expected to finally provide stable baseline for all defaults (there have been some changes since 3.0) so if this is to be changed that needs to be done now.