docs(fbo): deprecate 5 /v1/draft/* methods removed from Ozon spec (0.86.1)#7
Merged
Merged
Conversation
…-06-19) — 0.86.1 Ozon removed five /v1/draft/* operations from the live Seller API spec: • /v1/draft/create • /v1/draft/create/info • /v1/draft/supply/create • /v1/draft/supply/create/status • /v1/draft/timeslot/info Maintainerly deprecation (NOT removal): kept the published methods for backward compatibility, added a deprecation Notes: block + a documented migration path to each docstring and its README catalogue row. Migration paths (all targets already shipped): • draft_create() -> draft_direct_create() / draft_crossdock_create() / draft_multi_cluster_create() • draft_create_info_v1() -> draft_create_info() (v2) • draft_supply_create_v1() -> draft_supply_create() (v2) • draft_supply_create_status_v1() -> draft_supply_create_status() (v2) • draft_timeslot_info_v1() -> draft_timeslot_info() (v2) Docs-only/deprecation change -> patch bump 0.86.0 -> 0.86.1 (both files). The actual REMOVAL of the published surface is escalated to the human (release-policy decision); this PR only deprecates-and-documents. pytest: 579 passed. mypy: 52 pre-existing errors, 0 net new. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что изменилось
Ozon удалил 5 операций
/v1/draft/*из актуальной спецификации Seller API(зафиксировано наблюдателем 2026-06-19, swagger-дельта
−5):POST /v1/draft/createdraft_create()draft_direct_create()/draft_crossdock_create()/draft_multi_cluster_create()POST /v1/draft/create/infodraft_create_info_v1()draft_create_info()(v2)POST /v1/draft/supply/createdraft_supply_create_v1()draft_supply_create()(v2)POST /v1/draft/supply/create/statusdraft_supply_create_status_v1()draft_supply_create_status()(v2)POST /v1/draft/timeslot/infodraft_timeslot_info_v1()draft_timeslot_info()(v2)Почему так (maintainerly deprecation, НЕ удаление)
Методы опубликованы в PyPI — их удаление сломало бы установленные downstream-проекты.
Поэтому: методы оставлены для обратной совместимости, к каждому добавлен deprecation-блок
Notes:с задокументированным путём миграции (docstring + строка каталога README).Это в точности повторяет принятый ранее приём (posting-list 0.84.1, chat/list 0.85.1).
эскалировано человеку (см. дайджест). Этот PR только депрекейтит и документирует.
Версия
Docs/deprecation-only → patch-бамп 0.86.0 → 0.86.1 (
pyproject.toml+src/ozonapi/__init__.py).Проверки
pytest: 579 passed (транспорт замокан, сеть не трогается).mypy --config-file .claude/linters/mypy.ini src: 52 pre-existing ошибки, 0 net new.✓).🤖 Generated with Claude Code