Skip to content

refactor(types)!: remove deprecated FastifyLoggerInstance in favor of FastifyBaseLogger - #6906

Merged
climba03003 merged 1 commit into
fastify:nextfrom
Tony133:refactor/remove-fastify-logger-instance-type
Aug 6, 2026
Merged

climba03003 merged 1 commit into
fastify:nextfrom
Tony133:refactor/remove-fastify-logger-instance-type

Conversation

@Tony133

@Tony133 Tony133 commented Aug 6, 2026 •

Copy link
Copy Markdown
Member

Proposal:

  • Removes the deprecated FastifyLoggerInstance type from fastify.d.ts and types/logger.d.ts. FastifyLoggerInstance was already marked @deprecated in favor of FastifyBaseLogger, with a TODO noting it should be removed in the next major release. Since this is part of the v6 cleanup, we're removing it now.

Breaking change:

  • Yes, anyone importing FastifyLoggerInstance needs to migrate to FastifyBaseLogger, which exposes the same API.

Note:

  • To be merged from the “next” branch
  • For the next major release of Fastify ( v6 )

@Tony133 Tony133 added this to the v6.0.0 milestone Aug 6, 2026
@github-actions github-actions Bot added the typescript TypeScript related label Aug 6, 2026
@Tony133
Tony133 marked this pull request as ready for review August 6, 2026 08:16
@Tony133
Tony133 requested a review from a team August 6, 2026 08:56
@climba03003
climba03003 merged commit 7bdb2cb into fastify:next Aug 6, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

typescript TypeScript related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants