Releases: fasteiner/xurrent-python
Releases · fasteiner/xurrent-python
Release v0.12.0-preview.1
Added
- Docs: added
CLAUDE.mdwith setup instructions, test commands, architecture overview, and changelog requirements for Claude Code. - Products: added
Productclass withProductPredefinedFilterandProductDepreciationMethodenums; supports CRUD, enable/disable, and CI listing. - ProductCategories: added
ProductCategoryclass withProductCategoryRuleSetenum; supports CRUD and enable/disable. - Organizations: added
Organizationclass withOrganizationPredefinedFilterenum; supports CRUD, enable/disable, archive/trash/restore, people and child org listing. - Sites: added
Siteclass withSitePredefinedFilterenum; supports CRUD, enable/disable, archive/trash/restore. - OutOfOfficePeriods: added
OutOfOfficePeriodclass withOutOfOfficePeriodPredefinedFilterenum; supports CRUD and DELETE. - Holidays: added
Holidayclass; supports CRUD. - CustomCollections: added
CustomCollectionclass withCustomCollectionPredefinedFilterenum; supports CRUD, enable/disable, and element listing. - CustomCollectionElements: added
CustomCollectionElementclass withCustomCollectionElementPredefinedFilterenum; supports CRUD and enable/disable. - ShopArticleCategories: added
ShopArticleCategoryclass withShopArticleCategoryPredefinedFilterenum; supports CRUD. - ShopArticles: added
ShopArticleclass withShopArticlePredefinedFilterandShopArticleRecurringPeriodenums; supports CRUD and enable/disable. - ShopOrderLines: added
ShopOrderLineclass withShopOrderLinePredefinedFilter,ShopOrderLineStatus, andShopOrderLineRecurringPeriodenums; supports CRUD. - Services: added
Serviceclass withServicePredefinedFilterenum; supports CRUD and enable/disable. - Calendars: added
Calendarclass withCalendarPredefinedFilterenum; supports CRUD and enable/disable. - TimeAllocations: added
TimeAllocationclass withTimeAllocationPredefinedFilterand category enums; supports CRUD and enable/disable. - EffortClasses: added
EffortClassclass withEffortClassPredefinedFilterenum; supports CRUD and enable/disable. - RequestTemplates: added
RequestTemplateclass withRequestTemplatePredefinedFilter,RequestTemplateCategory,RequestTemplateStatus, andRequestTemplateImpactenums; supports CRUD and enable/disable. - UiExtensions: added
UiExtensionclass withUiExtensionCategoryenum; supports CRUD and enable/disable. - WorkflowTemplates: added
WorkflowTemplateclass withWorkflowTemplatePredefinedFilterandWorkflowTemplateCategoryenums; supports CRUD and enable/disable.
Changed
- People:
Personnow deserializessite(→Site) andorganization(→Organization) references; also fixed aPeople.from_datatypo inupdate(). - ConfigurationItems:
ConfigurationItemnow deserializes theproductreference (→Product). - Products:
Productnow deserializes thecategoryreference (→ProductCategory). - CI: updated GitHub Actions in
release.yml—GitTools/actionsv0→v3(latest version compatible with GitVersion 5.x; v4+ requires GitVersion ≥6.1),stefanzweifel/git-auto-commit-actionv5→v7,softprops/action-gh-releasev1→v2. - CI: updated
python-package.yml—actions/setup-pythonv3→v5; addedpip install .so the package itself is installed before tests run; added aflake8lint step (syntax errors and undefined names only); split test run into separateUnit testsandIntegration testssteps so unit tests always run regardless of credentials; added Python 3.14 to the test matrix.
Release v0.11.0
Added
- Core: support OAuth client credentials authentication via
client_idandclient_secretinXurrentApiHelperwhile maintaining API key compatibility. - Core: The OAuth token endpoint now dynamically determines the domain from
base_url, preserving any regional subdomains to ensure consistency between API and OAuth endpoints. - Core: When using OAuth, if a 401 Unauthorized error is received, the token is automatically refreshed and the API call is retried once. If authentication still fails after token refresh, an explicit HTTPError is raised.
Release v0.11.0-preview.4
Added
- Core: support OAuth client credentials authentication via
client_idandclient_secretinXurrentApiHelperwhile maintaining API key compatibility. - Core: OAuth token endpoint TLD is now dynamically derived from the API base URL, ensuring the same top-level domain is used for both API and OAuth.
- Core: When using OAuth, if a 401 Unauthorized error is received, the token is automatically refreshed and the API call is retried once. If authentication still fails after token refresh, an explicit HTTPError is raised.
Release v0.11.0-preview.10
Added
- Core: support OAuth client credentials authentication via
client_idandclient_secretinXurrentApiHelperwhile maintaining API key compatibility. - Core: The OAuth token endpoint now dynamically determines the domain from
base_url, preserving any regional subdomains to ensure consistency between API and OAuth endpoints. - Core: When using OAuth, if a 401 Unauthorized error is received, the token is automatically refreshed and the API call is retried once. If authentication still fails after token refresh, an explicit HTTPError is raised.
Release v0.10.0
Added
- Core: Added bulk_export() function to dowload bulk record data
Changed
- Core: Switched to a requests.session object to enable persistent connection recycling.
- Core: Provide options to disable pagination and prevent api result's JSON parsing (in association with bulk_export).
Fixed
- Core: do not prepend the base_url to the uri of an api_call if a protocol is already included (i.e. uri is already fully-formed).
Release v0.7.0
Added
.devcontainer/devcontainer.json
- Introduced a new Visual Studio Code development container configuration to streamline the development environment.
- Uses the base Ubuntu image from Microsoft's devcontainers.
- Adds common development utilities via
common-utilsfeature. - Installs VS Code extensions:
elagil.pre-commit-helperms-python.python
- Runs
.devcontainer/setup.shpost container creation for environment setup.
.devcontainer/setup.sh
- Added a setup script for the development container:
- Installs Poetry package manager.
- Installs all project dependencies, including development dependencies.
- Activates the Poetry virtual environment and opens a shell.
- Installs pre-commit hooks for code quality enforcement.
Changed
Contributing.md
- Updated instructions for activating the Poetry virtual environment:
- Changed from
poetry shelltoeval $(poetry env activate)for improved shell compatibility and automation.
- Changed from
README.md
- Added badges to the top of the README for enhanced project visibility:
- PyPI version badge.
- PyPI downloads badge.
- GPL v3 License badge.
pyproject.toml
- Added new dependency:
shellpackage (^1.0.1) for enhanced shell scripting and command execution capabilities within the project.
Release v0.7.0-preview.2
Added
.devcontainer/devcontainer.json
- Introduced a new Visual Studio Code development container configuration to streamline the development environment.
- Uses the base Ubuntu image from Microsoft's devcontainers.
- Adds common development utilities via
common-utilsfeature. - Installs VS Code extensions:
elagil.pre-commit-helperms-python.python
- Runs
.devcontainer/setup.shpost container creation for environment setup.
.devcontainer/setup.sh
- Added a setup script for the development container:
- Installs Poetry package manager.
- Installs all project dependencies, including development dependencies.
- Activates the Poetry virtual environment and opens a shell.
- Installs pre-commit hooks for code quality enforcement.
Changed
Contributing.md
- Updated instructions for activating the Poetry virtual environment:
- Changed from
poetry shelltoeval $(poetry env activate)for improved shell compatibility and automation.
- Changed from
README.md
- Added badges to the top of the README for enhanced project visibility:
- PyPI version badge.
- PyPI downloads badge.
- GPL v3 License badge.
pyproject.toml
- Added new dependency:
shellpackage (^1.0.1) for enhanced shell scripting and command execution capabilities within the project.
Release v0.6.0
Changed
- Ensure that version numbers in ChangeLog and releases are in sync
Release v0.6.0-preview.11
Changed
- Ensure that version numbers in ChangeLog and releases are in sync
Release v0.5.0
Changed
- Corrected ReadMe links