Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 16, 2025

Bumps @nextcloud/paths from 2.4.0 to 3.0.0.

Release notes

Sourced from @​nextcloud/paths's releases.

v3.0.0

3.0.0 - 2025-12-16

Breaking changes

  • This package now does only provide an ES module, the CJS entry point is removed.
  • The behavior of basename and dirname was fixed to behave similar to the methods from the Node.js paths module and the PHP methods. This mainly affects special cases:
    • trailing slash on basename is ignored
    basename('subdir/')
    - ""
    + "subdir"
    • dirname always respects the root path:
    dirname('/')
    - ""
    + "/"
    dirname('')
    - ""
    + "."
    dirname('/file')
    - ""
    + "/"
    dirname('file')
    - ""
    + "."

Added

  • feat(basename): add support for removing an extension (#843)

Fixed

  • fix!: make dirname and basename behave like PHP and Node (#839)

Changed

  • chore!: drop commonJs entry points
  • chore!: remove deprecated joinPaths in favor of join
  • test: add unit tests for encodePath
Changelog

Sourced from @​nextcloud/paths's changelog.

3.0.0 - 2025-12-16

Breaking changes

  • This package now does only provide an ES module, the CJS entry point is removed.
  • The behavior of basename and dirname was fixed to behave similar to the methods from the Node.js paths module and the PHP methods. This mainly affects special cases:
    • trailing slash on basename is ignored
    basename('subdir/')
    - ""
    + "subdir"
    • dirname always respects the root path:
    dirname('/')
    - ""
    + "/"
    dirname('')
    - ""
    + "."
    dirname('/file')
    - ""
    + "/"
    dirname('file')
    - ""
    + "."

Added

  • feat(basename): add support for removing an extension (#843)

Fixed

  • fix!: make dirname and basename behave like PHP and Node (#839)

Changed

  • chore!: drop commonJs entry points
  • chore!: remove deprecated joinPaths in favor of join
  • test: add unit tests for encodePath
Commits
  • a57d821 Merge pull request #846 from nextcloud-libraries/chore/v3
  • 7ecb855 Merge pull request #838 from nextcloud-libraries/chore/update-wf
  • 5cd6673 chore: prepare v3.0.0
  • aca865f Merge pull request #839 from nextcloud-libraries/fix/compat
  • eccf0f7 test: adjust test description
  • b866d96 Merge pull request #845 from nextcloud-libraries/test/coverage
  • 099f2c7 Merge pull request #844 from nextcloud-libraries/chore/remove-joinPaths
  • 30abadd Merge pull request #840 from nextcloud-libraries/chore/esm
  • 8214c5f test: add unit tests for encodePath
  • 5c5eb0a chore!: remove deprecated joinPaths in favor of join
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Dec 16, 2025
@susnux
Copy link
Contributor

susnux commented Dec 16, 2025

/backport to stable6

@github-actions github-actions bot enabled auto-merge December 16, 2025 21:07
Bumps [@nextcloud/paths](https://github.com/nextcloud-libraries/nextcloud-paths) from 2.4.0 to 3.0.0.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-paths/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-paths/blob/main/CHANGELOG.md)
- [Commits](nextcloud-libraries/nextcloud-paths@v2.4.0...v3.0.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/paths"
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/main/nextcloud/paths-3.0.0 branch from 4015ed3 to ab799c8 Compare December 16, 2025 21:09
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@github-actions github-actions bot merged commit e9fc86e into main Dec 16, 2025
13 checks passed
@github-actions github-actions bot deleted the dependabot/npm_and_yarn/main/nextcloud/paths-3.0.0 branch December 16, 2025 21:19
@codecov
Copy link

codecov bot commented Dec 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 45.43%. Comparing base (376e3bb) to head (56aec79).
⚠️ Report is 11 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2173   +/-   ##
=======================================
  Coverage   45.43%   45.43%           
=======================================
  Files          15       15           
  Lines         438      438           
  Branches       84       84           
=======================================
  Hits          199      199           
  Misses        210      210           
  Partials       29       29           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@susnux
Copy link
Contributor

susnux commented Dec 16, 2025

/backport to stable6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants