[ ] Affected Issues have been mentioned in the Closing issues section
[ ] Documentation has been written/updated
[ ] PR title is ready for inclusion in changelog
Database Migrations
[x] If your PR contains a database migation, it MUST be the latest in date order alphabetically
This introduces a deprecation on bytesUsed when interacting with environment storage queries and mutations.
When retrieving environment storage sizes, bytesUsed is provided as the name when the value of this data is actually kibibytes. This PR is the first step in the removal of bytesUsed and renaming to kibUsed. A follow up PR will introduce the actual breaking change to remove it in a future release.
Additionally, bytesUsed is an Int type, which has a 32bit integer limitation. The new kibUsed input is a Float type to allow greater input.
For now, bytesUsed is still the required input for addOrUpdateEnvironmentStorage with kibUsed as an optional argument. kibUsed will be preferred though if it is provided. Unfortunately, as bytesUsed is still an Int large numbers will still cause an error if they are provided, until bytesUsed is completely removed from the API in a future version
General Checklist
Database Migrations
This introduces a deprecation on
bytesUsed
when interacting with environment storage queries and mutations.When retrieving environment storage sizes,
bytesUsed
is provided as the name when the value of this data is actually kibibytes. This PR is the first step in the removal ofbytesUsed
and renaming tokibUsed
. A follow up PR will introduce the actual breaking change to remove it in a future release.Additionally,
bytesUsed
is anInt
type, which has a 32bit integer limitation. The newkibUsed
input is aFloat
type to allow greater input.For now,
bytesUsed
is still the required input foraddOrUpdateEnvironmentStorage
withkibUsed
as an optional argument.kibUsed
will be preferred though if it is provided. Unfortunately, asbytesUsed
is still anInt
large numbers will still cause an error if they are provided, untilbytesUsed
is completely removed from the API in a future versionClosing issues
closes #2245