First, thanks for being one of the earliest Begin testers!
We heard your feedback about things we needed to improve in first version of the Begin private alpha, namely:
XMLFunctions) were too confusing
We addressed all this feedback (and more) in our open core with Architect 4 (Yeti), and are now rolling it out to Begin! This includes:
publicfolder easily syncs static assets and build artifacts
It pains us to say the very earliest batch of Begin apps have incompatible low-level APIs that meant we couldn't seamlessly migrate them to the new app infrastructure.
This impacted the first few hundred alpha apps, and we're really sorry! We weighed the gravity of the feedback we were getting, and opted to make this change while things are still very early.
We don't foresee any changes of this nature coming any time soon, and here's the good news:
To upgrade your existing codebase to Architect 4 Begin apps, follow these steps:
@architect/functionsis updated in each route
npx hydrate --updatefrom your project's root directory can help!
http, and remove the HTTP verb, like so:
// old exports.handler = begin.html.get(route)
// new exports.handler = begin.http(route)
Thank you for your patience. We wouldn't have made this change if it wasn't for the impassioned, thoughtful feedback of early Begin users like yourself, and we can't wait to hear what you think about the improvements we've made to your Begin app experience.