Locked Versions of
In attempt to make things a bit more stable, we’ve decided to put a lock on the
@pulumi/* NPM package versions. Locking has been achieved via the
resolutions property in the root
@pulumi/* NPM packages are being utilized by Pulumi, the underlying infrastructure-as-code (IaC) solution Webiny relies on. To learn more, check out the Infrastructure as Code With Pulumi key topic.
For existing projects that are being upgraded to
resolutions property will be updated via the
webiny upgrade command.
Pulumi SDK - Using Correct Separator When Constructing
PATHEnvironment Variable (#2084)
Because of an issue in the construction of the
PATH environment variable in our internal Pulumi SDK, on non-Windows operating systems, users might’ve experienced an issue during deployment of their custom project applications. This has now been addressed, so new deployments should work as expected.
Thank you goes to @snstanton for discovering this! ️️❤️
Fixed Incorrect AWS Profile Being Logged During Deployment (#2078)
When relying on environment variables, users can choose to either use a combination of
AWS_SECRET_ACCESS_KEY, or a single
AWS_PROFILE variable. In case of the former, we’ve noticed that, during deployment, an incorrect message would get displayed in the terminal, saying AWS profile “undefined” is being used.
This has now been addressed. From now on, when a combination of
AWS_SECRET_ACCESS_KEY environment variables is used, the AWS Access Key ID will be displayed instead.
uploadFolderToS3 is a small utility function that is used to upload a complete folder directly to an Amazon S3 bucket. At the moment, it’s used when you deploy your Admin Area and Website project applications, within
Once again, a big thank you to @snstanton for implementing this nifty improvement! 🍻
acl property lets you set Canned ACL for every uploaded file. To learn more, check out official AWS documentation.
webiny deployCommand - Introduced
--deploy flag has been added to the
By setting it to false (by passing
--no-deploy), this small addition allows users to skip the deployment step, which can be useful if they only want to build the specified project application. For example:
webiny watchCommand - Fixed Multiline Logs (#2103)
Previously, if you were to add multiline logs in your cloud infrastructure (Pulumi) code, the
webiny watch command’s terminal output would get truncated. This has now been addressed, so you can freely add any additional multiline logs that you might need.
Button Page Element - Ability to Register a Custom Callback Handler (#2022)
Prior to this release, we could say the default Button page element was a bit “basic”, since it was only capable of representing a link and nothing else. But, not anymore.
Thanks to @econtentmaps, the Button page element can now also be configured to execute a piece of code (a click handler) that you previously registered via the new
Here are a couple of quick examples that show how to use this new plugin type:
Searching the Reference Field for Any Version of the Entry (#2068)
For example, we have models
Category is a single value ref field on the
Prior to 5.19.0 you could not search all
Articles that have
Category, for example, My Category in any version. From now on, you will be able to.
Here is an example of the GraphQL Query for it:
Uppercase and Lowercase Field Validators With Space (#2080)
We added new validators that will match either A-Z + space or a-z + space. They are available in newly created projects from 5.19.0 onward.
If you need them in your existing project, you will need to add them in your
You need to add 4 plugins in total:
And, of course, add them to the default export array: