Skip to content

Upgrading fastify 0.29 to 0.30

Unknown0.29.2 → 0.30.3

Fetching 4 releases from GitHub…0 / 4
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Adds simple-get ^2.7.0.

Installs 135 packages in all (was 129).

Also installs debug, decompress-response, mimic-response, ms, simple-concat.

Moves avvio 2.2.0 → 3.2.0, fast-json-stringify 0.13.1 → 0.14.0, fastify-cli 0.7.0 → 0.11.0. Your build may pick other versions.

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • changed: method fastify.FastifyInstance.register(plugin: Plugin|Array<Plugin>, opts?: RouteOptions, callback?: (err: Error) => void): FastifyInstance → method fastify.FastifyInstance.register<T extends RegisterOptions>(plugin: Plugin<T>|Array<Plugin<T>>, opts?: T, callback?: (err: Error) => void): FastifyInstance
  • changed: property fastify.FastifyReply.send: (payload?: string|Array<any>|Object|Error|Promise<any>|ReadableStream) => FastifyReply → property fastify.FastifyReply.send: (payload?: string|Array<any>|Object|Error|Promise<any>|NodeJS.ReadableStream) => FastifyReply
  • changed: property fastify.JSONSchema.response?: { [code: number]: Object } → property fastify.JSONSchema.response?: { [code: number]: Object, [code: string]: Object }
  • changed: property fastify.RouteOptions.handler?: RequestHandler → property fastify.RouteOptions.handler: RequestHandler
  • changed: property fastify.ServerOptions.https?: boolean → property fastify.ServerOptions.https?: { key: Buffer, cert: Buffer }
  • changed: type fastify.Plugin = (instance: FastifyInstance, opts: Object, callback?: (err?: Error) => void) => void → type fastify.Plugin<T> = (instance: FastifyInstance, opts: T, callback?: (err?: Error) => void) => void
  • added: index fastify.RegisterOptions[key: string]: any
  • added: interface fastify.RegisterOptions extends RouteShorthandOptions
  • added: method fastify.FastifyInstance.setErrorHandler(handler: (error: Error, reply: FastifyReply) => void): void
  • added: method fastify.FastifyInstance.setNotFoundHandler(handler: (request: FastifyRequest, reply: FastifyReply) => void): void
  • added: property fastify.RegisterOptions.prefix?: string