Thanks to visit codestin.com
Credit goes to github.com

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: cloudevents/sdk-javascript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: cloudevents/sdk-javascript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.2.x-backport
Choose a head ref
  • 4 commits
  • 24 files changed
  • 5 contributors

Commits on Sep 3, 2020

  1. feat: introduce Message, Serializer, Deserializer and Binding interfa…

    …ces (#324)
    
    * lib(messages): Implement a 4.0 Messages and other supporting interfaces
    
    This commit introduces the Message, Serializer and Deserializer, and Binding
    interfaces used to convert a CloudEvent into a Message that can be sent across
    a transport protocol. The first protocol implemented for this is HTTP, and some
    of the functionality formerly in src/transport/http has been simplified,
    reduced and/or moved to /src/messages/http.
    
    Test for V1 and V3 events are in place. Conformance tests have been modified to use
    these new interfaces vs. the HTTP Receiver class.
    
    Signed-off-by: Lance Ball <[email protected]>
    lance committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    08e98c7 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2020

  1. feat: add a constructor parameter for loose validation (#328)

    * feat: add a constructor parameter for loose validation
    
    This commit adds a second, optional boolean parameter to the `CloudEvent`
    constructor. When `false` is provided, the event constructor will not
    perform validation of the event properties, values and extension names.
    
    This commit also modifies the ValidationError class so that the error message
    string includes the JSON.stringified version of any schema validation
    errors. It also makes the HTTP.toEvent() function create CloudEvent
    objects with loose/no validation.
    
    Incorporates comments from #328
    
    Fixes: #325
    
    Signed-off-by: Lance Ball <[email protected]>
    lance committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    ae21dba View commit details
    Browse the repository at this point in the history
  2. fix: upgrade cloudevents from 3.0.1 to 3.1.0 (#335)

    Snyk has created this PR to upgrade cloudevents from 3.0.1 to 3.1.0.
    
    See this package in npm:
    https://www.npmjs.com/package/cloudevents
    
    See this project in Snyk:
    https://app.snyk.io/org/lance/project/cb2960b0-db0c-4e77-9ab2-e78efded812e?utm_source=github&utm_medium=upgrade-pr
    
    Co-authored-by: snyk-bot <[email protected]>
    Signed-off-by: Lucas Holmquist <[email protected]>
    2 people authored and lance committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    719c2f0 View commit details
    Browse the repository at this point in the history
  3. chore(example): Replaced body parser with express JSON parser (#334)

    Signed-off-by: Philip Hayes <[email protected]>
    
    Co-authored-by: Philip Hayes <[email protected]>
    2 people authored and lance committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    d8df5ef View commit details
    Browse the repository at this point in the history
Loading