Values of the requires and relocatable keys were not sent to the backend when publishing a package.
Anything was allowed in the requires key in the control file.
Message Nothing to publish was shown by the CLI even though package's properties were updated.
What is the new behavior?
requires and relocatable will be sent to the backend when publishing a package. These are optional for now for backward compatibility with older CLI versions. We will remove the publish_package(package_name app.valid_name, package_description varchar(1000) function once the newer CLI version is widely abopted.
Only extension names in the app.allowed_extensions table are allowed in the requires key in the control file. Currently extensions available on Supbase and AWS RDS are allow-listed.
Message Updated package properties will now be shown to indicate that relocatable and requires keys have been updated.
What kind of change does this PR introduce?
Feature
What is the current behavior?
requires
andrelocatable
keys were not sent to the backend when publishing a package.requires
key in the control file.Nothing to publish
was shown by the CLI even though package's properties were updated.What is the new behavior?
requires
andrelocatable
will be sent to the backend when publishing a package. These are optional for now for backward compatibility with older CLI versions. We will remove thepublish_package(package_name app.valid_name, package_description varchar(1000)
function once the newer CLI version is widely abopted.app.allowed_extensions
table are allowed in therequires
key in the control file. Currently extensions available on Supbase and AWS RDS are allow-listed.Updated package properties
will now be shown to indicate thatrelocatable
andrequires
keys have been updated.Additional context
Fixes #131