Skip to content

Latest commit

 

History

History
1430 lines (963 loc) · 54.8 KB

File metadata and controls

1430 lines (963 loc) · 54.8 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Added

  • Sync: except_patterns option for reset_unmatched_scores to exclude custom formats by regex pattern (#235)

Changed

  • CLI: Show default/optional status for quality profiles in list custom-format-groups --details (#725)

Fixed

  • Sync: Unnecessary warning when explicitly selecting default custom formats in CF groups
  • Sync: Media naming status always showed as skipped for Radarr instances (#751)

8.4.0 - 2026-03-05

Added

  • CLI: --details flag for list custom-format-groups to show member CFs and their required/default/optional status
  • Sync: select_all option for custom format groups to include all CFs regardless of default status (#722)

Changed

  • Sync: Custom formats and quality profiles that already exist in the service are now automatically replaced by Recyclarr. The state repair --adopt workflow is no longer needed.
  • Docker: The latest tag is no longer published to Docker Hub or GHCR. Use a major version tag (e.g. 8) instead to receive updates within a major version.

Deprecated

  • CLI: The state repair command is deprecated and will be removed in a future release. Sync now handles all state reconciliation automatically.

Fixed

  • Sync: Unmatched trash_ids in custom_format_groups.skip silently ignored instead of warning
  • Migrate: Cache-to-state migration failure on cross-filesystem moves (e.g. Docker volume mounts)

8.3.2 - 2026-02-25

Fixed

  • Sync: Default CF groups now apply to all profile variants sharing the same trash_id (#735)
  • Sync: CF group assign_scores_to now accepts profile names for guide-backed profiles, enabling selective assignment to specific profile variants (#734)

8.3.1 - 2026-02-24

Fixed

  • CLI: State repair crash when multiple quality profiles share the same trash_id.

8.3.0 - 2026-02-24

Added

  • Sync: The same guide-backed quality profile trash_id can now be used multiple times with different names, allowing variations of the same profile on a single instance.

Fixed

  • Config: Empty YAML nodes (e.g. custom_formats: with all entries commented out) are now treated as no-ops instead of validation errors.
  • CLI: RECYCLARR_APP_DATA deprecation message is now displayed cleanly instead of being buried in a stack trace.
  • Config: YAML errors now show specific, actionable messages instead of generic "Exception at line" text (#728).
  • Sync: CF group assign_scores_to with name no longer requires the profile to be in quality_profiles (#726).
  • Sync: Quality profile names are now updated when the config or guide name differs from the service (#729).

8.2.1 - 2026-02-22

Fixed

  • Config: Removed properties like replace_existing_custom_formats now produce a deprecation warning instead of silently preventing sync.
  • Config: Using the same quality profile trash_id multiple times now produces a validation error instead of silently corrupting sync state.
  • Sync: assign_scores_to with trash_id no longer requires the target profile to be in the CF group's include list (#726).

8.2.0 - 2026-02-21

Added

  • CLI: list custom-format-groups now shows the contents of each group and supports filtering by name (#720).
  • CLI: list quality-profiles now supports --details to show included custom formats and --filter to search by name.

Fixed

  • Notifications: Empty sync results (all zeros, no errors) no longer trigger notifications in normal mode.
  • Sync: Overriding custom format scores from guide-backed profiles no longer produces a spurious warning in sync diagnostics.

8.1.0 - 2026-02-20

Added

  • Custom Formats: CF group assign_scores_to now accepts name to target custom (non-guide-backed) quality profiles, in addition to the existing trash_id for guide-backed profiles.
  • Sync: exclude option for custom format groups to opt out of specific default custom formats.

Fixed

  • Custom Formats: Adding a CF group where all custom formats are optional no longer silently produces nothing; a warning is now shown advising to use select.
  • Sync: Diagnostic messages (errors, warnings, deprecations) were invisible when using --log, including the state repair --adopt suggestion for quality profile conflicts.
  • Config: Helpful migration messages for removed config properties (e.g. replace_existing_custom_formats, quality_profiles) were never shown due to an internal wiring mistake.
  • Config: YAML parsing errors (unknown properties, bad values) were silently swallowed, causing sync to produce no output instead of reporting the problem.

Changed

  • Sync: select in custom format groups now adds non-default custom formats alongside defaults, instead of replacing them. Use exclude to remove unwanted defaults.

Deprecated

  • CLI: The migrate command is deprecated. Migrations now run automatically at startup.

8.0.1 - 2026-02-19

Fixed

  • State Repair: Quality profiles with a config name override were not matched to service profiles during state repair --adopt
  • Sync: assign_scores_to with trash_id instead of name failed to resolve to the correct quality profile
  • Sync: Crash when previewing quality profiles or quality sizes with square brackets in names

8.0.0 - 2026-02-19

This release contains BREAKING CHANGES. See the v8.0 Upgrade Guide for required changes you may need to make.

Added

  • Media Management: New media_management configuration section with propers_and_repacks setting to control how Sonarr/Radarr handles Propers and Repacks (#225).
  • Quality Profiles: Support for trash_id to sync TRaSH Guide quality profile definitions. When specified, qualities, custom formats, scores, and language are automatically configured from the guide, significantly reducing YAML complexity.
  • Custom Formats: Support for custom_format_groups to sync TRaSH Guide CF groups. Groups marked default: true are automatically synced when using a guide-backed quality profile. Use custom_format_groups.skip to opt-out or custom_format_groups.add to opt-in to non-default groups.
  • Custom Formats: assign_scores_to now accepts trash_id as an alternative to name for referencing guide-backed quality profiles (#251).
  • Settings: Local resource providers now support relative paths, resolved against the app data directory.
  • CLI: New --log [level] option for explicit log output control. Valid levels: debug, info (default), warn.
  • CLI: New state repair command to rebuild cache mappings by matching configured resources (custom formats, quality profiles) to service resources by name.
  • CLI: New list custom-format-groups command to discover available CF group trash_ids.
  • CLI: New list score-sets command to list available score sets for custom formats.
  • CLI: New list quality-profiles command to discover available quality profile trash_ids.
  • CLI: New --raw option for list commands outputs TSV format for scripting.
  • Sync: Unified diagnostics panel displayed at end of sync, consolidating all errors and warnings.
  • Sync: Live progress display showing real-time status of all instances and pipelines during sync.
  • Settings: Git resource providers now support both main and master as default branches.
  • Config: New RECYCLARR_CONFIG_DIR environment variable for user configuration directory.
  • Config: New RECYCLARR_DATA_DIR environment variable for ephemeral data (resources, logs), enabling backup separation from user configuration (#699).

Changed

  • CLI: BREAKING List commands now display formatted tables instead of plain text. Use --raw for the previous behavior (now TSV format for scripting).
  • CLI: BREAKING The global --raw option has been removed. It is now specific to list commands.
  • CLI: BREAKING The --score-sets option on list custom-formats has been removed. Use list score-sets instead.
  • Sync: Simplified custom format matching logic. Cached IDs are now trusted over name matching, reducing complexity and resolving edge cases like multiple CFs with case-variant names (#672).
  • Sync: Preview mode now shows instance name in section headers and a visual separator between instances, making multi-instance output easier to navigate.
  • Custom Formats: Preview now displays a table with action, name, and trash ID columns instead of log-style output.
  • Quality Sizes: Preview now only displays items that will be changed.

Removed

  • Config: BREAKING The replace_existing_custom_formats option has been removed. Use recyclarr state repair --adopt to adopt manually-created custom formats.
  • Config: BREAKING The deprecated quality_profiles element under custom_formats has been removed.
  • Config: BREAKING Include templates in the configs directory are no longer supported. Move include files to the includes directory.
  • Settings: BREAKING The deprecated repositories setting has been removed. Use resource_providers instead.
  • Migrate: BREAKING macOS users upgrading from versions prior to v6.0 must manually move app data from ~/.config/recyclarr to ~/Library/Application Support/recyclarr.
  • CLI: BREAKING The --app-data option has been removed. Use RECYCLARR_CONFIG_DIR environment variable instead.
  • Config: BREAKING The RECYCLARR_APP_DATA environment variable has been removed. Use RECYCLARR_CONFIG_DIR instead.

Fixed

  • CLI: delete custom-formats command failed when config used include templates.
  • CLI: config create --template incorrectly logged "Replacing existing file" when creating new files.

7.5.2 - 2025-11-30

Added

  • Installation: Homebrew is now supported on macOS and Linux. See the installation docs for details.

Fixed

  • Sync: Crash when using --preview flag after rendering quality sizes table.
  • Sync: Custom formats being updated on every run even when unchanged.

7.5.1 - 2025-11-29

Fixed

  • Quality Profiles: The min_upgrade_format_score property now works correctly. The YAML property was renamed from min_format_upgrade_score to match the Sonarr/Radarr API naming convention.

7.5.0 - 2025-11-29

Added

  • Quality Definitions: Per-quality size overrides allow setting explicit min, max, and preferred values for individual qualities, with support for unlimited keyword (#253).
  • YAML: New !file tag that allows including the contents of an external file as a YAML node value, particularly useful for working with Docker Secrets (#278).
  • Settings: New resource_providers configuration enables custom data sources for TRaSH Guides and config templates (#238).
  • Quality Profiles: Support for min_format_upgrade_score to control minimum custom format score required for upgrading already-downloaded releases (contributed by @beschoenen in #503).

Deprecated

  • Settings: repositories configuration is deprecated in favor of resource_providers.

Fixed

  • Sync: Custom format includeCustomFormatWhenRenaming property now deserializes correctly from TRaSH Guides JSON files (#213).
  • Sync: Crash during quality profile and quality size operations.
  • Cache: Remove duplicate custom format ID mappings during cache cleanup to prevent downstream transaction processing issues.
  • YAML: Improved messaging in logs and console output for YAML errors.
  • CLI: Respect the NO_COLOR environment variable when piping command output to files (#462).

7.4.1 - 2025-02-15

Changed

  • Improved error handling in YAML configuration as well as how those errors are rendered to console output. (#396)

Fixed

  • Cutoff is no longer modified on implicitly referenced quality profiles (those that are specified in assign_scores_to but not under quality_profiles) (#417)

7.4.0 - 2024-11-11

Added

  • Notifications: New verbosity setting for Notifications to control the frequency and content of notifications sent after sync operations (#354).

Fixed

  • Repositories: Show a warning when there's a git fetch failure (#355).

7.3.0 - 2024-10-28

Added

  • Notifications support through Apprise

Fixed

  • A DependencyResolutionException is no longer raised in some commands (e.g. list) (#352).

7.2.4 - 2024-09-14

Fixed

  • Custom Formats: Smarter change detection logic for custom formats with language specifications, which addresses the issue of some CFs constantly showing as updated during sync even if they didn't change.

7.2.3 - 2024-09-03

Changed

  • Performance: Reduced the number of API calls to obtain service version information.

Fixed

  • Custom Format: The error "CF field of type False is not supported" no longer occurs when syncing some language-specific custom formats (#318).

7.2.2 - 2024-08-25

Fixed

  • Quality Definition: Support new quality upper limits for Sonarr (1000) and Radarr (2000). This is a backward compatible change, so older versions of Sonarr and Radarr will continue to use the correct upper limits.

7.2.1 - 2024-08-03

Fixed

  • Quality Definition: Eliminated continuous syncing when no changes are present due to Radarr's adjustment of the upper limit for "Preferred" from 395 to 399.

7.2.0 - 2024-07-28

Changed

  • The node quality_profiles under custom_formats was renamed to assign_scores_to to disambiguate it from the top-level quality_profiles. The old name is deprecated until the next major release. See the upgrade guide for details.
  • Quality Definition: Improved information about sync result in console output.

Fixed

  • Incorrect URLs were fixed in the local starter config template.
  • Quality Definition: Preferred quality setting would not sync in certain situations (#301).

7.1.1 - 2024-07-12

Changed

  • The --app-data option is now common to all commands.

Fixed

  • CLI: Commands no longer crash due to a null app data directory variable (#288).

7.1.0 - 2024-07-10

Added

  • Sync: In rare circumstances outside of Recyclarr, quality profiles become invalid due to missing required qualities. When this happens, users are not even able to save the profile using the Sonarr or Radarr UI. Recyclarr now detects this situation and automatically repairs the quality profile by re-adding these missing qualities for users. See this issue.

Fixed

  • CLI: Signal interrupt support for all API calls. Now when you press CTRL+C to gracefully exit/cancel Recyclarr, it will bail out of any ongoing API calls.
  • CLI: The --app-data option works again (#284).

7.0.0 - 2024-06-27

This release contains BREAKING CHANGES. See the v7.0 Upgrade Guide for required changes you may need to make.

Added

  • YAML: New includes subdirectory intended to hold only include templates. Relative paths specified in the config include directive are resolved starting at this new directory. Relative paths to include templates located under the configs directory is now DEPRECATED. See the "File Structure" page on the wiki for more details.
  • Support the NO_COLOR environment variable for all Recyclarr commands (#223).

Changed

  • BREAKING: The app data directory on OSX has changed. It now lives at ~/Library/Application Support/recyclarr instead of ~/.config/recyclarr. Users will need to run recyclarr migrate to move the directory (or do it manually).
  • BREAKING: Removed support for Release Profiles and Sonarr version 3. The new minimum required version for Sonarr is v4.0.0.
  • CLI: Slightly improved display of version number when using -v option.
  • CLI: Greatly improved the layout of and information in the local starter YAML configuration that Recyclarr generates with the recyclarr config create command.

Fixed

  • YAML: Print more useful diagnostics when there's a connectivity problem to a service (e.g. incorrect base_url).
  • YAML: Regression that prevented basic validation of base_url & api_key.
  • CLI: CFs with no Trash ID will no longer be displayed when running the list custom-formats command (#229).
  • Docker: Support running the container in read-only mode (#231).
  • Sync: Sometimes CFs weren't deleted even with delete_old_custom_formats enabled (#237).

6.0.2 - 2023-10-20

Fixed

  • CLI: Some custom formats were not properly categorized when running list custom-formats.
  • CLI: Continue processing other instances when ServiceIncompatibilityException is thrown.
  • Media Naming: In order to avoid confusion, the v3 and v4 version indicators for certain naming format keys has been moved to their own column in the list command table.

6.0.1 - 2023-10-02

Fixed

  • Media Naming: Sync file naming configuration even if rename is not set to true.
  • Quality Profiles: Validation check added for quality groups with less than 2 qualities.
  • Quality Profiles: Fix "Groups must contain multiple qualities" sync error.
  • Quality Profiles: Fix "Must contain all qualities" sync error.

6.0.0 - 2023-09-29

This release contains BREAKING CHANGES. See the v6.0 Upgrade Guide for required changes you may need to make.

Added

  • Added Naming Sync (Media Management) for Sonarr v3, Sonarr v4, and Radarr (#179).
  • A list naming command to show Sonarr and Radarr naming formats available from the guide.

Changed

  • BREAKING: Minimum required Sonarr version increased to 3.0.9.1549 (Previous minimum version was 3.0.4.1098).
  • BREAKING: Old boolean syntax for reset_unmatched_scores is no longer supported.

Fixed

  • Status text rendered during git repo updates is no longer shown when --raw is used with the list custom-formats command (#215).

5.4.3 - 2023-09-16

Changed

  • Remove INF log that showed a total count of CFs without scores assigned. This log caused a lot of confusion in support channels. You can still see a list of CFs without scores in the debug logs.
  • Relaxed validation rules for trash_ids and quality_profiles under custom_formats. Both of these nodes may now be empty. This is mostly to make commenting out parts of configuration templates easier.
  • The merge operation for custom_formats is now "Join" (previously "Add"). If, for the same profile, you "reassign" a different score to a CF, the score now gets updated without having to remove the CF from custom_formats sections in included YAML files.

5.4.2 - 2023-09-14

Fixed

  • Print error information about HTTP 401 instead of "Unable to determine".
  • Improved wording of remote service error messages.

Changed

  • qualities (inside quality_profiles) is now a "Replace" merge operation instead of "Add". This means only one YAML file manages the full list of qualities. Either an include does it, or you override the full list in your configuration file. There is no longer any combination. See the docs for more details.

5.4.1 - 2023-09-12

Fixed

  • If the guide data for "Include Custom Format when Renaming" is set to "true", it now syncs that correctly instead of always setting to "false" (#213).

5.4.0 - 2023-09-11

Added

  • Print date & time log at the end of each completed instance sync (#165).
  • Add status indicator when cloning or updating git repos.
  • YAML includes are now supported (#175) (docs).
  • New --include option added to config list templates to show a list of include templates for each service type (docs).

Changed

  • Less-verbose console logging for scoreless custom formats.
  • Git repository updates are now parallelized.
  • Individual updated, created, and deleted CF logs are now debug severity. This makes the console output less verbose when syncing custom formats.

Fixed

  • Service failures (e.g. HTTP 500) no longer cause exceptions (#206).
  • Error out when duplicate instance names are used.
  • Print score instead of object in duplicate score detection warning

5.3.1 - 2023-08-21

Fixed

  • Crash when doing recyclarr sync with no reset_unmatched_scores present.

5.3.0 - 2023-08-21

Added

  • New delete command added for deleting one, many, or all custom formats from Radarr or Sonarr.
  • Exclusions are now supported under reset_unmatched_scores. This is used to prevent score resets to specific custom formats. See the docs for more info.
  • New score_set property available to each profile defined under the top-level quality_profiles list. This allows different kinds of pre-defined scores to be chosen from the guide, without having to explicitly override scores in your YAML.
  • New --score-sets option added to list custom-formats which lists all score sets that CFs are a member of, instead of the CFs themselves.
  • New --raw option added to list custom-formats which omits boilerplate output and formatting. Useful for scripting.

Changed

  • Program now exits when invalid instances are specified.
  • Scores are now pulled from the trash_scores object in the guide's CF json files.

Deprecated

Fixed

  • If multiple configuration files refer to the same base_url (i.e. the same instance), this is now an error and the program will exit. To use multiple config templates against a single instance of Radarr or Sonarr, you need to manually merge those config files. See this page.

5.2.1 - 2023-08-07

Changed

  • Reduce the time it takes to clone the config and trash repositories by performing shallow clones (#201).

Fixed

  • Better error message to console when no configuration files are found.
  • Allow quality group names to duplicate quality names (#200).

5.2.0 - 2023-08-06

Added

  • base_url and api_key are now optional. These can be implicitly set via secrets that follow a naming convention. See the Secrets reference page on the wiki for details.
  • Quality Profiles can now be created & synced to Radarr, Sonarr v3, and Sonarr v4 (#144).

Changed

  • Better error messages for manually-specified, non-existent config files.
  • More detail in error messages when Radarr/Sonarr API calls respond with HTTP 400 "Bad Data".

Fixed

  • Resolved error during exception message formatting that occurred in some cases (#192).

5.1.1 - 2023-06-29

Fixed

  • Clone config template repo when config create -t is used.
  • Fix error when completely commenting out a YAML configuration file (#190).

5.1.0 - 2023-06-26

Added

  • Migration step added to delete old repo directory. Run recyclarr migrate to use.

Fixed

  • Update default clone URL for trash guides repo to new URL: https://github.com/TRaSH-Guides/Guides.git.

5.0.3 - 2023-06-25

Fixed

  • When using sync, continue processing other instances when there's a failure.
  • Regression: Perform Sonarr compatibility checks again (#189).

5.0.2 - 2023-06-24

Fixed

  • Commenting/uncommenting CFs in configuration YAML no longer causes duplicate CF warnings when replace_existing_custom_formats is omitted or set to false (better caching logic).

5.0.1 - 2023-06-23

Changed

  • Recyclarr will now continue if git fetch fails for any repos, so long as there is an existing, valid clone to use.

Fixed

  • Address regression causing reset_unmatched_scores: false to not be respected.
  • Do not show deleted custom formats in console output when delete_old_custom_formats is set to false.

5.0.0 - 2023-06-22

This release contains BREAKING CHANGES. See the v5.0 Upgrade Guide for required changes you may need to make.

Added

  • The *.yaml extension is now accepted for all YAML files (e.g. settings.yaml, recyclarr.yaml) in addition to *.yml (which was already supported).
  • New --template option added to config create which facilitates creating new configuration files from the configuration template repository.
  • New --force option added to the config create command. This will overwrite existing configuration files, if they exist.

Changed

  • API Key is now sent via the X-Api-Key header instead of the apikey query parameter. This lessens the need to redact information in the console.
  • BREAKING: replace_existing_custom_formats now defaults to false.
  • BREAKING: Restructured repository settings.
  • Configuration templates repository moved to recyclarr/config-templates on GitHub. Corresponding settings for this repo as well (see the Settings YAML Reference on the wiki for more details).

Removed

  • BREAKING: Array-style instances are no longer supported.
  • BREAKING: Remove deprecated CLI commands: radarr, sonarr, and create-config.
  • BREAKING: Removed reset_unmatched_scores support under quality profile score section.
  • BREAKING: Migration steps that dealt with the old trash.yml have been removed.

Fixed

  • False-positive duplicate score warnings no longer occur when doing sync --preview for the first time.

4.4.1 - 2023-04-08

Fixed

  • Fixed JSON parsing issue that sometimes occurs when pulling custom formats from Radarr (#178).
  • Use correct wiki link in settings.yml template.

4.4.0 - 2023-04-06

Added

  • New replace_existing_custom_formats property that can be set to false to disallow updates to existing CFs that Recyclarr never created in the first place. The default is true.
  • New quality_profiles section supported for specifying information about quality profiles. For now, this section doesn't do much, but paves the way for quality profile syncing.
  • New CLI command: config list which lists information about local and template config files.

Changed

  • Log files are restructured. They are now under logs/cli.
  • Log files are split. There is now a verbose.log and debug.log for every run. The time stamps (in the file name) between the two will be identical.

Deprecated

  • replace_existing_custom_formats must be explicitly specified, otherwise you will get a deprecation warning. In a future release, the default will change from true to false. To prepare for that, users must explicitly state what behavior they want to avoid unwanted behavior in the future. Read more on the upgrade guide.
  • reset_unmatched_scores is being moved to the quality_profiles section; a deprecation message will be logged until it is moved. Read more on the upgrade guide.

Fixed

  • Deleted custom formats are now included in the log message showing the count of CFs synced.
  • An error will now be presented if an invalid option is specified on the CLI.
  • Compressed builds are now enabled on MacOS. This means the executable size will be smaller.

4.3.0 - 2023-01-22

Added

  • Environment variables may now be used in YAML configuration (#145).

Fixed

  • Exception when there's not configuration for both Sonarr and Radarr together.

4.2.0 - 2023-01-13

Added

  • New list subcommand for listing information from the guide.
  • New sync command for syncing all services, specific service types, and/or specific instances.
  • New config subcommand for performing configuration-specific operations.

Changed

  • The CLI has been completely redesigned to be more consistent and structured (#142).
  • Improved preview output for quality sizes, custom formats, and release profiles.

Deprecated

  • The create-config subcommand is deprecated and replaced by config create.
  • The sonarr subcommand is deprecated and replaced by sync sonarr.
  • The radarr subcommand is deprecated and replaced by sync radarr.

4.1.3 - 2023-01-07

Changed

  • Do not print skipped custom formats to console (they are too verbose). If you still want to see what was skipped, check the log file for additional debug logs.

Fixed

  • More scenarios were causing custom formats to sometimes not be synced (#160).

4.1.2 - 2023-01-06

Fixed

  • Remove unredacted request URI from log files on exception.
  • Scores/Custom Formats would not sync under certain conditions (#160).

4.1.1 - 2023-01-06

Changed

  • More robust configuration validation logic. You may notice new configuration errors that were not there before.

Fixed

  • Custom Formats: Updates that conflict with existing CFs in Sonarr/Radarr are now skipped and a warning is printed.
  • When changing instance URLs, use new cache data to avoid mismatched custom formats on next sync.

4.1.0 - 2022-12-30

Added

  • Better visual separation between processed instances in console output. (#146)
  • More information about deleted, skipped, updated, and created CFs in console output. (#159)

Changed

  • Category headers in --list-custom-formats output is now formatted as a YAML comment that can be copied with the list of Trash IDs.

4.0.2 - 2022-12-26

Changed

  • Sort CFs alphabetically in --list-custom-formats

Fixed

  • Releases now retain executable permissions on Linux and macOS.
  • Sonarr: Do not modify or delete release profiles when using --preview

4.0.1 - 2022-12-21

Changed

  • Docker: Explicit init is no longer required in Docker Compose. It is now built into the image.
  • Reduced size of the recyclarr executable
  • macOS & linux are now released as tar.xz archives instead of zip.

Fixed

  • Fix CoreCLR / "killed" crash on Apple macOS platforms (#39). This was accomplished by properly signing and notarizing Recyclarr and disabling compression.

4.0.0 - 2022-12-11

This release contains BREAKING CHANGES. See the v4.0 Upgrade Guide for required changes you need to make.

Changed

  • BREAKING: Sonarr quality_definition configuration updated to address unexpected changes in Sonarr v4 that caused it to stop working. See upgrade guide for details.
  • Default for preferred_ratio changed from 1.0 to using the values from the guide.

Removed

  • BREAKING: Sonarr's hybrid quality definition removed.

Fixed

  • Do not warn about empty configuration YAML files when they aren't really empty.

3.1.0 - 2022-12-10

Changed

  • Improved logging: theme changes, better exception handling, more detail written to log files.
  • Print instance name instead of URL in more places.
  • Configuration parsing is more forgiving about errors:
    • If there's a YAML syntax error, skip the file but continue.
    • If there's a validation error, skip only that instance (not the whole file).

Fixed

  • Empty configuration files are skipped if they are empty (warning is printed).

3.0.0 - 2022-12-03

This release contains BREAKING CHANGES. See the v3.0 Upgrade Guide for required changes you need to make.

Added

  • New configs subdirectory. Place your *.yml config files here and all of them will be automatically loaded, as if you provided multiple paths to --config. The primary purpose of this feature is to support multiple configuration files in Docker. See the docs
  • Secrets support. You can now store sensitive information from your configuration YAML such as api_key and base_url in a secrets.yml file. See the secrets docs for more info. Huge thanks to @voltron4lyfe for this one. (#105, #139)
  • Named instances are now supported in configuration YAML.
  • New optional setting repository.git_path may be used to specify the path to a git executable. If not used, PATH will be searched.
  • Docker: New RECYCLARR_CREATE_CONFIG environment variable which, if set to true, will automatically create /config/recyclarr.yml on container start up. Default is false.

Changed

  • BREAKING: Recyclarr now requires git to be installed on host systems when using manual installation. If using Docker, there is no breaking change since git will be bundled with the image.
  • Deprecated array-style instances in configuration YAML. Read more about this in the v3.0 Upgrade Guide.

Removed

  • BREAKING: Completely removed support for names under custom_formats in recyclarr.yml. Note that this had already been deprecated for quite some time.
  • BREAKING: The deprecated feature that still allowed you to keep your recyclarr.yml next to the executable has been removed.

Fixed

  • Sonarr: Run validation on Custom Formats configuration, if specified, to check for errors.
  • Added more instructions, fixed broken links, and simplified the way you uncomment optional parts of the YAML in the starter recyclarr.yml template generated by the create-config subcommand.

2.6.1 - 2022-10-15

Fixed

  • Sonarr: Incorrect VersionException occurred when using mixed versions of Sonarr (v4 & v3)

2.6.0 - 2022-10-14

Added

  • For both Sonarr and Radarr, the custom formats in the output of --list-custom-formats are now grouped by their category, as determined by the tables at the top of the "Collection of custom formats" pages in the guide for each service.
  • Recyclarr's Docker image is now available on Docker Hub!

Changed

  • Docker: PUID and PGID no longer cause a failure on container start up.

Fixed

  • Use compact JSON for HTTP request/response body in debug log files. This makes logs much easier to scroll through.
  • Sonarr: Run version enforcement logic when using CFs instead of RPs.
  • A warning is now displayed when the same custom format is assigned multiple times to the same quality profile.

2.5.0 - 2022-09-11

Added

  • Settings: New log_janitor setting that allows you to specify how many log files are kept when cleaning up (deleting) old log files. See the Settings Reference wiki page for more details. (#91)
  • Sonarr: Custom Formats can now be synced to Version 4.

Fixed

  • Docker: Fix /config permissions when not using bind-mount for the volume. (#111)
  • Sonarr: Error message is printed when attempting to use release profiles with Sonarr v4. (#100)

Security

2.4.1 - 2022-08-26

Fixed

  • Radarr: Custom formats were always showing up as changed in the logs (#109)

2.4.0 - 2022-08-25

Added

  • New --list-qualities argument for sonarr and radarr subcommands that may be used to get a list of quality definition types from the guide.

Changed

  • Quality definition data is now pulled from JSON files.

2.3.1 - 2022-08-20

Changed

  • Use the new paths for custom format and release profile JSON files in the guide.

2.3.0 - 2022-08-14

Added

  • Radarr: New --list-custom-formats CLI option for getting a flat list of all CFs in the guide in YAML format, ready to copy & paste.
  • Docker: New edge tag for experimental and potentially unstable builds on master. Includes both the latest Docker and Recyclarr changes to allow users to try them out before an official release.
  • Settings: New branch and sha1 Repository settings. (#27)

Changed

  • JSON Schema added to the config template YAML file.
  • names list under custom_formats in config YAML is now deprecated. Use trash_ids to list your custom formats instead.
  • Docker: The image is now rootless. The PUID and PGID environment variables are no longer used. See the Docker wiki page for more details.

Fixed

  • Docker: Resolved errors related to /tmp/.net directory not existing.
  • An exception that says "Cannot write to a closed TextWriter" would sometimes occur at the end of running a command.
  • Sonarr: Validate the TRaSH Guide data better to avoid uploading bad/empty data to Sonarr.

2.2.1 - 2022-06-18

Changed

  • Radarr: Reword the warning about missing scores for CFs to make it more clear that having no score does not prevent CFs from being synced.

Fixed

  • Do not exit when a YAML config has no sonarr or radarr section.
  • Sonarr: Invalid release profile JSON files no longer cause the program to exit. Instead, it just skips them and prints a warning to the user. (#87)
  • Radarr: Do not crash when quality_profiles is empty. (#89)
  • Settings: Use repo URL after initial clone (#90)

2.2.0 - 2022-06-03

Added

  • Docker support! Image name is ghcr.io/recyclarr/recyclarr. See the Docker wiki page for more information.
  • Global app data path support via environment variable named RECYCLARR_APP_DATA. The path specified here will be used as the app data path for every invocation of recyclarr as if --app-data were specified.

Fixed

  • Renamed the "EVO (no WEB-DL)" custom format to "EVO (no WEBDL)" in the config template. (#77)
  • Radarr: delete_old_custom_formats works again. (#71)
  • The create-config subcommand now accepts YAML files again (it was taking a directory before, which was wrong).

2.1.2 - 2022-05-29

Fixed

  • create-config would fail with --path specified.
  • migrate no longer fails if the cache directory does not exist.

2.1.1 - 2022-05-29

Fixed

  • Exception when running create-config command.

2.1.0 - 2022-05-29

Added

  • New --app-data option for overriding the location of the application data directory.
  • New migrate subcommand which may be used to perform migration steps manually.

Changed

  • The default location for the default YAML file (recyclarr.yml) has been changed to the application data directory. This is the same location of the settings.yml file.
  • Automatic migration has been removed. Instead, the migrate subcommand should be used.

Deprecated

  • The recyclarr.yml file should no longer be located adjacent to the recyclarr executable.

Fixed

  • Version information in help output has been fixed.
  • If a HOME directory is not available, throw an error to the user (use --app-data instead).
  • Create $HOME/.config (on Linux) if it does not exist.
  • Smarter migration logic in the trash-updater migration step that does a directory merge instead of a straight move. This is designed to fail less in cases such as recyclarr directory already existing.

2.0.2 - 2022-05-20

Fixed

  • Sonarr: Fix unexpected missing terms when using filters. (#69)

2.0.1 - 2022-05-19

Fixed

  • Sonarr: strict_negative_scores works again (broke in v2.0 release)

2.0.0 - 2022-05-13

This release contains BREAKING CHANGES. See the Upgrade Guide for required changes you need to make.

Changed

  • BREAKING: Sonarr Release profiles are now synced based on a "Trash ID" taken from the sonarr JSON files. This breaks existing trash.yml and manual changes are required.
  • Do not follow HTTP redirects and instead issue a warning to the user that they are potentially using the wrong URL.
  • Radarr: Sanitize URLs in HTTP exception messages (#17).
  • Sonarr: Release profiles starting with [Trash] but are not specified in the config are deleted.

Added

  • Linux MUSL builds for arm, arm64, and x64. Main target for this was supporting Alpine Linux in Docker.
  • Sonarr: Ability to include or exclude specific optional Required, Ignored, or Preferred terms in release profiles.
  • Sonarr: New --list-release-profiles command line option which can be used to quickly and conveniently get a list of release profiles (and their Trash IDs) so you know what to add in your YAML config under release_profiles.
  • Sonarr: New --list-terms command line option which can be used get a list of terms for a release profile. These lists of terms can be used to include or exclude specific optionals, for example.
  • Migration System that is responsible for performing one-time upgrade tasks as needed.

1.8.2 - 2022-03-06

Fixed

  • Sonarr: Error when syncing optionals release profile with the IncludeOptionals filter setting set to false.

1.8.1 - 2022-03-05

Changed

  • Unrecognized or unwanted YAML properties in configuration YAML (trash.yml) now result in an error. This is to help users more easily identify mistakes.

Fixed

  • Sonarr: Optionals release profile is now properly synced

1.8.0 - 2022-02-13

Added

  • 64-bit ARM builds for Windows, Linux, and Mac OS.
  • 32-bit ARM build for Linux.

1.7.0 - 2022-02-06

Added

  • New settings file to control non-service specific behavior of Trash Updater. See the documentation for more information.
  • Trash git repository URL can be overridden in settings.
  • Schema added for settings.yml.
  • Add setting to bypass HTTPS certificate validation (useful for self-signed certificates used with Sonarr and Radarr instances) (#20).
  • A progress bar that is visible when pulling down Custom Formats (Radarr Only).

Fixed

  • Remove System.Reactive.xml from the published ZIP files.
  • Fix exception that may occur at startup.
  • Sometimes the "Requesting and parsing guide markdown" step would appear stuck and fail after several minutes. Many changes have been made to try to alleviate this.

1.6.6 - 2021-10-30

Fixed

  • Sonarr version check failed when instances were slow to respond or there was high latency.

1.6.5 - 2021-10-24

Fixed

  • Fix "free-quota limit" exception that occurred in new JSON schema generation logic that was added for API backward compatibility with Sonarr.

1.6.4 - 2021-10-23

FIXED

  • libgit2sharp PDB is no longer required with trash.exe on Windows (#15)
  • Unexpected character error due to breaking change in Sonarr API (#16)

1.6.3 - 2021-07-31

  • Fix "assembly not found" error on startup related to LibGit2Sharp (Windows only). Note that this introduces an additional file in the released ZIP files named git2-6777db8.pdb. This file must be next to trash.exe. In the future, I plan to have this extra file removed so it's just a single executable again, but it will take some time.

1.6.2 - 2021-07-23

Fixed

  • Directly use the Trash Guides git repository to avoid getting HTTP 403 - rate limit reached error in github.

1.6.1 - 2021-05-31

Changed

  • Sonarr: Use new URL for release profile guide.
  • Sonarr: Use new URL for quality definition guide.
  • Radarr: Use new URL for quality definition guide.

1.6.0 - 2021-05-31

Added

  • New setting reset_unmatched_scores under custom_formats.quality_profiles in YAML config which allows Trash Updater to set scores to 0 if they were not in the list of custom format names or listed but had no score applied (e.g. no score in guide).

Changed

  • Support the new custom format structure in the guide: JSON files are parsed directly now. Trash Updater no longer parses the markdown file.

1.5.1 - 2021-05-26

Changed

  • Support trash_score property in Custom Format JSON from the guide. This property is optional and takes precedence over a score mentioned in the guide markdown.

1.5.0 - 2021-05-16

Added

  • Custom formats can now be specified by Trash ID. This is useful for situations where two or more custom formats in the guide have the same name (e.g. 'DoVi').
  • Debug-level logs are now written to file in addition to the Info-level logs in console output.

Fixed

  • An issue with radarr --preview that caused duplicate output when updating a second instance has been fixed.

1.4.2 - 2021-05-15

Fixed

  • Fixed using incorrect URL for Sonarr

1.4.1 - 2021-05-15

Fixed

  • Invalid cache data files no longer cause the program to exit. An error is printed and the application continues as if there was no cache at all.
  • Fix a bug that resulted in certain custom formats not having their scores set in quality profiles.
  • Fixed an issue where multiple instance configuration was not working.

Changed

  • The log message listing custom formats without scores in the guide now prints information one per line (improved readability)
  • Duplicate custom formats in the guide now issue a warning and get skipped.
  • Do not invoke the Radarr API to update a quality profile if there are no updated scores inside it.

1.4.0 - 2021-05-14

Added

  • Radarr Custom Format Support.

1.3.3 - 2021-05-06

Fixed

  • Sonarr Quality Definition Max, when set to its maximum value of 400, is now properly set to "Unlimited". This is equivalent to the user maxing out the visual slider in the Sonarr UI. Without this, some larger sized releases were unintentionally rejected.

1.3.2 - 2021-05-05

Fixed

  • Fix exception that occurred when running the create-config subcommand.

1.3.1 - 2021-05-05

Changed

  • Executable is now compiled using Ready to Run. This substantially increases the size of the executable but makes the code much faster.

Fixed

  • Radarr Quality Definition Max and Preferred, when set to their maximum values, are now properly set to "Unlimited". Without this, larger sized releases were unintentionally rejected.

1.3.0 - 2021-04-23

Added

  • New configuration for Sonarr release profiles that allows all optional terms to be synced. Look for filter in the Configuration Reference for more details.

1.2.0 - 2021-04-19

Added

  • New create-config subcommand to create a starter YAML config file

1.1.0 - 2021-04-18

Added

  • Optional terms in the release profile guides are no longer synchronized to Sonarr.

Changed

  • A warning is now logged when we find a number in brackets (such as [100]) without the word score before it. This represents a potential score and bug in the guide itself.
  • Release profile guide parser now skips certain lines to avoid false positives:
    • Skip lines with leading whitespace (i.e. indented lines).
    • Skip admonition lines (lines starting with !!! or ???).

1.0.0 - 2021-04-14

See the Python Migration Guide for details on how to update your YAML configuration.

Added

  • Full rewrite of the application in C# .NET Core 5
  • More than one configuration (YAML) file can be specified using the --config option.
  • Multiple Sonarr and Radarr instances can be specified in a single YAML config.

Removed

  • Nearly all command line options removed in favor of YAML equivalents.
  • Completely removed old python project & source code