Skip to content

Commit

Permalink
0.8.0
Browse files Browse the repository at this point in the history
### Additions
- New `"lambda-http"` feature, which changes the HTTP listener to connect to an AWS Lambda execution environment.
    - Is no longer reachable as a regular http server, but accepts http lambda requests as if it were one.
    - Some environment variables, such as `PORT`, are disregarded.
    - If the `"honeycomb"` feature is enabled, trace events are written to stdout, and must be collected via
        a layer provided by Honeycomb. See: https://docs.honeycomb.io/getting-data-in/integrations/aws/aws-lambda/
  • Loading branch information
Fishrock123 committed Jun 15, 2021
1 parent 7e534e3 commit d4ddddc
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ members = [

[package]
name = "preroll"
version = "0.7.0"
version = "0.8.0"
authors = [
"Jeremiah Senkpiel <[email protected]>",
]
Expand Down
11 changes: 10 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

# [0.7.0] - 2021-05-19
## [0.8.0] - 2021-06-15

### Additions
- New `"lambda-http"` feature, which changes the HTTP listener to connect to an AWS Lambda execution environment.
- Is no longer reachable as a regular http server, but accepts http lambda requests as if it were one.
- Some environment variables, such as `PORT`, are disregarded.
- If the `"honeycomb"` feature is enabled, trace events are written to stdout, and must be collected via
a layer provided by Honeycomb. See: https://docs.honeycomb.io/getting-data-in/integrations/aws/aws-lambda/

## [0.7.0] - 2021-05-19

### Changes
- The default backend for the included [Surf][] http client has changed from libcurl (via [Isahc][]) to [http-client's async-h1 client][].
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,14 @@ The following environment variables are read during `preroll::main!`:
This crate is intentionally somewhat prescriptive in how it templates a service and the interaction with
add-on features such as Postgres (via [SQLx][]).

[`preroll::main!`]: https://docs.rs/preroll/0.5.4/preroll/macro.main.html
[`preroll::prelude::*;`]: https://docs.rs/preroll/0.5.4/preroll/prelude/index.html
[`JsonError`]: https://docs.rs/preroll/0.5.4/preroll/struct.JsonError.html
[`preroll::main!`]: https://docs.rs/preroll/0.8.0/preroll/macro.main.html
[`preroll::prelude::*;`]: https://docs.rs/preroll/0.8.0/preroll/prelude/index.html
[`JsonError`]: https://docs.rs/preroll/0.8.0/preroll/struct.JsonError.html
[async-std]: https://async.rs/
[honeycomb.io]: https://www.honeycomb.io/
[SQLx]: https://github.com/launchbadge/sqlx#sqlx
[Surf]: https://github.com/http-rs/surf#surf
[Test utils]: https://docs.rs/preroll/0.5.4/preroll/test_utils/index.html
[Test utils]: https://docs.rs/preroll/0.8.0/preroll/test_utils/index.html
[Tide]: https://github.com/http-rs/tide#tide

## API Reference
Expand Down
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,14 @@
//! This crate is intentionally somewhat prescriptive in how it templates a service and the interaction with
//! add-on features such as Postgres (via [SQLx][]).
//!
//! [`preroll::main!`]: https://docs.rs/preroll/0.5.4/preroll/macro.main.html
//! [`preroll::prelude::*;`]: https://docs.rs/preroll/0.5.4/preroll/prelude/index.html
//! [`JsonError`]: https://docs.rs/preroll/0.5.4/preroll/struct.JsonError.html
//! [`preroll::main!`]: https://docs.rs/preroll/0.8.0/preroll/macro.main.html
//! [`preroll::prelude::*;`]: https://docs.rs/preroll/0.8.0/preroll/prelude/index.html
//! [`JsonError`]: https://docs.rs/preroll/0.8.0/preroll/struct.JsonError.html
//! [async-std]: https://async.rs/
//! [honeycomb.io]: https://www.honeycomb.io/
//! [SQLx]: https://github.com/launchbadge/sqlx#sqlx
//! [Surf]: https://github.com/http-rs/surf#surf
//! [Test utils]: https://docs.rs/preroll/0.5.4/preroll/test_utils/index.html
//! [Test utils]: https://docs.rs/preroll/0.8.0/preroll/test_utils/index.html
//! [Tide]: https://github.com/http-rs/tide#tide
#![forbid(unsafe_code, future_incompatible)]
Expand Down

0 comments on commit d4ddddc

Please sign in to comment.