Skip to content

chore(deps): bump @nextcloud/files from 3.12.2 to 4.0.0#2288

Merged
github-actions[bot] merged 1 commit intostable6from
dependabot/npm_and_yarn/stable6/nextcloud/files-4.0.0
Feb 14, 2026
Merged

chore(deps): bump @nextcloud/files from 3.12.2 to 4.0.0#2288
github-actions[bot] merged 1 commit intostable6from
dependabot/npm_and_yarn/stable6/nextcloud/files-4.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 14, 2026

Bumps @nextcloud/files from 3.12.2 to 4.0.0.

Release notes

Sourced from @​nextcloud/files's releases.

v4.0.0 - Nextcloud 33+

4.0.0 - 2026-02-10

ℹ️ The release does not contain any breaking changes compared to v4.0.0-rc.3.

📝 Notes

  • This package now is a pure ES module.
  • Due to breaking changes this major version is only compatible with the files app of Nextcloud 33 or later.
  • The Node API was changed, the root property of any node, including File or Folder, is now required.
  • All methods now also accept the interface of the provided classes, meaning instead of accepting View they accept the more generic IView interface. This allows better integration with frameworks and custom implementations of the interface where needed.

DAV related export

The DAV related exports from the main entry point were deprecated for a long time and are now removed from it. Instead you have to use the @nextcloud/files/dav entry point.

For example:

- import { davRemoteURL } from '@nextcloud/files'
+ import { defaultRemoteURL } from '@nextcloud/files/dav'

File Actions API changes

The FileAction API has been changed to provide a more consistent set of context to the action handlers. We're now using destructuring objects for the context parameters. For example:

type ActionContext = {
  nodes: INode[],
  view: IView,
  folder: IFolder,
  contents: INode[],
}

action.exec(view: View, folder: Folder, dir: string): Promise<boolean>


action.exec({ nodes, view, folder, contents }): Promise<boolean>

Node permissions

To make work with nodes easier a new constant has been introduced:

Permission.WRITE is set for files where the content can be changed (whereas Permission.UPDATE only indicates the file can be updates as in renamed or moved).

... (truncated)

Changelog

Sourced from @​nextcloud/files's changelog.

4.0.0 - 2026-02-10

ℹ️ The release does not contain any breaking changes compared to v4.0.0-rc.3.

📝 Notes

  • This package now is a pure ES module.
  • Due to breaking changes this major version is only compatible with the files app of Nextcloud 33 or later.
  • The Node API was changed, the root property of any node, including File or Folder, is now required.
  • All methods now also accept the interface of the provided classes, meaning instead of accepting View they accept the more generic IView interface. This allows better integration with frameworks and custom implementations of the interface where needed.

DAV related export

The DAV related exports from the main entry point were deprecated for a long time and are now removed from it. Instead you have to use the @nextcloud/files/dav entry point.

For example:

- import { davRemoteURL } from '@nextcloud/files'
+ import { defaultRemoteURL } from '@nextcloud/files/dav'

File Actions API changes

The FileAction API has been changed to provide a more consistent set of context to the action handlers. We're now using destructuring objects for the context parameters. For example:

type ActionContext = {
  nodes: INode[],
  view: IView,
  folder: IFolder,
  contents: INode[],
}

action.exec(view: View, folder: Folder, dir: string): Promise<boolean>


action.exec({ nodes, view, folder, contents }): Promise<boolean>

Node permissions

To make work with nodes easier a new constant has been introduced:

Permission.WRITE is set for files where the content can be changed (whereas Permission.UPDATE only indicates the file can be updates as in renamed or moved). This is similar to the Permission.CREATE for folders.

... (truncated)

Commits
  • bd65425 Merge pull request #1497 from nextcloud-libraries/chore/prepare-v4
  • fc0e5f3 chore: prepare v4.0.0
  • 80dc1af Merge pull request #1495 from nextcloud-libraries/snowflake
  • 9ccd156 feat(node): add support for string based snowflake ids
  • 983fe40 Merge pull request #1493 from nextcloud-libraries/chore/prepare-rc3
  • 2ef1d67 Merge pull request #1492 from nextcloud-libraries/feat/scope-globals
  • a4a095f chore: prepare v4.0.0-rc.3
  • cc6e894 feat: scope global state to major version of library
  • b39e111 Merge pull request #1486 from nextcloud-libraries/chore/rc-2
  • ad64989 Merge pull request #1491 from nextcloud-libraries/dependabot/npm_and_yarn/mai...
  • 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 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 Feb 14, 2026
Bumps [@nextcloud/files](https://github.com/nextcloud-libraries/nextcloud-files) from 3.12.2 to 4.0.0.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-files/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-files/blob/main/CHANGELOG.md)
- [Commits](nextcloud-libraries/nextcloud-files@v3.12.2...v4.0.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/files"
  dependency-version: 4.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/stable6/nextcloud/files-4.0.0 branch from 3a4cb32 to 397c122 Compare February 14, 2026 02:13
@github-actions github-actions bot enabled auto-merge February 14, 2026 02:17
@github-actions github-actions bot merged commit f204052 into stable6 Feb 14, 2026
10 checks passed
@github-actions github-actions bot deleted the dependabot/npm_and_yarn/stable6/nextcloud/files-4.0.0 branch February 14, 2026 02:17
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.

0 participants