Releases: VitexSoftware/PHP-Pohoda-Connector
0.10.0
0.9.1
Notable Changes and Improvements
-
XML Parsing and Error Handling
Robust error handling for XML parsing failures. Now, detailed error messages and runtime exceptions are thrown if XML parsing fails, greatly improving reliability and debuggability.
Automatic XML encoding conversion: Incoming XML in windows-1250 is automatically converted to UTF-8 before processing. All parsed data and strings from the library will be in UTF-8 encoding (see README.md update). -
Library Functionality
Enhanced record autoloading: The type of initial value is now checked. If an integer or string is provided, the record loads by ID or IDS. If an array and autoload mode are enabled, load as record; otherwise, just assign data.
New function: recordExists() added in v0.8.0.
Improved error propagation: Logic now validates key search and replacement options before applying them to attributes and tag names in XML. -
Developer Experience
Code quality & tooling updates: Updated dev dependencies (php-cs-fixer, composer-normalize, etc.) in composer.json.
@no-named-arguments PHPDoc annotation added to major classes for clarity.
README.md: New note on encoding and behavior added. -
Debian Packaging
Changelog: Updated for 0.9.1 release, noting XML parsing improvements.
debian/rules: Minor fixes for installation and file pathing. -
Minor/Other
Test files: Added comprehensive XML response samples for invoices and bank listings.
Various code improvements in src/mServer/Client.php, Response.php, Bank.php, Addressbook.php, and others to support new features and better error handling.
What's Changed
- Update friendsofphp/php-cs-fixer requirement from 3.64.0 to 3.82.2 by @dependabot[bot] in #3
New Contributors
- @dependabot[bot] made their first contribution in #3
Full Changelog: 0.8.0...0.9.1
recordExists() ?
Check for presence of record in any agenda.
Full Changelog: 0.7.0...0.8.0
sqlQuery support
Full Changelog: 0.6.1...0.7.0
lose weight
Changelog for Release v0.6.1
Enhancements
- Set Default Curl Timeout: Default cURL timeout is now set to 30 seconds for improved stability. (Jan 24, 2025)
- Improved Message Readability: Enhanced readability of messages produced by Pohoda. (Jan 28, 2025)
Updates
- Examples Updated: Refreshed examples to align with the latest library changes. (Apr 5, 2025)
Code Quality Improvements
- Strict Types Update: Updated codebase to enforce strict types for better type safety. (Jan 24, 2025)
- Removed Broken PHPDoc: Cleaned up invalid PHPDoc annotations. (Jan 24, 2025)
- Dropped Support for Old Platforms: Removed builds for outdated platforms. (Jan 24, 2025)
- Serializing Attempt Removal: Removed unnecessary serializing attempts for cleaner code. (Apr 18, 2025)
This release includes significant improvements in stability, code quality, and compatibility with updated XSD files.
The old (un)serialization attempt was removed to its dedicated project https://github.com/VitexSoftware/pohodaser
Full Changelog: 0.5.0...0.6.0
Some is working now
The Address & Invoice & Bank CRUD
Still young
At your own risc!
❗ ❗ ❗ still not stable ❗ ❗ ❗
- Improved response parsing added
- methods renamed to addToPohoda and updateInPohoda
- Some Unit tests added
Initial dependency setup
0.2 Dependency update 2
Initial prerelease
Only for testing purposes.
Please do not use in production environment