v2.0.0-preview-3 #2671
gtsteffaniak
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What's Changed
Caution
This is a pre-beta preview of v2.0.0 and should be treated as a test build. Make sure you keep your existing configuration and files safe.
This version represents the most significant change to date. It requires both a database migration and config structural changes. See the migration guide for step-by-step upgrade instructions, About v2.0.0 for a full summary, and the config migration tool to convert legacy config.
ATTENTION: Consider enabling opt-in analytics in
settings > system & adminto help populate some of the deployment info data. Join the discussion on this release for support or issues you notice.Breaking Changes:
GET /api/rawandGET /public/api/rawdownload routes — use/api/resources/downloadinstead./share/…URL redirect to/public/share/…— use/public/share/…directly.sourcesearch api param (usesources), barescopepaths withoutsourceName:prefix, andglob/useGlobaliases (useuseWildcard).config.conditionals, source-levelindexingIntervalMinutes(indexing always uses adaptive scheduling), and deprecated rule fieldsfileNames/folderNames/ top-levelhidden— useconfig.ruleswithfileName,folderName, andignoreHiddenon rules.userDefaultsconfig formats (nested and flat) — use the config migration tool to convert before upgrading.PUT /api/usersmoved to the more appropriatePATCHmethod.serverconfig key moved tohttpconfig key. See HTTP settings.FILEBROWSER_DATABASEenvironment variable — useFILEBROWSER_DATABASE_PATHinstead. See Environment variables and Server settings./api/media/stream. See API reference.user set <username> --password [value]anduser promote <username>;set -u username,passwordis deprecated. See CLI reference.New Features:
settings > access managementviewpermission is automatically set to true unless explicitly set to false. See Access control overview.F4shortcut to refresh the current directory and metadata (Improve more the playback queue + metadata caching #2600).X-OC-Mtimeheader for clients that support it (add webdav X-OC-Mtime header support #2626). See WebDAV docs.COPYpreserves modification times only for files, is limitation we have with webdav.userDefaultsseeds SQLite on first run; only fields explicitly set in config stay locked in Settings → User defaults (other defaults remain editable)settings > user management > user defaults.settings > access management.FILEBROWSER_DATABASEis removed (startup fails if set). UseFILEBROWSER_DATABASE_PATH(defaultfilebrowser.sqlite) orserver.database.pathin config. See Environment variables and Server settings.user setwith--password(inline value, interactive prompt on TTY, or piped stdin);user promotefor admin grant without password reset. See CLI reference.Notes:
./filebrowser),setup,version, andset rulesyntax unchanged; see CLI docsuser.idhas been moved to a backend property and all frontend apis now query users by username. Swagger has been updated. See API reference./api/media/streamis audio/video only (range-based chunking). Non-media inline viewing usesGET /api/resources/view. Both endpoints use the sameviewTokenfrom file metadata. See API reference.This discussion was created from the release v2.0.0-preview-3.
All reactions