Skip to content

Releases: VitexSoftware/PHP-Pohoda-Connector

0.10.0

25 Jul 15:14

Choose a tag to compare

0.9.1

16 Jul 17:34

Choose a tag to compare

Notable Changes and Improvements

  1. 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).

  2. 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.

  3. 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.

  4. Debian Packaging

    Changelog: Updated for 0.9.1 release, noting XML parsing improvements.
    debian/rules: Minor fixes for installation and file pathing.

  5. 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

Full Changelog: 0.8.0...0.9.1

recordExists() ?

17 May 22:55

Choose a tag to compare

Check for presence of record in any agenda.

Full Changelog: 0.7.0...0.8.0

sqlQuery support

16 May 16:59

Choose a tag to compare

lose weight

22 Apr 09:17

Choose a tag to compare

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

02 Dec 17:05

Choose a tag to compare

The Address & Invoice & Bank CRUD

Still young

18 May 18:25

Choose a tag to compare

Code reformat
#2 fixed by @haltuf

Full Changelog: 0.3...0.4

At your own risc!

01 Jan 22:04

Choose a tag to compare

❗ ❗ ❗ still not stable ❗ ❗ ❗

  • Improved response parsing added
  • methods renamed to addToPohoda and updateInPohoda
  • Some Unit tests added

Initial dependency setup

07 Dec 14:48

Choose a tag to compare

Pre-release
0.2

Dependency update 2

Initial prerelease

07 Dec 14:32

Choose a tag to compare

Initial prerelease Pre-release
Pre-release

Only for testing purposes.
Please do not use in production environment