Skip to content

Releases: apoex/gs1

GS1 2.0.3

29 Apr 14:37
9f17b26

Choose a tag to compare

Fixed

  • Fix: `@8110' is not allowed as an instance variable name
  • Fix NoMethodError in GS1::Barcode::Healthcare#to_s

GS1 2.0.2

23 Apr 12:10

Choose a tag to compare

Fixed

  • Fix the CI release pipeline

GS1 2.0.1

23 Apr 12:07

Choose a tag to compare

Fixed

  • Fix the CI release pipeline

GS1 2.0.0

23 Apr 12:07
6f91db1

Choose a tag to compare

Changed

  • Minimum supported version of Ruby is now 3.0.5 (breaking change)

  • Extra elements in barcodes are now ignored (breaking change). Set the
    ignore_extra_barcode_elements configuration option to false to restore
    previous behavior

  • AI classes are lazy loaded now (possibly breaking change)

Added

  • Add a new option (ignore_extra_barcode_elements) to configure if extra
    elements in barcodes should be reported as an error or ignored. By default,
    ignore

  • Added the GS1.ai_classes method. This contains all AI classes. This is the
    same as GS1::AI_CLASSES from previous versions, buy lazy loaded

  • All application identifiers (as of 2025-01-30) are now recognized

Removed

  • Removed the GS1::AI_CLASSES constant. Use GS1.ai_classes instead
  • The following classes have been removed: GS1::Batch and GS1::SerialNumber.
    They have been replaced with generated anonymous classes.