Skip to content

Releases: zionsg/sgqr-parser

v0.4.1 - 2021-03-10

10 Mar 06:08
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • src/SgQr/Parser.php:computeChecksum(): Pad return value to 4 characters.

Security

  • Nothing.

v0.4.0 - 2020-12-19

19 Dec 06:25
Compare
Choose a tag to compare

Added

  • src/SgQr/Parser.php:
    • computeChecksum(): Added method to compute checksum for SGQR code.
    • assemble()): Added method to assemble SGQR.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

Security

  • Nothing.

v0.3.0 - 2018-10-31

30 Oct 16:47
9b68240
Compare
Choose a tag to compare

Added

  • Handling of nested templates, in particular data objects ID 50 - 99 under the template for root data object ID 62.
  • Mark nested templates with isTemplate key in specifications.
  • Coding style checks using PHP CodeSniffer.

Changed

  • Use PHPUnit for tests.

Removed

  • Nothing.

Fixed

  • Nothing.

v0.2.0 - 2018-10-22

22 Oct 03:17
Compare
Choose a tag to compare

Added

  • This CHANGELOG file.

Changed

  • Flatten id array in output. Difference shown below for a single data object in the output:

    // Previously
    [
        'id' => [
            'key' => '00',
            'name' => 'Payload Format Indicator',
        ],
        'length' => '02',
        'value' => '01',
        'comment' => 'Shall be the 1st data object in QR code. Shall contain value of 01.',
    ]
    
    // Now
    [
        'id' => '00',
        'name' => 'Payload Format Indicator',
        'length' => '02',
        'value' => '01',
        'comment' => 'Shall be the 1st data object in QR code. Shall contain value of 01.',
    ]
    

Removed

  • Nothing.

Fixed

  • Nothing.

v0.1.0 - 2018-10-21

22 Oct 03:04
Compare
Choose a tag to compare