Skip to content

Release v2.46.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 04:59
· 6 commits to main since this release

RoboSystems Python SDK v2.46.0

This release adds workbook download support and structured entity type handling to entity-related requests. It also updates the GraphQL schema and generated enums to match the latest RoboSystems API.

✨ Key Features & Improvements

  • Workbook downloads: Added and updated workbook download functionality in GraphClient and LedgerClient.
  • Typed entity types: The entity_type field now uses dedicated enum types in these entity request models:
    • CreateEntityRequest → CreateEntityRequestEntityTypeType0
    • UpdateEntityRequest → UpdateEntityRequestEntityTypeType0
    • InitialEntityData → InitialEntityDataEntityTypeType0
    • InitializeChartOfAccountsRequest → InitializeChartOfAccountsRequestEntityTypeType0
  • Ledger entity responses: LedgerEntityResponse is updated to reflect the revised entity data shape.

⚠️ Potential Breaking Changes

  • ⚠️ Entity type values: The entity request models now expect enum values for entity_type instead of free-form values. If your code passes raw strings, check that they match the new enum members, or switch to the new enum classes.
  • ⚠️ Model shape changes: LedgerEntityResponse and the entity request models were modified. Review any code that serializes or deserializes these models directly.

🔧 Technical Changes

  • Regenerated robosystems_client/graphql/schema.graphql and graphql/generated/enums.py to match the current API schema.
  • Added four new generated model modules for entity type enums and exported them from robosystems_client.models.
  • Expanded test coverage in tests/test_graph_client.py and tests/test_ledger_client.py for workbook downloads and entity request handling.
  • Bumped the version in pyproject.toml.

🐛 Bug Fixes

  • No dedicated bug fixes in this release.

References: #313


📊 Release Statistics

  • Commits: 3
  • Files Changed: 17
  • Lines Added: 237
  • Lines Deleted: 158
  • Previous Release: v2.45.0

🔗 Links


🤖 Generated with Claude Code