Skip to content

Roll back to 0.7.0 codebase (remove SubcategoryStructure), version 0.9.1#106

Open
Flummy1 wants to merge 1 commit into
devfrom
revert/rollback-to-0.7
Open

Roll back to 0.7.0 codebase (remove SubcategoryStructure), version 0.9.1#106
Flummy1 wants to merge 1 commit into
devfrom
revert/rollback-to-0.7

Conversation

@Flummy1

@Flummy1 Flummy1 commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Completes the partial revert that the existing Revert \"...\" commits started but left unfinished. The working tree is brought byte-for-byte to the 0.7.0 codebase, and the SubcategoryStructure feature is fully removed.

The only intentional difference from the 0.7.0 tree is the package version, which is set to 0.9.1 (rollback shipped on top of 0.9.0, not lowered to 0.7.0).

What was removed (added after 0.7.0)

  • funpayparsers/types/subcategory_structure.py — deleted entirely (SubcategoryStructure, SubcategoryFieldDef, FieldCondition, _parse_title_fields)
  • SubcategoryFieldType enum (types/enums.py)
  • OfferFields.field_schema
  • OfferPage.structured_fields, OfferPage.param_images
  • OfferPreview / OrderPreview: subcategory_id, subcategory_type, quantity, recipient, parse_title_fields
  • subcategory-structure logic in OfferFieldsParser, OfferPreviewsParser, and the offer/my_offers/profile/subcategory page parsers
  • restored original import ordering in the __init__.py files

Completes the partial revert of the post-0.7.0 (v0.8.0) work. All files that
diverged from 0.7.0 are restored to their 0.7.0 state, and the
SubcategoryStructure feature is fully removed:

- delete funpayparsers/types/subcategory_structure.py
- remove SubcategoryFieldType from enums
- drop field_schema / structured_fields / param_images
- drop subcategory_id, subcategory_type, quantity, recipient and
  parse_title_fields from offer/order previews and pages
- restore original parsers and import ordering

Version is bumped to 0.9.1 (rollback shipped on top of 0.9.0), not lowered
to 0.7.0.
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