@hyperframes/aws-lambda 0.8.176 → 0.8.178

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -77,10 +77,15 @@ infrastructure upgrade. Before upgrading an application that calls
77
77
  same new package version.
78
78
  3. Resume renders, then upgrade the application/SDK dependency.
79
79
 
80
- Older state machines can default missing protocol fields to v1 or lack v2
81
- branches, while the new SDK sends explicit v2. If infrastructure cannot be
82
- redeployed first, keep the application on its previous package version or
83
- pass `planProtocol: "v1"` explicitly until the redeploy is complete.
80
+ A site is a `sites/<id>/files.json` file list that an older stack cannot
81
+ read, under either plan protocol. Before it uploads anything,
82
+ `renderToLambda` reads the state machine definition
83
+ (`states:DescribeStateMachine`) and fails with `STACK_TOO_OLD` when the
84
+ stack predates that format. If infrastructure cannot be redeployed first,
85
+ keep the application on its previous package version until the redeploy is
86
+ complete. Site ids from earlier versions keep working after the redeploy:
87
+ when `sites/<id>/files.json` is missing, the render uses that site's
88
+ `project.tar.gz`.
84
89
 
85
90
  ## Chrome runtime
86
91