Lucas Holmquist
fc760976bf
chore(main): release 9.0.0 ( #611 )
...
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
2025-04-09 08:31:17 -04:00
Lucas Holmquist
3ff6fdd3bf
feat!: remove node 16 ( #610 )
...
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
2025-04-03 12:04:46 -04:00
Lucas Holmquist
c07afa9b77
chore(main): release 8.0.3 ( #606 )
...
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
2025-04-02 12:17:04 -04:00
Alex Tennant
f475cdfd7e
fix: add generics to `Binding` type ( #604 )
...
Fixes: https://github.com/cloudevents/sdk-javascript/issues/487
Signed-off-by: Alex Tennant <atennant@skedulo.com>
2025-04-02 12:14:50 -04:00
Lucas Holmquist
8357719bab
chore(main): release 8.0.2 ( #594 )
...
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
2024-07-22 13:26:06 -04:00
Calum Murray
6977113d7b
fix: creating an event does not error when the event attribute name is too long ( #593 )
...
* fix: creating an event does not error when the event attribute name is too long
* From the spec, the requirement for the length of attribute names is only a SHOULD, not a MUST. Currently, if the length is over 20 then the sdk throws an error, which I believe is incorrect because the length requirement is not a MUST.
Signed-off-by: Calum Murray <cmurray@redhat.com>
* fix(test): test expects not to throw
Signed-off-by: Calum Murray <cmurray@redhat.com>
---------
Signed-off-by: Calum Murray <cmurray@redhat.com>
2024-07-22 13:22:43 -04:00
Lucas Holmquist
154e913717
chore(main): release 8.0.1 ( #574 )
...
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
2024-06-12 11:23:17 -04:00
Remi Cattiau
e7626077ed
fix: allow Node 22 and use it by default ( #587 )
...
Signed-off-by: Remi Cattiau <remi@cattiau.com>
2024-06-12 07:04:01 -04:00
Rathan Kumar
c65afe94d2
chore: updated check mark symbol to show some green checkboxes ( #582 )
...
Signed-off-by: Rathan Kumar <RathanKumar@users.noreply.github.com>
2024-04-16 09:56:25 -04:00
Tim Nunamaker
245bae92d1
chore: Update compatible node version ( #573 )
...
* chore: Update compatible node version
Signed-off-by: Tim Nunamaker <tim@vana.com>
* Add Node.js 21 to the CI matrix
Signed-off-by: Tim Nunamaker <tim@vana.com>
---------
Signed-off-by: Tim Nunamaker <tim@vana.com>
2023-12-05 08:36:13 -05:00
Doug Davis
f93f896002
add link to our security mailing list ( #568 )
2023-10-17 10:49:20 -04:00
Doug Davis
16d0c0f91f
Governance docs per CE PR 1226 ( #565 )
...
Signed-off-by: Doug Davis <dug@microsoft.com>
2023-09-28 10:03:26 -04:00
Lucas Holmquist
db60220762
chore(main): release 8.0.0 ( #558 )
...
* chore(main): release 8.0.0
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
---------
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
2023-07-24 14:15:23 -04:00
Lucas Holmquist
1ed43c8486
chore: release 8.0.0 ( #563 )
...
Release-As: 8.0.0
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
2023-07-24 13:55:39 -04:00
Lance Ball
df059e9696
BREAKING CHANGE!: use string instead of enum for Version ( #562 )
...
This is an empty commit that provides a reference to https://github.com/cloudevents/sdk-javascript/pull/561
which was not considered a breaking change by release-please.
Release-As: 8.0.0
Signed-off-by: Lance Ball <lball@redhat.com>
2023-07-20 13:48:21 -04:00
Lance Ball
15f6505a58
BREAKING CHANGE: use string instead of enum for `Version` ( #561 )
...
TypeScript does not consider enum values equivalent, even if the string
representation is the same. So, when a module imports `cloudevents` and
also has a dependency on `cloudevents` this can cause conflicts where
the `CloudEvent.version` attribute is not considered equal when, in
fact, it is.
Changing the `enum` to a string is pretty straightforward, but should be
considered a breaking change since TypeScript dependents will
potentially fail the build with a change like this.
Signed-off-by: Lance Ball <lball@redhat.com>
2023-07-19 10:53:03 -04:00
Lance Ball
089520a4cc
chore: modify release-please to use Signed-Off-By on commits ( #559 )
...
Signed-off-by: Lance Ball <lball@redhat.com>
2023-07-13 21:13:37 -04:00
Lance Ball
fa388f7dc6
chore: add `npm run build:schema` to the doc generation action ( #557 )
...
The github action that generates the documentation fails currently due
to the fact that it's expecting the generated schema to exist, but it
does not exist unless it's explicitly built.
This commit adds `npm run build:schema` to the workflow action.
Signed-off-by: Lance Ball <lball@redhat.com>
2023-07-11 12:57:57 -04:00
github-actions[bot]
0d923a4f92
chore(main): release 7.0.2 ( #555 )
...
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
Co-authored-by: Lucas Holmquist <lholmqui@redhat.com>
2023-07-11 11:54:47 -04:00
Lucas Holmquist
a0d8682613
chore: add the provenance flag when publishing to npm ( #556 )
...
* This also splits the GH release and npm publish workflows
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
2023-07-05 09:37:35 -04:00
Lucas Holmquist
023171d9a0
chore: fix the release-please automation script. ( #554 )
...
The id of release was left out, so the checks to see if there needs to be a publish were being skipped
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
2023-05-31 11:54:34 -04:00
github-actions[bot]
3d961371da
chore(main): release 7.0.1 ( #548 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-31 09:49:04 -04:00
Pieter Wigboldus (HckrNews)
f3659ebfc6
chore: Update compatible node version ( #552 )
...
Signed-off-by: Pieter Wigboldus <pieter.wigboldus@pon.com>
Undo lock file
Co-authored-by: Pieter Wigboldus <pieter.wigboldus@pon.com>
2023-05-30 10:26:50 -04:00
Lucas Holmquist
11442d32d3
chore: remove old Node versions from the readme ( #549 )
...
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
2023-05-16 16:14:18 -04:00
Lucas Holmquist
3931b224cb
chore: add publish automation ( #550 )
...
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
2023-05-16 16:13:49 -04:00
Lance Ball
43c3584b98
fix: handle big integers in incoming events ( #495 )
...
* fix: handle big integers in incoming events
An event may have data that contains a BigInt. The builtin `JSON` parser
for JavaScript does not handle the `BigInt` types. The introduced
`json-bigint` dependency (34k) does.
Fixes: https://github.com/cloudevents/sdk-javascript/issues/489
Signed-off-by: Lance Ball <lball@redhat.com>
2023-05-10 12:45:43 -04:00
github-actions[bot]
1995b5778e
chore(main): release 7.0.0 ( #547 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-03 12:13:52 -04:00
Lance Ball
0120d224ab
chore: release 7.0.0 ( #546 )
...
Release-As: 7.0.0
Signed-off-by: Lance Ball <lball@redhat.com>
2023-05-03 12:10:06 -04:00
Lucas Holmquist
2cb9364a25
feat!: remove node 12 and node 14 ( #545 )
...
* feat!: remove node 12 and node 14
Node 12 has been EOL since the end of April 2022 and Node 14 just became EOL at the end of April 2023
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
2023-05-03 11:10:47 -04:00
Lance Ball
4626529d56
fixup: resolve package-lock.json conflict ( #544 )
...
Signed-off-by: Lance Ball <lball@redhat.com>
2023-05-03 09:29:55 -04:00
Lance Ball
ec83abc827
chore: fix release-please-action ( #543 )
...
Signed-off-by: Lance Ball <lball@redhat.com>
2023-05-03 09:29:41 -04:00
sskular-wonderlab
1cf8f8acae
540 fix node version ( #541 )
...
* build(deps-dev): bump webpack from 5.75.0 to 5.76.0
Bumps [webpack](https://github.com/webpack/webpack ) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: include node v20.0.0 in package.json
Signed-off-by: Slavko Skular <slavko.skular@wonderlab-it.co.uk>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Slavko Skular <slavko.skular@wonderlab-it.co.uk>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 14:44:02 -04:00
Lucas Holmquist
343382ebde
chore: release 6.0.5 ( #542 )
...
Release-As: 6.0.5
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
2023-05-02 14:38:31 -04:00
Lucas Holmquist
c06ffc1963
chore: add the build script to the pretest script. ( #539 )
...
This small change allows a developer to just run npm install and then npm test without having to run the build step separately, which compiles the schema that is needed to run the tests successfully.
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
2023-05-01 17:30:12 -04:00
Jordan Moore
7ff64f8b82
chore: Update CI action to node 18.x ( #533 )
...
* Update CI action to node 18.x
Signed-off-by: Jordan Moore <1930631+OneCricketeer@users.noreply.github.com>
* doc: update README
Signed-off-by: Jordan Moore <1930631+OneCricketeer@users.noreply.github.com>
---------
Signed-off-by: Jordan Moore <1930631+OneCricketeer@users.noreply.github.com>
2023-03-08 10:48:51 -05:00
Lucas Holmquist
870d2118cd
6.0.4
2023-02-16 11:28:58 -05:00
github-actions[bot]
78b8e0a372
chore: release 6.0.3 ( #524 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-16 11:20:39 -05:00
Craig Dennis
953bc2a143
chore: Typos
...
Receive corrections
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
2023-02-16 11:15:11 -05:00
viraj-s15
bc3aaca2ef
chore: added the engines property to the package.json
...
Signed-off-by: viraj-s15 <veer15102003@gmail.com>
Co-authored-by: Lance Ball <lball@redhat.com>
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
2023-02-16 11:10:45 -05:00
Lucas Holmquist
e5ee8369ba
fix: This fixes bug #525 where the browser version was breaking becuase of process not being found. ( #526 )
...
fixes #525
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
2023-02-12 15:25:38 -05:00
Xavier Serrano
b374d9ac33
chore(examples): add mqtt example ( #523 )
...
Signed-off-by: Xavier Serrano <zombispormedio007@gmail.com>
2023-02-06 12:25:35 -05:00
dependabot[bot]
64e527c120
build(deps): bump cookiejar from 2.1.3 to 2.1.4 ( #521 )
...
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar ) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/bmeck/node-cookiejar/releases )
- [Commits](https://github.com/bmeck/node-cookiejar/commits )
---
updated-dependencies:
- dependency-name: cookiejar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 12:22:49 -05:00
dependabot[bot]
1b449c4c9a
build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 ( #522 )
...
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases )
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: http-cache-semantics
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 12:22:30 -05:00
dependabot[bot]
eccc00ee67
build(deps): bump json5 from 2.2.0 to 2.2.3 ( #520 )
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.0 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 16:32:57 -05:00
dependabot[bot]
94f1a3d470
build(deps): bump qs and formidable ( #518 )
...
Bumps [qs](https://github.com/ljharb/qs ) and [formidable](https://github.com/node-formidable/formidable ). These dependencies needed to be updated together.
Updates `qs` from 6.10.2 to 6.11.0
- [Release notes](https://github.com/ljharb/qs/releases )
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/qs/compare/v6.10.2...v6.11.0 )
Updates `formidable` from 2.0.1 to 2.1.1
- [Release notes](https://github.com/node-formidable/formidable/releases )
- [Changelog](https://github.com/node-formidable/formidable/blob/master/CHANGELOG.md )
- [Commits](https://github.com/node-formidable/formidable/commits )
---
updated-dependencies:
- dependency-name: qs
dependency-type: indirect
- dependency-name: formidable
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14 12:50:46 -05:00
github-actions[bot]
3619ef2bbd
chore: release 6.0.3 ( #503 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-11-08 14:33:50 -05:00
Philip Sanetra
2d5fab1b71
fix: Make CloudEvent data field immutable and enumerable using Object.keys() ( #515 ) ( #516 )
...
Signed-off-by: Philip Sanetra <code@psanetra.de>
2022-11-01 12:46:26 -04:00
Lance Ball
c09a9cc20a
chore: bump cucumber to full release version ( #514 )
2022-10-26 20:28:13 -04:00
Lance Ball
4831e6a1a5
chore: bump mocha to 10.1.0 ( #512 )
...
Duplicates https://github.com/cloudevents/sdk-javascript/pull/510
Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity
:-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------
 | **589/1000** <br/> **Why?** Has a fix available, CVSS 7.5 | Regular Expression Denial of Service (ReDoS) <br/>[SNYK-JS-MOCHA-2863123](https://snyk.io/vuln/SNYK-JS-MOCHA-2863123 ) | Yes | No Known Exploit
Signed-off-by: Lance Ball <lball@redhat.com>
Signed-off-by: Lance Ball <lball@redhat.com>
2022-10-24 16:11:56 -04:00
Lance Ball
760a024067
chore: bump webpack to 5.74.0 ( #509 )
...
Signed-off-by: Lance Ball <lball@redhat.com>
2022-10-19 13:32:46 -04:00