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: v5.3.2
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: v6.0.1
Choose a head ref
  • 11 commits
  • 18 files changed
  • 3 contributors

Commits on Feb 14, 2022

  1. build(deps): bump follow-redirects from 1.14.7 to 1.14.8 (#473)

    Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
    - [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
    - [Commits](follow-redirects/follow-redirects@v1.14.7...v1.14.8)
    
    ---
    updated-dependencies:
    - dependency-name: follow-redirects
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Feb 14, 2022
    Configuration menu
    Copy the full SHA
    4d8f03f View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2022

  1. feat: precompile cloudevent schema (#471)

    * feat: precompile cloudevent schema
    
    This commit modifies the build pipleline so that the cloudevent schema is
    precompiled for runtime validation. This eliminates the need to compile the
    schema at runtime, improving both performance and security.
    
    Fixes: #423
    
    Signed-off-by: Lance Ball <lball@redhat.com>
    lance authored Feb 15, 2022
    Configuration menu
    Copy the full SHA
    b13bde9 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2022

  1. chore: update the release documentation (#476)

    It has been out of date since we switched to using release-please
    for our release automation.
    
    Fixes: #474
    
    Signed-off-by: Lance Ball <lball@redhat.com>
    lance authored Feb 16, 2022
    Configuration menu
    Copy the full SHA
    c420da4 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2022

  1. doc: update maintainers in README.md (#478)

    This commit modifies the structure of the README.md to add a markdown
    heading. This change is motiviated by the CLO tool provided by CNCF.
    This repository is failing a check for maintainers as you can see on
    the dashboard:
    https://clomonitor.io/projects/cloudevents/cloudevents#sdk-javascript
    
    Documentation for this change can be found here:
    https://github.com/cncf/clomonitor/blob/main/docs/checks.md#maintainers
    
    Signed-off-by: Lance Ball <lball@redhat.com>
    lance authored Mar 17, 2022
    Configuration menu
    Copy the full SHA
    ae8cb96 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2022

  1. chore: update package.json format and deps (#479)

    Signed-off-by: Lance Ball <lball@redhat.com>
    lance authored Mar 18, 2022
    Configuration menu
    Copy the full SHA
    6204805 View commit details
    Browse the repository at this point in the history
  2. chore: add an npm test:once script (#480)

    Adds a convenience npm script that allows you to run only a single test
    file at a time. Example usage:
    
    ```
    sdk-javascript on  lance/update-deps-package-json [!?] is 📦 v5.3.2 via  v16.14.0
    ❯ npm run test:one
    
    > cloudevents@5.3.2 test:one
    > mocha --require ts-node/register
    
    Error: No test files found
    
    sdk-javascript on  lance/update-deps-package-json [!?] is 📦 v5.3.2 via  v16.14.0
    ❯ npm run test:one -- ./test/integration/batch_test.ts
    
    > cloudevents@5.3.2 test:one
    > mocha --require ts-node/register "./test/integration/batch_test.ts"
    
      A batched CloudEvent message over HTTP
        ✔ Can be created with a typed Message
    
      A batched CloudEvent message over Kafka
        ✔ Can be created with a typed Message
    
      2 passing (5ms)
    
    sdk-javascript on  lance/update-deps-package-json [!?] is 📦 v5.3.2 via  v16.14.0
    ```
    
    Signed-off-by: Lance Ball <lball@redhat.com>
    lance authored Mar 18, 2022
    Configuration menu
    Copy the full SHA
    b4d7aa9 View commit details
    Browse the repository at this point in the history
  3. feat!: add http transport and remove axios (#481)

    * feat: add builtin HTTP emitter
    
    Adds a builtin HTTP event emitter that can be used with `emitterFor()`
    to send events over HTTP without pulling in any additional dependencies.
    
    In the past we chose to keep this in our code base by considering axios a
    peer dependency - users were required to include it in their projects
    explicitly. In working on the HTTP emitter, it became more and more
    apparent that the axios emitter was probably no longer needed, and in fact
    I doubt it was really used at all. To use it, users would have been required
    to do this, since it isn't exported at the top level.
    
    const { axiosEmitter } = require("cloudevents/transport/http");
    
    Based on this, I think the usage in the wild is probably very minimal,
    and I like the idea of eliminating this dependency.
    
    Signed-off-by: Lance Ball <lball@redhat.com>
    lance authored Mar 18, 2022
    Configuration menu
    Copy the full SHA
    0362a4f View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2022

  1. docs: update readme to include http builtin transport (#483)

    Signed-off-by: Lance Ball <lball@redhat.com>
    lance authored Mar 21, 2022
    Configuration menu
    Copy the full SHA
    4ab6356 View commit details
    Browse the repository at this point in the history
  2. chore: release 6.0.0 (#482)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Mar 21, 2022
    Configuration menu
    Copy the full SHA
    0164f72 View commit details
    Browse the repository at this point in the history
  3. chore: update dependencies to inlude ajv-formats (#484)

    In this PR https://github.com/cloudevents/sdk-javascript/pull/471/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R128
    it was not noticed that the addition of `ajv-formats` to devDependencies
    is insufficient. Unfortunately, users of v6.0.0 will receive an error when
    using the module, unless they explicitly install `ajv-formats` in their
    project. This commit fixes that, and should result in an immediate release
    of version 6.0.1.
    
    Signed-off-by: Lance Ball <lball@redhat.com>
    lance authored Mar 21, 2022
    Configuration menu
    Copy the full SHA
    c0b1f77 View commit details
    Browse the repository at this point in the history
  4. chore: release 6.0.1 (#485)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Mar 21, 2022
    Configuration menu
    Copy the full SHA
    a512aad View commit details
    Browse the repository at this point in the history
Loading