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.x
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 14 commits
  • 36 files changed
  • 7 contributors

Commits on Sep 11, 2020

  1. docs: add ref to CoC and other things (#244)

    * add ref to CoC and other things
    
    Signed-off-by: Doug Davis <[email protected]>
    Doug Davis authored and lance committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    1d7886c View commit details
    Browse the repository at this point in the history
  2. chore: typo (#313)

    Signed-off-by: Doug Davis <[email protected]>
    Doug Davis authored and lance committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    d78d101 View commit details
    Browse the repository at this point in the history
  3. refactor: validate cloudevent version agnostic (#311)

    Signed-off-by: Grant Timmerman <[email protected]>
    grant authored and lance committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    3d2f01a View commit details
    Browse the repository at this point in the history
  4. test: implement pending tests leftover from TS rewrite (#315)

    This commit implements 4 of the 6 pending tests that were not completed
    during the TypeScript rewrite. The two tests that were not implemented
    were (one for each of v1 and v03):
    
    ```
    it("returns a JSON string even if format is invalid");
    ```
    
    I don't really know what that's supposed to be/mean, so I removed them.
    
    Fixes: #232
    
    Signed-off-by: Lance Ball <[email protected]>
    lance committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    fcd869e View commit details
    Browse the repository at this point in the history
  5. chore: Update references of master to main (#316)

    Signed-off-by: Lucas Holmquist <[email protected]>
    lholmquist authored and lance committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    9b44dfa View commit details
    Browse the repository at this point in the history
  6. fix: upgrade uuid from 8.2.0 to 8.3.0 (#317)

    Snyk has created this PR to upgrade uuid from 8.2.0 to 8.3.0.
    
    See this package in npm:
    https://www.npmjs.com/package/uuid
    
    See this project in Snyk:
    https://app.snyk.io/org/lance/project/37afc620-45ad-41a3-9acc-1ac155caebc7?utm_source=github&utm_medium=upgrade-pr
    
    Signed-off-by: Lucas Holmquist <[email protected]>
    snyk-bot authored and lance committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    e433f9a View commit details
    Browse the repository at this point in the history
  7. chore: Remove commented version import. (#319)

    * The commented out version import now gets imported from the cloudevent.ts file
    
    Signed-off-by: Lucas Holmquist <[email protected]>
    lholmquist authored and lance committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    ffb1a13 View commit details
    Browse the repository at this point in the history
  8. chore: Update README with correct links for the support specification…

    … versions (#321)
    
    * chore(readme): Remove reference of HTTPReceiver
    
    * chore(readme): fix support specification links.
    
    * This adds the real links to the v0.3 and v1.0 specification.
    
    fixes #320
    
    Signed-off-by: Lucas Holmquist <[email protected]>
    lholmquist authored and lance committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    198abb6 View commit details
    Browse the repository at this point in the history
  9. chore: add cucumber.js to list of files to lint and /docs to .gitigno…

    …re (#327)
    
    Signed-off-by: Lance Ball <[email protected]>
    lance committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    ef05f27 View commit details
    Browse the repository at this point in the history
  10. 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 11, 2020
    Configuration menu
    Copy the full SHA
    e2eb476 View commit details
    Browse the repository at this point in the history
  11. 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 11, 2020
    Configuration menu
    Copy the full SHA
    a0e7281 View commit details
    Browse the repository at this point in the history
  12. 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 11, 2020
    Configuration menu
    Copy the full SHA
    6732194 View commit details
    Browse the repository at this point in the history
  13. 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 11, 2020
    Configuration menu
    Copy the full SHA
    e6204af View commit details
    Browse the repository at this point in the history
  14. "chore(release): 3.2.0"

    Signed-off-by: Lance Ball <[email protected]>
    lance committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    b9ed261 View commit details
    Browse the repository at this point in the history
Loading