Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit 4303652

Browse files
authored
v0.8.2.3
1 parent e13dbf7 commit 4303652

File tree

69 files changed

+1802
-443
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+1802
-443
lines changed

Docs/articles/CICD.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,15 +248,15 @@ fi
248248

249249
### Import module artifacts to deployment tier
250250

251-
With the deployment tier upgraded, the previously built modules can now be imported. The following command copies the CloudFormation templates and artifacts produced by the _Build_ phase to the deployment tier bucket. All module dependencies must be imported explicitly when using the `--from-origin` option.
251+
With the deployment tier upgraded, the previously built modules can now be imported. The following command copies the CloudFormation templates and artifacts produced by the _Build_ phase to the deployment tier bucket. All module dependencies must be imported explicitly when using the `--from-bucket` option.
252252

253253
> NOTE: `lash publish` can import multiple modules at once.
254254
255255
```bash
256256
lash publish ${LASH_OPTIONS} \
257257
--tier ${DEPLOYMENT_TIER} \
258258
--prompts-as-errors \
259-
--from-origin ${BUILD_BUCKET} \
259+
--from-bucket ${BUILD_BUCKET} \
260260
My.Module@${MODULE_ORIGIN}
261261
```
262262

Docs/articles/ReleaseNotes-Hicetas.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Release notes for LambdaSharp "Hicetas" (v0.8)
44
keywords: release, notes, hicetas
55
---
66

7-
# LambdaSharp "Hicetas" Release (v0.8.2.2) - 2021-03-17
7+
# LambdaSharp "Hicetas" Release (v0.8.2.3) - 2021-04-01
88

99
> Hicetas was a Greek philosopher of the Pythagorean School. He was born in Syracuse. Like his fellow Pythagorean Ecphantus and the Academic Heraclides Ponticus, he believed that the daily movement of permanent stars was caused by the rotation of the Earth around its axis. When Copernicus referred to Nicetus Syracusanus (Nicetus of Syracuse) in _De revolutionibus orbium coelestium_ as having been cited by Cicero as an ancient who also argued that the Earth moved, it is believed that he was actually referring to Hicetas. [(Wikipedia)](https://en.wikipedia.org/wiki/Hicetas)
1010
@@ -141,6 +141,36 @@ Part of this release, _LambdaSharp.Core_ functions were ported to .NET Core 3.1
141141

142142
## Releases
143143

144+
### (v0.8.2.3) - 2021-04-01
145+
146+
#### Features
147+
148+
* CLI
149+
* Added `--from-bucket` as alias for `--from-origin` to make the intent clearer (`--from-origin` is still supported for backwards compatibility).
150+
151+
* Syntax
152+
* Added `stack` as a scope keyword to make an item available from a nested stack, but not publicly available for import.
153+
* Added `Module::RestApi::CorsOrigin` as a referenceable variable to the module environment.
154+
155+
#### Fixes
156+
157+
* CLI
158+
* Fixed an issue where cached module versions were not refreshed when importing a new module to a bucket.
159+
* Fixed an issue where `--existing-s3-bucket-name` was not respected when `--quick-start` was used.
160+
* Fixed an issue where performance statistics were no longer shown for externally invoked tools.
161+
* Fixed an issue where the `$default` WebSocket route could not respond with a custom payload.
162+
163+
* Modules
164+
* _LambdaSharp.App.Api_
165+
* Use `stack` scope outputs variables instead of `public` scope to prevent them being accidentally imported.
166+
* _LambdaSharp.App.Bucket_
167+
* Use `stack` scope outputs variables instead of `public` scope to prevent them being accidentally imported.
168+
* _LambdaSharp.App.EventBus_
169+
* Enforce stricter adherence to protocol with client.
170+
* Respond to unknown actions with an error instead of silently ignoring them.
171+
* Use `stack` scope outputs variables instead of `public` scope to prevent them being accidentally imported.
172+
* Added `WebSocketApiId` as output value so that the WebSocket API can be referenced from the parent stack.
173+
144174
### (v0.8.2.2) - 2021-03-17
145175

146176
#### BREAKING CHANGES

Docs/articles/Setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ keywords: video, tutorial, getting started, overview, setup, install
1313
To get started, make sure you have signed-up for an AWS account and downloaded .NET Core.
1414

1515
1. [AWS Account](https://portal.aws.amazon.com/billing/signup#/start)
16-
1. [.NET Core 3.1+](https://www.microsoft.com/net/download)
16+
1. [.NET 5+](https://www.microsoft.com/net/download)
1717

1818
**NOTE for MacOS Users:** If you run `zsh` shell (default on MacOS Catalina and later), you must add `dotnet` to your environment path variable manually by adding the following line to your `~/.zshrc` file.
1919
```bash

Docs/articles/VideoTutorials.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,9 @@ Learn how you can build and deploy your serverless solution in minutes using Lam
3131
This presentation covers some of the serverless design patterns, such as CQRS (Command and Query Responsibility Separation), CloudFormation stacks, sharing of resources, nested vs. side-by-side composition, and then put it all together with some code samples found at: https://github.com/LambdaSharp/ServerlessPatterns-ServiceComposition
3232

3333
<iframe width="560" height="315" src="https://www.youtube.com/embed/P8o7ZI8XCRg" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
34+
35+
## Serverless .NET Patterns: Publishing and Sharing
36+
37+
This presentation dives into the details of how modules are published. It shows how artifacts from the build process are copied to the deployment bucket. As well as how to stage builds for validation, before publishing the approved artifacts. It is a deep-dive into one of the most critical features in LambdaSharp to ensure a safe development process for production environments. Code samples can be found at: https://github.com/LambdaSharp/ServerlessPatterns-PublishingAndSharing
38+
39+
<iframe width="560" height="315" src="https://www.youtube.com/embed/d7J0cyhCZUc" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Docs/articles/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
- name: Releases
5858
items:
5959

60-
- name: Hicetas (v0.8.2.2)
60+
- name: Hicetas (v0.8.2.3)
6161
href: ReleaseNotes-Hicetas.md
6262

6363
- name: Geminus (v0.7.0.17)

Docs/cli/Tool-Deploy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,10 @@ If the argument refers to a module definition, the `deploy` command invokes the
153153
(optional) Override module build date [yyyyMMddHHmmss]
154154
</dd>
155155

156-
<dt><code>--from-origin &lt;ORIGIN&gt;</code></dt>
156+
<dt><code>--from-bucket &lt;BUCKET&gt;</code></dt>
157157
<dd>
158158

159-
(optional) Use specified origin to import module instead of module origin
159+
(optional) Use specified S3 bucket to import module from instead of module origin
160160
</dd>
161161

162162
<dt><code>--force-build</code></dt>

Docs/cli/Tool-Publish.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ lash new function MyNewFunction
8181
(optional) Override module build date [yyyyMMddHHmmss]
8282
</dd>
8383

84-
<dt><code>--from-origin &lt;ORIGIN&gt;</code></dt>
84+
<dt><code>--from-bucket &lt;BUCKET&gt;</code></dt>
8585
<dd>
8686

87-
(optional) Use specified origin to import module instead of module origin
87+
(optional) Use specified S3 bucket to import module from instead of module origin
8888
</dd>
8989

9090
<dt><code>--force-build</code></dt>

Docs/modules/LambdaSharp-App-Api.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,13 @@ The <code>RootPath</code> outputs contains the root path for the app API.
209209

210210
## REST API
211211

212-
The API key is computed by concatenating the app version identifier with the colon character (i.e. `':'`) and the CloudFormation stack identifier, and then applying a base 64 encoding to the result. When `DevMode` is enabled, the API key only uses the CloudFormation stack identifier.
212+
The REST API endpoint can be found in the `Url` output value of the nested stack.
213+
214+
### Authentication
215+
216+
The REST API expects a `X-Api-Key` header in the request to validate access to the API.
217+
218+
The API key is computed by concatenating `AppVersionId` with the colon character (i.e. `':'`) and the CloudFormation stack identifier, and then applying a base 64 encoding to the result. When `DevMode` is enabled, the API key only uses the CloudFormation stack identifier.
213219

214220
To compute the effective API key, base 64 decode the `ApiKey` output value and concatenate it to the app version identifier:
215221
```javascript

0 commit comments

Comments
 (0)