Skip to content

Deprecate yes/no boolean values#1438

Merged
mattias-p merged 1 commit into
zonemaster:developfrom
mattias-p:deprecate-yes-no
Nov 13, 2025
Merged

Deprecate yes/no boolean values#1438
mattias-p merged 1 commit into
zonemaster:developfrom
mattias-p:deprecate-yes-no

Conversation

@mattias-p

Copy link
Copy Markdown
Member

Purpose

This PR deprecates boolean literals other than true and false in the config file.

Context

This harmonizes boolean representation with the RPC API.

Changes

These changes affect the RPCAPI.enable_add_batch_job and RPCAPI.enable_add_api_user config properties.

How to test this PR

N/A

@mattias-p mattias-p added this to the v2025.2 milestone Nov 6, 2025
@mattias-p mattias-p added V-Patch Versioning: The change gives an update of patch in version. RC-Deprecations Release category: Deprecations. labels Nov 6, 2025
Comment thread docs/public/configuration/backend.md

@tgreenx tgreenx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. But this should be implemented before merged.

Comment thread docs/public/configuration/backend.md
@matsduf

matsduf commented Nov 7, 2025

Copy link
Copy Markdown
Contributor

In #1406 both enable_add_batch_job and enable_add_api_user are set to be depricated, and to be removed already by v2026.1. These two PRs should be synchronized.

I moved removal to v2026.2 in #1406.

@mattias-p mattias-p merged commit 25439a2 into zonemaster:develop Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RC-Deprecations Release category: Deprecations. V-Patch Versioning: The change gives an update of patch in version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants