Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aws/aws-lambda-rust-runtime
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.6.0
Choose a base ref
...
head repository: aws/aws-lambda-rust-runtime
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.6.1
Choose a head ref
  • 13 commits
  • 14 files changed
  • 6 contributors

Commits on Aug 2, 2022

  1. Fix test example in Readme (#507)

    Types are private and cannot be used. Also the handler is async. We have to `await` the result.
    johan-smits authored Aug 2, 2022
    Configuration menu
    Copy the full SHA
    71565d6 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2022

  1. Update links to cargo-lambda documentation (#510)

    The documentation is not in the project's readme anymore. These changes redirect people to the right places.
    calavera authored Aug 12, 2022
    Configuration menu
    Copy the full SHA
    9119e5d View commit details
    Browse the repository at this point in the history
  2. fix lambda-extension README (#511)

    the current example code doesn't work if you copy/paste it into a repo created with
    `cargo lambda new`, even if you change the `Cargo.toml` to pull in the `lambda-extension`
    crate.  The default template doesn't bring in `tracing` with the `ansi` feature.  This
    updates the README to have code that's more in line with the default template.
    greenwoodcm authored Aug 12, 2022
    Configuration menu
    Copy the full SHA
    62660df View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2022

  1. Fix clippy errors. (#512)

    Signed-off-by: David Calavera <[email protected]>
    
    Signed-off-by: David Calavera <[email protected]>
    calavera authored Aug 13, 2022
    Configuration menu
    Copy the full SHA
    b88e9ab View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2022

  1. fix clippy warnings in unit tests (#513)

    not sure if there's a way for `cargo clippy` to lint the tests
    by default...
    greenwoodcm authored Aug 15, 2022
    Configuration menu
    Copy the full SHA
    a20193d View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. Configuration menu
    Copy the full SHA
    f77b044 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2022

  1. Fix paths with spaces in HTTP requests. (#516)

    * Fix paths with spaces in HTTP requests.
    
    Encode the characters not allowed in URLs before creating the request.
    
    Signed-off-by: David Calavera <[email protected]>
    
    * Cleanup parameters and comments.
    
    Signed-off-by: David Calavera <[email protected]>
    
    Signed-off-by: David Calavera <[email protected]>
    calavera authored Aug 28, 2022
    Configuration menu
    Copy the full SHA
    fd2ea23 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2022

  1. Report error when we cannot deserialize the payload. (#520)

    Instead of panic, capture the error, and report it to the Lambda api. This is more friendly to operate.
    
    Signed-off-by: David Calavera <[email protected]>
    
    Signed-off-by: David Calavera <[email protected]>
    calavera authored Aug 31, 2022
    Configuration menu
    Copy the full SHA
    756dfc4 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2022

  1. Fix outdated docstring of some RequestExt functions (#524)

    The PR #253 removed some of the `#[cfg(test)]` guards for a few
    functions which are useful in testing outside of the library. However
    the docstrings still stated that the test configuration was needed. This
    commit fixes the docstrings.
    
    Co-authored-by: Simon Gasse <[email protected]>
    sgasse and sgasse authored Sep 5, 2022
    Configuration menu
    Copy the full SHA
    9b27da0 View commit details
    Browse the repository at this point in the history
  2. Add with_request_context to RequestExt (#523)

    The trait `RequestExt` already includes functions to add query string
    parameters, path parameters and stage variables to a request. This
    commit adds another function to allow adding a `RequestContext` to the
    request. This is useful in cases where a lambda function is called by
    the API Gateway with a custom authorizer that adds parameters to the
    `RequestContext`.
    
    Related to #522
    
    Co-authored-by: Simon Gasse <[email protected]>
    sgasse and sgasse authored Sep 5, 2022
    Configuration menu
    Copy the full SHA
    b28b868 View commit details
    Browse the repository at this point in the history
  3. Fix trivial typo in docs of RequestExt (#525)

    Co-authored-by: Simon Gasse <[email protected]>
    sgasse and sgasse authored Sep 5, 2022
    Configuration menu
    Copy the full SHA
    1f8c4da View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2022

  1. Adding functionality to catch panics that occur both inside the runti…

    …me handler and in the `Future` it returns (#521)
    
    Co-authored-by: = <=>
    fermanjj authored Sep 7, 2022
    Configuration menu
    Copy the full SHA
    1cacdd8 View commit details
    Browse the repository at this point in the history
  2. Release 0.6.1 (#526)

    Fixes issues with http paths.
    Fixes issues with panics in async functions.
    Fixes issues reporting errors from serde.
    Add functions to set RequestContext to the RequestExt.
    
    Signed-off-by: David Calavera <[email protected]>
    
    Signed-off-by: David Calavera <[email protected]>
    calavera authored Sep 7, 2022
    Configuration menu
    Copy the full SHA
    b1c5dfd View commit details
    Browse the repository at this point in the history
Loading