Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fastify-cloudevents

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastify-cloudevents - npm Package Versions

23

4.0.0

Diff

Changelog

Source

4.0.0 (2022-08-16)

Full Changelog Summary Changelog:

  • Updated requirements to Fastify '^4.0.1' and Fastify-plugin '^4.2.0', so require Node.js 14 LTS
  • Updated all dependencies to latest (for Node.js 14 LTS)
  • Use 'cloudevent' latest release ('~0.10.0') which implements the v1.0.2 - CloudEvents Spec
  • Ensure all works again
  • Update serialize function with some useful options (like in the 'cloudevent' library)
  • Update validate function with the ability to pass custom AJV options if/when needed
  • Update and add some hooks for Fastify 4.x; keep them async
  • Remove/update some code now deprecated
  • Refactor CloudEvents creation in tests, for better consistency
  • Ensure all works with latest Node.js 14 LTS and later LTS releases
  • Improve JSDoc comments, generated documentation is much better now
smartiniatnpm
published 3.0.0 •

Changelog

Source

3.0.0 (2022-04-17)

Full Changelog Summary Changelog:

  • Update requirements to latest Fastify 3.x and Node.js 10 LTS
  • Use 'cloudevent' latest release ('~0.9.0') which implements the v1.0.2 - CloudEvents Spec
  • Ensure all works again
  • Update the plugin to be async (thanks to Fastify 3.x features)
  • Update some hooks for Fastify 3.x; keep them async
  • Remove/update some code now deprecated
  • Ensure all works with latest Node.js 10 (even if in End-of-Life status), 12 (even if in End-of-Life status soon), 14 LTS, 16 LTS
  • Note: this plugin release has same features of previous release
smartiniatnpm
published 2.10.0 •

Changelog

Source

2.10.0 (2022-04-16)

Full Changelog Summary Changelog:

  • Update dependency on cloudevent to '0.9.x' which implements the v1.0.2 - CloudEvents Spec with some simplifications/clarifications
  • Update requirements to latest Fastify 2.x, so currently release '^2.15.3'
  • Update all other dependencies
  • Breaking change: update requirements to Node.js 10 LTS
  • Breaking change: the 'time' attribute now is managed as a string in the ISO format (accordingly with the spec format and schema) but constructor will accept same inputs (undefined/null, a Date, now even a string that could be checked during validation of the event); a getter method 'timeAsDate' has been added just for convenience
  • Note: this is last release for Fastify 2.x
smartiniatnpm
published 2.6.0 •

Changelog

Source

2.6.0 (2021-03-28)

Full Changelog Summary Changelog:

  • Update dependency on cloudevent to '0.8.x' which implements the v1.0.1 - CloudEvents Spec with many simplifications/clarifications on v1.0
  • Update requirements to latest Fastify 2.x, so currently release '^2.15.3'
  • Feature: keep compatibility with Node.js 8 (only for plugin releases 2.x)
  • Feature: add to Fastify a decorator to return the JSONSchema (for a CloudEvent) used in the plugin (with some small tweaks), instead of retrieving it from the underlying library
  • Feature: update fast serialization to handle even data as value (string or boolean or number) with datacontenttype not default (for example 'text/plain')
  • Feature: add to Fastify a decorator to add a function that validates with a schema compiler and return validation results and errors (if any)
  • Feature: generate documentation from sources with JSDoc
smartiniatnpm
published 2.5.0 •

Changelog

Source

2.5.0 (2020-10-02)

Full Changelog Summary Changelog:

  • Update requirements to latest Fastify 2.x, so currently release '^2.15.0'
  • Feature: update the 'onReady' hook due to an improvement done in Fastify 2.15.0
  • Feature: keep compatibility with Node.js 8 (only for plugin releases 2.x)
smartiniatnpm
published 2.4.0 •

Changelog

Source

2.4.0 (2020-10-01)

Full Changelog Summary Changelog:

  • Update dependency on cloudevent to '0.7.x' which implements the v1.0 - CloudEvents Spec with all breaking changes since its v0.3
  • Update requirements to a more recent Fastify, release '^2.12.0'
  • Feature: keep compatibility with Node.js 8
  • Update dependencies for the development environment
  • Other minor changes
smartiniatnpm
published 2.3.0 •

Changelog

Source

2.3.0 (2019-11-08)

Full Changelog Summary Changelog:

  • Update dependency on cloudevent to '0.6.x' which implements the v0.3 - CloudEvents Spec with all breaking changes since its v0.2
  • Breaking Change: CloudEvent constructor signature has changed a little, to handle extensions as per spec
  • Breaking Change: CloudEvent attributes has been renamed for better consistency with the spec, and renamed related methods too
  • Updated all dependencies
  • Update requirements to a more recent Fastify, release '^2.7.1'
  • Updated documentation and samples to describe/show changes and the new behavior
  • Export even JSONBatch via Fastify decorators
  • Add plugin option flags to enable the output of redundant attributes and HTTP attributes
  • Fix usage of request url (fix already present in 2.2.1)
  • Clarify and cleanup docs and examples
  • Add npm custom commands to run examples and tests in debug mode
  • Other minor changes
smartiniatnpm
published 2.2.1 •

Changelog

Source

2.2.1 (2019-10-23)

Summary Changelog:

  • Updated all dependencies
  • Fix usage of request url
smartiniatnpm
published 2.2.0 •

Changelog

Source

2.2.0 (2019-05-02)

Full Changelog Summary Changelog:

  • Update dependency on cloudevent to '0.5.x' which implements the v0.2 - CloudEvents Spec with all breaking changes since its v0.1
  • Updated dependencies for the development environment
  • Updated documentation and samples to describe/show changes and the new behavior
  • Updated Tap unit tests to always run in strict mode, and some refactoring
  • Clarify which CloudEvents Spec version is implemented in the current release
smartiniatnpm
published 2.0.0 •

Changelog

Source

2.0.0 (2019-04-08)

Full Changelog Summary Changelog:

  • Update requirements to Fastify v2
  • Update all dependencies
  • Breaking Change: add new Hooks (available since Fastify v2) and remove old ones; hook functions arguments has changed in v2, even for already existing hooks.
  • Improve data set into CloudEvent instances; make data more consistent using the same builder functions
  • Update documentation and examples
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc