Skip to content

Releases: soya-daizu/goban

1.8.0

14 Sep 02:45
Compare
Choose a tag to compare
  • feat(png.cr): add support for passing in IO memory or files directly by @stakach in #2

Full Changelog: 1.7.0...1.8.0

1.7.0

26 Jan 23:24
Compare
Choose a tag to compare
  • Support Crystal 1.11.x
  • Multithreading support
    • When the program is compiled with -Dpreview_mt flag, Goban will run the mask evaluation, which takes the longest, in parallel
    • The speedup is more obvious when the encoding data is not too short
    • Everything will work the same as before without the flag
❯ shards build --release -Dpreview_mt
Dependencies are satisfied
Building: qr_test

❯ CRYSTAL_WORKERS=4 ./bin/qr_test "A fast and efficient QR Code encoder/decoder library written purely in Crystal. It is significantly faster (4-10×) and uses fewer heap allocations (-95%) compared to the other implementation in Crystal (spider-gazelle/qr-code), and it supports wider QR Code standard features such as Kanji mode encoding. It also supports generating Micro QR Code and rMQR Code symbols."
  goban   2.45k (408.47µs) (± 6.31%)  95.3kB/op        fastest
qr-code 168.07  (  5.95ms) (± 2.17%)  2.55MB/op  14.57× slower

❯ CRYSTAL_WORKERS=8 ./bin/qr_test "A fast and efficient QR Code encoder/decoder library written purely in Crystal. It is significantly faster (4-10×) and uses fewer heap allocations (-95%) compared to the other implementation in Crystal (spider-gazelle/qr-code), and it supports wider QR Code standard features such as Kanji mode encoding. It also supports generating Micro QR Code and rMQR Code symbols."
  goban   3.41k (292.99µs) (± 2.03%)  95.3kB/op        fastest
qr-code 173.34  (  5.77ms) (± 1.81%)  2.55MB/op  19.69× slower

1.6.1

15 Jul 12:02
Compare
Choose a tag to compare
  • Support Crystal 1.9.0
  • Improved Kanji mode encoding performance
  • Fixed an issue where encoding fails on some specific text

Full Changelog: 1.6.0...1.6.1

1.6.0

23 Jun 22:42
Compare
Choose a tag to compare
  • Support Micro QR and rMQR Code decoding
  • Fixed an issue where rMQR Codes are not encoded properly when the ECC level is set to High
  • Improved canvas bound checking yielding some extra performance

Full Changelog: 1.5.1...1.6.0

1.5.1

01 Jun 04:44
Compare
Choose a tag to compare
  • Fixed an issue where some rMQR codes were not encoded correctly

Full Changelog: 1.5.0...1.5.1

1.5.0

18 May 19:35
Compare
Choose a tag to compare
  • Experimental decoder implementation for QR Code
  • Slightly reduced memory usage
  • Lots of refactoring
  • Crystal 1.8.x support

Full Changelog: 1.4.1...1.5.0

1.4.1

06 Apr 00:55
Compare
Choose a tag to compare

Full Changelog: 1.4.0...1.4.1

1.4.0

09 Feb 10:07
Compare
Choose a tag to compare
  • Add rMQR support
  • Fix exporters not working with Micro QR Code
  • Add ability to generate Micro QR Codes & rMQR Codes from an arbitrary string

Full Changelog: 1.3.0...1.4.0

1.3.0

03 Jan 00:38
Compare
Choose a tag to compare
  • Add support for Micro QR Code generation
  • Fix wrong operator precedence in mask patterns
  • Fix mask evaluation was not running properly

Full Changelog: 1.2.2...1.3.0

1.2.2

17 Dec 17:39
Compare
Choose a tag to compare
  • Hotfix for regression in PNGExporter
  • Improved function pattern drawing

Full Changelog: 1.2.1...1.2.2