Skip to content

Roadmap Kubb v5 #2003

@stijnvanhulle

Description

@stijnvanhulle

Kubb v5 Roadmap

This document outlines the planned features and improvements for Kubb version 5. This roadmap is subject to change based on community feedback and priorities.

🚀 New Features

@kubb/plugin-client

@kubb/plugin-faker

  • Add support for localized Faker instances so other languages next to English could be used

Developer Tools

  • Logger plugin for Github/ClI/plain
  • Improved debugging logs

🎯 Core & Architecture

Upgrades

  • Minimal of Node 22 support

New AST/schema layout

  • Use AST inside of plugin-ts

defineStorage

  • Make it poissible to use external storages like s3

@kubb/cli

@kubb/fabric-core

https://github.com/kubb-labs/fabric

  • Include React in the Fabric bundle to resolve npm issues
  • Update event names in Fabric to be more aligned with Kubb
  • replace createParser and createPlugin with defineParser and definePlugin
  • Make fetch exportable and replace barrel logic in Kubb with Fabric's logic (barrelPlugin)
  • Add resolveName and resolvePath as part of Fabric (cannot be async because of React renderer)
  • Check benchmark repository for performance comparisons between other generators
  • Check benchmark with pnpm perf to improve creation
  • barrelPlugin should not have a root and find it's own root.
  • Support for FSX (@kubb/fabric-core)

Parser Refactoring

  • Refactor Faker/TypeScript/Zod parsers to combine tree and schema with better naming

Code Quality

Removal of Kubb defaults

  • set integerType to 'bigint' as default

📝 Notes

  • This roadmap is a living document and will be updated as priorities shift
  • Community feedback and contributions are welcome
  • Items are not necessarily in priority order
  • Some items may be moved to future versions based on complexity and dependencies

🤝 Contributing

If you're interested in working on any of these items, please:

  1. Check existing issues and discussions
  2. Open a new issue to discuss your approach
  3. Submit a pull request when ready

Metadata

Metadata

Assignees

Labels

@kubb/coredocsImprovements or additions to documentationenhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions