Open
Description
5.x Roadmap
It's about time for another step in bringing debug
up to date - the 5.x
major release.
I know it hasn't been a long time since 4.x was released, and I'm aware that its release kind of forced.. pushed.. nudged users to update their best practices.
Here's what to expect from the 5.x release:
- Custom output format (Customizing output format #582, Custom output formatting #645)
- Pluggable logging handlers ([RFC] Pluggable log handler #556)
- Timed sections (Add timed sections #485)
- No more transpiling (smaller package size) (Remove build step / bundling / babelifying #652, Remove build system #655)
- Patching of old
debug
versions for formatting and pluggability upgrades ([RFC] Compatibility layer #644) - Overhaul of
.enable()
(debug.enable()
flushes enabled namespaces #425, Wildcard in name doesn't auto enable on web #636, Regex injection inenable(namespaces)
#737) - Use
console.debug()
in the browser where available (Use console.debug() instead of console.log() where available (e.g. browsers) #600) - Simpler documentation (Clean up README #649)
- Passing a function to avoid execution if namespace is disabled (Allow function to be passed & executed if enabled #497)
- Simplified codebase (lots dead code/dotfile removal; [RFC] Remove examples/ folder in lieu of proper README documentation? #650)
- Specify namespace in URL (Specify namespace with url in ESM #948)
- Several bugfixes