Improving developer experience
Will these new features convince you to get a pre-release version 0.3.7
ahead of everybody else?
Development Page(s) overhauled
One of the most significant changes in this update is the overhaul of the development pages. Now, you have the flexibility to use both Cloud Pages for dynamic Landing Pages and Text Resources to save on Super Messages when developing scripts. With the SSJS: Install Dev Page
command, installation is a breeze, and you can easily select the development page that best suits your needs at any given moment.
Additionally, you now have the option to enhance security by protecting your development with not only a token in the URL but also a login page (basic auth). You can configure these settings differently for your Cloud Pages and Text Resources. Personally, I recommend using token authentication for Text Resources and Basic Auth for Cloud Pages.
How?
While these changes may introduce some breaking adjustments, rest assured that the extension will seamlessly handle most of them. Just follow these simple steps:
- Start your extension as normal. It will automatically migrate your ssjs-setup file to new version.
- Prepare your Cloud Page and/or Cloud Text Resource - I would recommend both.
- Run
SSJS: Install Dev Page
, and follow the steps. - Save content of
.vscode/dploy.me.page.ssjs
and.vscode/dploy.me.page.ssjs
files to Cloud Page and Text resource respectively. Don’t forget to Publish both!
With these steps completed, you’re all set to enjoy the enhanced functionality of the updated development pages.
Why?
Rest assured, all the prep work you’re putting in will pay off! With these changes, future updates to the development pages can be done behind the scenes. Moreover, this lays the groundwork for automatic security patches of Dev Pages, providing enhanced protection for your development environment. Plus, you can conveniently retrieve the entire Dev Page URL using the SSJS: Get Dev Path
command! No more searches for Cloud Page URLs.
License
The extension continues to be available under the BSD-4-clause license, ensuring that it remains free for all users.
And many more!
Additionally, new input dialogs have been improved to simplify the extension setup process. Some commands are renamed to provide a better description of what they do. Be sure to check out the updated Readme and Walkthrough for comprehensive details on these changes.
Ready for the Pre-release?
If you’re eager to get your hands on these exciting features before anyone else, you can install the pre-release version by following these steps: In VSCode, navigate to Extensions > SSJS Manager
. Click the arrow next to Install
and select Install Pre-Release Version
.
As always, your feedback is invaluable to us. If you encounter any bugs or issues, please don’t hesitate to reach out.