Skip to content

Feature Add structured address fields and deprecate legacy address field #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kaspernowak
Copy link
Contributor

@kaspernowak kaspernowak commented Jun 20, 2025

Summary

Implements support for bexio’s upcoming structured address requirements by introducing street_name, house_number, and address_addition fields to all relevant DTOs. The legacy address property is marked as deprecated with runtime warnings and could be removed after 2025-12-07.

Details

Structured Address Fields

  • Adds street_name, house_number, and address_addition to all DTOs handling contact and additional address data.
  • Ensures all request logic and tests use the new structured fields, aligning with future API requirements.

Deprecation Notice

  • The legacy address property is retained for backward compatibility but now triggers runtime deprecation warnings.
  • Planned removal after 2025-12-07.

Documentation

  • Updates documentation to reflect the new address structure.

Compatibility

  • All changes are forward-compatible with bexio’s announced API updates.

closes #28

@StanBarrows
Copy link
Contributor

@kaspernowak
We’ve just completed the OAuth PR and will take a closer look at this in the coming weeks.

@kaspernowak
Copy link
Contributor Author

@StanBarrows Thank you!
@RhysLees Since the breaking change won't happen before December, I think it would be better to look at #32 before this.

@StanBarrows StanBarrows mentioned this pull request Jul 7, 2025
6 tasks
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.

[Feature]: Support Structured Address Fields for Contacts & Additional Addresses (bexio API compliance)
3 participants