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: v4.0.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: v4.0.3
Choose a head ref
  • 14 commits
  • 30 files changed
  • 4 contributors

Commits on Apr 27, 2021

  1. chore: add Lance Ball to maintainers in package.json (#411)

    Signed-off-by: Lance Ball <lball@redhat.com>
    lance authored Apr 27, 2021
    Configuration menu
    Copy the full SHA
    d68b85a View commit details
    Browse the repository at this point in the history
  2. doc: improve generated documentation (#410)

    Adds some additional JSDoc properties so the docs are clearer.
    
    Signed-off-by: Lance Ball <lball@redhat.com>
    lance authored Apr 27, 2021
    Configuration menu
    Copy the full SHA
    0c17ff3 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2021

  1. build(deps): bump hosted-git-info from 2.8.8 to 2.8.9 (#416)

    Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
    - [Release notes](https://github.com/npm/hosted-git-info/releases)
    - [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
    - [Commits](npm/hosted-git-info@v2.8.8...v2.8.9)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 13, 2021
    Configuration menu
    Copy the full SHA
    2c8cc45 View commit details
    Browse the repository at this point in the history
  2. build(deps): bump lodash from 4.17.20 to 4.17.21 (#415)

    Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
    - [Release notes](https://github.com/lodash/lodash/releases)
    - [Commits](lodash/lodash@4.17.20...4.17.21)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 13, 2021
    Configuration menu
    Copy the full SHA
    d0ff345 View commit details
    Browse the repository at this point in the history
  3. build(deps): bump underscore from 1.11.0 to 1.13.1 (#413)

    Bumps [underscore](https://github.com/jashkenas/underscore) from 1.11.0 to 1.13.1.
    - [Release notes](https://github.com/jashkenas/underscore/releases)
    - [Commits](jashkenas/underscore@1.11.0...1.13.1)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 13, 2021
    Configuration menu
    Copy the full SHA
    6d7fb24 View commit details
    Browse the repository at this point in the history
  4. build(deps): bump handlebars from 4.7.6 to 4.7.7 (#414)

    Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
    - [Release notes](https://github.com/wycats/handlebars.js/releases)
    - [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
    - [Commits](handlebars-lang/handlebars.js@v4.7.6...v4.7.7)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 13, 2021
    Configuration menu
    Copy the full SHA
    e06147b View commit details
    Browse the repository at this point in the history
  5. src: be more forgiving parsing JSON as a string (#417)

    * src: be more forgiving parsing JSON as a string
    
    A simple string is considered valid JSON. However, our parsers do
    not accept that unless the string has quotation marks. This commit
    modifies the parser to look for strings declared as application/json
    which do not begin with '[' '{' or '"' and surrounds them with
    quotes.
    
    Signed-off-by: Lance Ball <lball@redhat.com>
    lance authored May 13, 2021
    Configuration menu
    Copy the full SHA
    db4be6b View commit details
    Browse the repository at this point in the history

Commits on May 14, 2021

  1. chore: add copyrights header and lint rules (#418)

    Signed-off-by: Remi Cattiau <remi@cattiau.com>
    loopingz authored May 14, 2021
    Configuration menu
    Copy the full SHA
    80d987c View commit details
    Browse the repository at this point in the history

Commits on May 24, 2021

  1. fix: throw on validation if extensions are improperly named (#420)

    Also fixes the case where UPPERCASED extension names were silently changed
    to lowercase and then set as undefined. Even though uppercased extension
    names are invalid, we should still accept them in incoming messsages and
    only throw when validating the event.
    
    Fixes: #380
    
    Signed-off-by: Lance Ball <lball@redhat.com>
    lance authored May 24, 2021
    Configuration menu
    Copy the full SHA
    7f6b658 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2021

  1. fix: do not modify incoming event's specversion (#419)

    Even if the specversion is totally invalid, we should not change the value
    received in an incoming `Message`. Previously we defaulted to 1.0 if we did
    not recognize the version number. This commit changes that, leaving the value
    unmodified. We default to parsing this mystery event with the 1.0 spec. When
    the event is validated with `event.validate()` we return `false`.
    
    One additional small change to eliminate a prettier warning about `parer`
    being previously declared.
    
    Fixes: #332
    Fixes: #333
    
    Signed-off-by: Lance Ball <lball@redhat.com>
    lance authored May 25, 2021
    Configuration menu
    Copy the full SHA
    7c05ade View commit details
    Browse the repository at this point in the history
  2. fix: do not modify incoming event's specversion (#419)

    Even if the specversion is totally invalid, we should not change the value
    received in an incoming `Message`. Previously we defaulted to 1.0 if we did
    not recognize the version number. This commit changes that, leaving the value
    unmodified. We default to parsing this mystery event with the 1.0 spec. When
    the event is validated with `event.validate()` we return `false`.
    
    One additional small change to eliminate a prettier warning about `parer`
    being previously declared.
    
    Fixes: #332
    Fixes: #333
    
    Signed-off-by: Lance Ball <lball@redhat.com>
    lance authored May 25, 2021
    Configuration menu
    Copy the full SHA
    22e42dd View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2021

  1. build(deps): bump browserslist from 4.14.7 to 4.16.6 (#421)

    Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.14.7 to 4.16.6.
    - [Release notes](https://github.com/browserslist/browserslist/releases)
    - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
    - [Commits](browserslist/browserslist@4.14.7...4.16.6)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 6, 2021
    Configuration menu
    Copy the full SHA
    b3d9cd4 View commit details
    Browse the repository at this point in the history
  2. build(deps): bump set-getter from 0.1.0 to 0.1.1 (#422)

    Bumps [set-getter](https://github.com/doowb/set-getter) from 0.1.0 to 0.1.1.
    - [Release notes](https://github.com/doowb/set-getter/releases)
    - [Commits](https://github.com/doowb/set-getter/commits/0.1.1)
    
    ---
    updated-dependencies:
    - dependency-name: set-getter
      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 Jul 6, 2021
    Configuration menu
    Copy the full SHA
    5cbe178 View commit details
    Browse the repository at this point in the history
  3. chore: release 4.0.3 (#412)

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