Skip to content

Releases: mrsool/zatca

1.1.0

27 Dec 15:19
ff33f2f
Compare
Choose a tag to compare

Fix Parsing of HTTPX::ErrorResponse and Add Hooks for Advanced Logging

There are usecases when users of the SDK need to perform custom logic before the request is sent or response is parsed, so they can add context to exception monitoring platforms.

This change also adds the following two hooks:

  • Client#before_submitting_request
  • Client#before_parsing_response

1.0.2

20 Dec 14:44
5c2db06
Compare
Choose a tag to compare
  • Add a new verbose option to ZATCA::Client that logs requests and responses when true, defaulted to false.
  • When there is an error, parse HTTPX::ErrorResponse into a hash and return it.

1.0.1

06 Dec 23:04
504c838
Compare
Choose a tag to compare

Remove ZATCA's e-invoicing SDK from built gem version (~80 MB) that was not ignored by mistake.

1.0.0 - Phase 2 Support

06 Dec 22:44
8d43f2e
Compare
Choose a tag to compare

Full support for Phase 2

  • Generating CSRs and certificates
  • Hashing
  • Signing
  • Wrapping ZATCA APIs

Breaking Changes

  • Dropped support for Ruby 2.4
  • Both ZATCA::QRCodeGenerator and ZATCA#render_qr_code now receive a mandatory tags keyword argument
    • e.g. ZATCA#render_qr_code(tags: tags) instead of ZATCA#render_qr_code(tags)
    • This was done because for Phase 2 both functions can either take ZATCA tags or a base64 string

v0.1.2

22 Nov 14:57
53507dd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.1...v0.1.2

v0.1.1

12 Nov 17:22
e1f3e8c
Compare
Choose a tag to compare

What's Changed

  • fix(tlv_conversion): Convert to Characters Rather than Hex by @obahareth in #5

Full Changelog: v0.1.0...v0.1.1

0.1.0

03 Nov 13:08
930e103
Compare
Choose a tag to compare

What's Changed

  • ✨ Support Generating QR Codes, Setup CI, and Update README by @obahareth in #1

New Contributors

Full Changelog: https://github.com/mrsool/zatca-qr-code/commits/0.1.0