Overhaul cleanup to get rid of accumulated debt
Pre-release
Pre-release
·
4 commits
to 6.x
since this release
7.0.0-next.0 (2025-05-23)
Breaking changes
The utils package accumulated some debt over the years that needed to be removed by properly organizing helpers and remove some of them.
- Remove
slashmethod in favor ofstring.toUnixSlash. - Remove
base64export from entrypoint. Instead usebase64subpath. - Remove
Exception,createError,RuntimeException, andInvalidArgumentsExceptionexports from entrypoint. Instead useexceptionsubpath. - Remove
fsImportAllandfsReadAllexports from entrypoint. Instead usefssubpath. - Remove
ObjectBuilder. Instead use the@poppinss/object-builderpackage. - Remove
getDirname. Instead useimport.meta.dirname. - Remove
getFilename. Instead useimport.meta.filename. - Remove
joinToURL. Instead usejoin(import.meta.dirname, 'filepath'). - Remove named export from
utils/base64subpath. Instead useexport default. - Removed named export from
utils/string_buildersubpath. Instead useexport default. - Removed custom types in favor of
@poppinss/typespackage. You can access them using the@poppinss/utils/typessubpath.
Full Changelog: v6.9.3...v7.0.0-next.0