All notable changes to this project will be documented in this file.
- fix:
imagePath
always adds.svg
if no extension is set on the file name by @susnux in #611 - fix: Use files whitelist instead of .npmignore to only include needed files by @susnux in #612
- fix typo in changelog by @Antreesy in #572
- build(deps): Bump @nextcloud/typings from 1.7.0 to 1.8.0
- Drop
core-js
and move to vite by @susnux in #563 - enh(tests): Add unit tests and CI workflow for testing by @susnux in #564
- feat: add method to get a base URL, allow to pass remote base by @Antreesy in #558
- fix: Adjust
generateFilePath
to includetype
also forindex.php
by @susnux in #566 - fix(getRootUrl)!: If not configured use first subdirectory as webroot instead of last by @susnux in #570
- Clean up code (drop unreachable code) and minor modernization by @susnux in #565
- chore: Add ESLint to project and fix issues reported by @susnux in #561
- Make README a bit nicer by adding badges for coverage and documentation by @susnux in #569
- build(deps-dev): Bump vitest from 1.2.1 to 1.2.2 by @dependabot in #567
- build(deps-dev): Bump @vitest/coverage-v8 from 1.2.1 to 1.2.2 by @dependabot in #568
- @Antreesy made their first contribution in #558
- fix: Do not rely on
OC.webroots
orOC.appwebroots
but use own logic by @susnux in #560
- chore: Update NPM version to 10 to align with version shipped by LTS Node 20 by @susnux in #559
- chore: update NC typings versions by @skjnldsv in #491
- chore: update node engines to next LTS by @nextcloud-command in #493
- fix(docs): adjust link to docs by @raimund-schluessler in #503
- build(deps-dev): Bump @babel/cli from 7.22.10 to 7.22.10 by @dependabot
- build(deps-dev): Bump @babel/core from 7.22.10 to 7.23.2 by @dependabot
- build(deps-dev): Bump @babel/preset-env from 7.22.10 to 7.22.10 by @dependabot
- build(deps-dev): Bump @babel/preset-typescript from 7.22.11 to 7.23.2 by @dependabot
- build(deps-dev): Bump @nextcloud/browserslist-config from 2.3.0 to 3.0.0 by @dependabot
- build(deps-dev): Bump typedoc from 0.24.8 to 0.25.2 by @dependabot
- build(deps-dev): Bump typescript from 5.1.3 to 5.2.2 by @dependabot
- build(deps): Bump core-js from 3.30.2 to 8.4.31 by @dependabot
- @raimund-schluessler made their first contribution in #503
- Do not export the declaration of
window.OC
to prevent typing clashes with applications
- Moved @nextcloud/typings from dev to production dependency
- Dependency updates
- fix: fix window variable definition
- Add documentation link to Readme
- Add NPM image to readme
- chore: upgrade lockfile to version 2
- Dependency updates
- feat: add node test
- feat: fixup commits check
- fix: fix docs generation
- generateOcsUrl can now replace routing parameters like generateUrl
- generateOcsUrl no longer contains a trailing slash unless given in the URL
- Browserslist config updated, which means some older browsers are no longer supported
- Dependency updates
- Nextcloud 20 support
- Dependency updates
- Typings for Nextcloud 19
- Dependency updates
- Loosened version restrictions to allow better npm deduplication
- Dependency updates
- Update vulnerable packages