这是indexloc提供的服务,不要输入任何密码
Skip to content

Overhaul cleanup to get rid of accumulated debt

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 May 18:05
· 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 slash method in favor of string.toUnixSlash.
  • Remove base64 export from entrypoint. Instead use base64 subpath.
  • Remove Exception, createError, RuntimeException, and InvalidArgumentsException exports from entrypoint. Instead use exception subpath.
  • Remove fsImportAll and fsReadAll exports from entrypoint. Instead use fs subpath.
  • Remove ObjectBuilder. Instead use the @poppinss/object-builder package.
  • Remove getDirname. Instead use import.meta.dirname.
  • Remove getFilename. Instead use import.meta.filename.
  • Remove joinToURL. Instead use join(import.meta.dirname, 'filepath').
  • Remove named export from utils/base64 subpath. Instead use export default.
  • Removed named export from utils/string_builder subpath. Instead use export default.
  • Removed custom types in favor of @poppinss/types package. You can access them using the @poppinss/utils/types subpath.

Full Changelog: v6.9.3...v7.0.0-next.0