Skip to content

chore: promote develop to main - #131

Merged
mikemadeja merged 2 commits into
mainfrom
develop
Sep 30, 2026
Merged

mikemadeja merged 2 commits into
mainfrom
develop

Conversation

@mikemadeja

Copy link
Copy Markdown
Owner

Summary

🤖 Generated with Claude Code

mikemadeja and others added 2 commits September 30, 2026 09:18
Adds Get-PiHoleLogDnsmasq and Get-PiHoleLogFtl (GET /logs/dnsmasq,
GET /logs/ftl), completing the Logs API area. Reworks Remove-PiHoleGroup
to delete multiple groups in a single POST /groups:batchDelete call
while still validating every name exists first, since the batch API
silently no-ops for names that don't exist.

Fixes a latent bug in the batch body construction: a single-name
foreach result unwraps to a bare hashtable instead of a one-element
array, which ConvertTo-Json then serializes as a JSON object instead
of an array - causing the API to reject single-group deletes with 400.
Building the body with @() and passing it via ConvertTo-Json
-InputObject (instead of piping) fixes both the single- and
multi-name cases.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
…delete

feat: add DNS/FTL log endpoints and group batch-delete
@mikemadeja
mikemadeja merged commit acb7766 into main Sep 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant