Skip to content

refactor: remove the retired blog API - #35

Merged
alihesari merged 1 commit into
mainfrom
refactor/remove-blog-api
Nov 2, 2026
Merged

alihesari merged 1 commit into
mainfrom
refactor/remove-blog-api

Conversation

@alihesari

Copy link
Copy Markdown
Member

What was removed

  • The fopost blog command group (settings, keywords, articles) and its tests (internal/cmd/blog.go, blog_test.go).
  • Its lines in the README command list.
  • CHANGELOG: a Removed entry under Unreleased.

strOrDash moved to ads_tracking.go, its remaining caller. fopost blogs (a connected site's own articles and products on /v1/accounts/{id}/blogs) stays, including its blog alias.

The CLI no longer references client.Blog, so it builds against both the current fopost-go pin and fopost-go PR fopost/fopost-go#40. No go.mod change.

Tests

go vet ./... && go test ./...: all packages pass. Also built against the fopost-go#40 branch via a replace modfile: OK.

Release: next batch

The /v1/blog API is gone; articles publish as ordinary posts. strOrDash moves to ads_tracking.go, its remaining caller. fopost blogs stays.
@alihesari
alihesari merged commit bad736f into main Nov 2, 2026
3 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