<!--
  - SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
  - SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Changelog

## 5.14.0 - 2026-06-28
### Added
- Add support for Nextcloud 34

## 5.12.1 - 2026-02-08
### Changed
- Allow server-side encryption if the master key is used

### Fixed
- Handle server-side encryption more gracefully in background job

## 5.12.0 - 2026-02-07
### Added
- Add support for Nextcloud 33
- Add support for PHP 8.5
- Implement background job to generate previews

### Changed
- Migrate preview_generation.id column to bigint

### Fixed
- Handle UniqueConstraintViolationException gracefully

## 5.11.0 - 2025-11-19
### Added
- Allow running multiple instances of pre-generate
- Implement spawning multiple workers for generate-all

### Removed
- Drop support for Nextcloud 28 and 29
- Drop support for PHP 8.0

## 5.10.0 - 2025-09-05
### Added
- Support for Nextcloud 32

## 5.9.0 - 2025-07-12
### Added
- Implement config to use a given size for the shorter edge

## 5.8.0 - 2025-02-07
### Added
- Support for Nextcloud 31
- Support for PHP 8.4

## 5.7.0 - 2024-11-15
### Added
- Implement square and uncropped sizes config
- Clear distinction between generate-all and pre-generate

### Fixed
- Skip .nomedia when running pre-generate

### Changed
- Improve readme, add a new paragraph and update preview recommendations

## 5.6.0 - 2024-07-29
### Added
- Support for Nextcloud 30

### Changed
- Catch GenericFileException during preview generation (thanks to @nielstron)

### Removed
- Support for Nextcloud 26 (EOL)
- Support for Nextcloud 27 (EOL)

## 5.5.0 - 2024-03-30
### Added
- Support for Nextcloud 29

## 5.4.0 - 2023-11-27
### Added
- Support for Nextcloud 28
- Support for PHP 8.3

### Removed
- Support for Nextcloud 25 (EOL)
- Support for PHP 7.4 (EOL)

## 5.3.0 - 2023-05-17
### Added
- Add instructions for use with AIO to readme (thanks to @JL102)
- Support for Nextcloud 27
### Removed
- Support for Nextcloud 24 (EOL)

## 5.2.4 - 2023-04-20
### Fixed
- Harden error handling of deleted files check

## 5.2.3 - 2023-04-19
### Changed
- Skip deleted files

## 5.2.2 - 2023-04-04
### Changed
- Fix PHP 8.2 deprecation warnings (thanks to @dotlambda)
- Adjust requested preview sizes

## 5.2.1 - 2023-02-24
### Added
- Support for PHP 7.4

## 5.2.0 - 2023-02-10
### Added
- Support for Nextcloud 26
- Support for PHP 8.2

### Removed
- Support for Nextcloud 23 (EOL)
- Support for PHP 7.4 (EOL)

### Changed
- Modernize code

## 5.1.1 - 2022-11-08
### Fixed
- Generate preview specifications once

## 5.1.0 - 2022-09-23
### Added
- Nextcloud 25 support

### Removed
- Nextcloud 22 support

## 5.0.0 - 2022-05-17
### Added
- Improve documentation around memory_limit (thanks to @proletarius101)
- Improve documentation of preview:generate-all command

### Changed
- Updated maintainers

### Removed
- PHP 7.3 support
- Nextcloud 21 support
- preview:delete_old command

## 4.0.0 - 2022-02-05
### Added
- PHP 8.1 support
- Nextcloud 24 support

### Removed
- PHP 7.2 support
- Nextcloud 20 support

## 3.4.1 - 2021-12-15
### Fixed
- Dependency error on Nextcloud 20

## 3.4.0 - 2021-12-06
### Added
- Skip external mounts with disabled previews (thanks to @hashworks)
- Allow multiple paths and user ids (thanks to @hammer065)

## 3.3.0 - 2021-11-30
### Added
- Nextcloud 23 support

## 3.2.0 - 2021-11-09
### Added
- Nextcloud 22 support

## 3.1.1 - 2021-01-27
### Changed
- Use new batch preview method

### Fixed
- Init filesystem for the users
- Handle unavailable storages more graceful

## 3.1.0 -2020-12-21
### Added
- Nextcloud 21 support

## 3.0.0 - 2020-08-31
### Added
- Nextcloud 20 support
- IBootstap support
- Listen to new events hence only initialize the FS if needed

### Removed
- Nextcloud <20 support

## 2.3.0 - 2020-04-03
### Added
- Nextcloud 19 support

## 2.2.0 - 2019-12-05
### Added
- Nextcloud 18 support

## 2.1.0 - 2019-03-05
### Added
- Nextcloud 16 support

## 2.0.0 - 2018-11-08

- PHP 7.x required
- Nextcloud 14 only
- Moved to migrations for DB handling
- Added path option to generate command (thanks to @adduxa)
- Nextcloud 15 compatible

## 1.0.9 - 2017-12-29

### Fixes

### Added
- Show timestamp in occ commands [#88](https://github.com/rullzer/previewgenerator/pull/88)
- Add Composer Classmap for file (NC13) [#90](https://github.com/rullzer/previewgenerator/pull/90)
- Respect .nomedia [#92](https://github.com/rullzer/previewgenerator/pull/92)
- Use PID to check for already running process [#93](https://github.com/rullzer/previewgenerator/pull/93)

## 1.0.8 - 2017-12-21

### Fixes
- Do not add file if it already is in the table [#86](https://github.com/rullzer/previewgenerator/pull/86)

### Added
- Allow to specify sizes to be generated [#87](https://github.com/rullzer/previewgenerator/pull/86)

## 1.0.7 - 2017-09-26

### Fixes
- Updated/Fixed README
  - [#55](https://github.com/rullzer/previewgenerator/pull/55) @Eeems
  - [#58](https://github.com/rullzer/previewgenerator/pull/58) @MichaIng
  - [#67](https://github.com/rullzer/previewgenerator/pull/67) @sndrr
- Avoid folder processing on pre-generate [#73](https://github.com/rullzer/previewgenerator/pull/73) @Seik

### Added
- Make NC13 Compatible [#63](https://github.com/rullzer/previewgenerator/pull/63)

## 1.0.6 - 2017-05-05

### Fixed
- Better preview error handling [#51](https://github.com/rullzer/previewgenerator/pull/51) @icewind1991 
- Travis test runs [#53](https://github.com/rullzer/previewgenerator/pull/53)

### Added
- README.md [#52](https://github.com/rullzer/previewgenerator/pull/52)
- CHANGELOG.md [#52](https://github.com/rullzer/previewgenerator/pull/52)

## 1.0.5 - 2017-03-17

### Added
- Generate more preview sizes
- Add --force command to break lock

## 1.0.4 - 2017-03-14

### Fixed
- Lock timeout was 30 hours instead of minutes

## 1.0.3 - 2017-03-14

### Added
- Do not use app with encryption
- Check for already running command

## 1.0.2 - 2017-03-08

### Added
- More verbose output of commands
- Hack around preview generation errors by not trying the file again in the next run

## 1.0.1 - 2016-12-08

### Fixed
- Pimp info.xml

## 1.0.0 – 2016-12-07
Initial release
