Skip to content

Latest commit

 

History

History
888 lines (543 loc) · 87.5 KB

File metadata and controls

888 lines (543 loc) · 87.5 KB

Changelog

All notable changes to Poster will be documented in this file.

4.6.1 (2026-02-13)

✅ Tests

  • tables: add unit tests for TabEngine.Render (#125) (708647b)

4.4.0 (2026-02-12)

📦 Dependencies

  • gh-actions: bump toshimaru/auto-author-assign from 2.1.1 to 3.0.1 (#95) (e6ba3ac)

🤖 Continuous Integration

  • gh-actions: enhance Github Actions workflows (#91) (480b2ea), closes #92
  • gh-actions: update release workflow for improved version synchronization [skip ci] (c1bb2aa)
  • github: add self-healing version sync to release workflow [skip ci] (ae6dc12)
  • github: update release workflow for versioning and changelog generation [skip ci] (33484dd)
  • release: add gh-release action to fix missing ui release [skip ci] (967dc5f)
  • release: add smart sync to prevent non-fast-forward errors [skip ci] (59bf5c7)
  • release: definitive workflow synchronization [skip ci] (c52af41)
  • release: filter tags strictly to avoid vnull errors [skip ci] (14a7839)
  • release: restore app token to bypass protection rules [skip ci] (98e366a)
  • release: switch to manual release strategy to fix null error [skip ci] (318016a)

✨ Features

🐛 Bug Fixes

⚡ Performance Improvements

  • graphics: optimize Atkinson dithering with 1D slice and add test (#113) (1531129)

♻️ Code Refactoring

  • graphics: cache bytesPerRow in MonochromeBitmap (#118) (bbd923e)
  • linters: improve golangci-lint configuration for better analysis (ee2d80b)
  • poster: optimize command buffer allocation and improve readability (1a6e148)

4.4.0 (2026-02-12)

♻️ Code Refactoring

  • linters: improve golangci-lint configuration for better analysis (ee2d80b)
  • poster: optimize command buffer allocation and improve readability (1a6e148)

📦 Dependencies

  • gh-actions: bump toshimaru/auto-author-assign from 2.1.1 to 3.0.1 (#95) (e6ba3ac)

🤖 Continuous Integration

  • gh-actions: enhance Github Actions workflows (#91) (480b2ea), closes #92
  • gh-actions: update release workflow for improved version synchronization [skip ci] (c1bb2aa)
  • github: add self-healing version sync to release workflow [skip ci] (ae6dc12)
  • github: update release workflow for versioning and changelog generation [skip ci] (33484dd)
  • release: add gh-release action to fix missing ui release [skip ci] (967dc5f)
  • release: add smart sync to prevent non-fast-forward errors [skip ci] (59bf5c7)
  • release: definitive workflow synchronization [skip ci] (c52af41)
  • release: filter tags strictly to avoid vnull errors [skip ci] (14a7839)
  • release: restore app token to bypass protection rules [skip ci] (98e366a)
  • release: switch to manual release strategy to fix null error [skip ci] (318016a)

✨ Features

🐛 Bug Fixes

⚡ Performance Improvements

  • graphics: optimize Atkinson dithering with 1D slice and add test (#113) (1531129)

4.4.0 (2026-01-27)

♻️ Code Refactoring

  • linters: improve golangci-lint configuration for better analysis (ee2d80b)
  • poster: optimize command buffer allocation and improve readability (1a6e148)

📦 Dependencies

  • gh-actions: bump toshimaru/auto-author-assign from 2.1.1 to 3.0.1 (#95) (e6ba3ac)

🤖 Continuous Integration

  • gh-actions: enhance Github Actions workflows (#91) (480b2ea), closes #92
  • gh-actions: update release workflow for improved version synchronization [skip ci] (c1bb2aa)
  • github: add self-healing version sync to release workflow [skip ci] (ae6dc12)
  • github: update release workflow for versioning and changelog generation [skip ci] (33484dd)
  • release: add gh-release action to fix missing ui release [skip ci] (967dc5f)
  • release: add smart sync to prevent non-fast-forward errors [skip ci] (59bf5c7)
  • release: definitive workflow synchronization [skip ci] (c52af41)
  • release: filter tags strictly to avoid vnull errors [skip ci] (14a7839)
  • release: restore app token to bypass protection rules [skip ci] (98e366a)
  • release: switch to manual release strategy to fix null error [skip ci] (318016a)

✨ Features

🐛 Bug Fixes

4.3.0 (2025-12-19)

✨ Features

  • tables: implement automatic column width reduction for table overflow (#90) (1e70d00)

4.2.0 (2025-12-17)

📝 Documentation

  • poster: Rename project to Poster and expand LEARNING.md with detailed technical architecture, new features like the visual emulator, and enhanced ESC/POS command support. (19157f2)

⚡ Performance

  • emulator: optimize ToImage method for faster bitmap rendering (473ba79)

✅ Tests

  • emulator: add tests for AutoAdjustCursorOnScale functionality and image printing methods (3fd0f80)

✨ Features

4.1.0 (2025-12-12)

📝 Documentation

♻️ Code Refactoring

  • executor: implement text styling and formatting functions (bf334e5)

🐛 Bug Fixes

  • tests: fix formatting issues in test error messages (0dadd1c)

✅ Tests

  • builder: add unit tests for barcode, image, QR, and raw command builders (883c4c2)
  • builder: enhance barcode and image builder tests with default checks and alignment validation (0ac2537)
  • executor: add barcode command structure and handler tests (cadf5f7)

✨ Features

4.0.0 (2025-12-10)

⚠ BREAKING CHANGES

  • poster: add ESC/POS emulator functionality with receipt generation (#86)
  • poster: update package references from poster to poster

🐛 Bug Fixes

  • update pkg/document/executor/table_handler.go (ef8f9d5)

📝 Documentation

  • poster: update README and .gitignore for poster image inclusion (ca7432f)

♻️ Code Refactoring

  • constants: introduce constants for paper dimensions and rendering parameters (e4096b9)
  • tables: implement default alignment and configuration options for table formatting (3c35b3c)

✨ Features

3.6.1 (2025-12-08)

♻️ Code Refactoring

  • tables: implement default alignment and configuration options for table formatting (#83) (949fa9f)

📝 Documentation

🐛 Bug Fixes

  • labels: add JavaScript related label to auto-merge workflow (7b10cf2)

📦 Dependencies

3.6.0 (2025-12-04)

✅ Tests

  • tables: update method names to follow Go naming conventions (97518ca)

🐛 Bug Fixes

  • poster: correct alignment and default values in barcode and image builders (95a7857)

✨ Features

  • barcode: enhance barcode configuration and mapping functions (db5e03b)
  • builder: use centralized default version in document creation (0beb10d)
  • constants: expand default constants for various configurations (4d56b0e)
  • constants: introduce centralized constants for alignment and default values (fb97aed)
  • constants: introduce centralized constants for alignment and default values (#82) (8255c69)
  • executor: add new executor package for handling JSON print documents (e480f32)
  • executor: implement handler registry for command management (9ccb2be)
  • poster: update default constants for image and QR code handling (d0d638f)
  • tables: introduce TableBuilder for fluent API to build table commands (5e54f02)

3.5.0 (2025-12-02)

✨ Features

  • executor: add new executor package for handling JSON print documents (#81) (8183c79)

3.4.0 (2025-11-27)

✨ Features

  • document: add support for raw command handling and documentation (#80) (dca16cf)

3.3.3 (2025-11-25)

🐛 Bug Fixes

  • security: fix workflow does not contain permissions alert (#79) (ad945d3)

3.3.2 (2025-11-25)

📦 Dependencies

  • gh-actions: bump actions/checkout from 5 to 6 (#77) (3a232ce)

3.3.1 (2025-11-25)

✅ Tests

  • poster: add unit tests for profile, connection and graphics packages (#74) (d56a1e5)

📦 Dependencies

  • gomod: bump github.com/stretchr/testify from 1.7.0 to 1.11.1 (#76) (0f40661)
  • gomod: bump gopkg.in/yaml.v3 from 3.0.0 to 3.0.1 (#75) (254c4cf)

3.3.0 (2025-11-25)

♻️ Code Refactoring

  • document: update ticket JSON structure and improve text command handling (5217e05)

📝 Documentation

  • document: add JSON schema and documentation for POS printer document format (ab93895)

🐛 Bug Fixes

  • document: fix panic by enhancing profile application and command handling (2ce903c)

✨ Features

  • barcode: add BarcodeCommand structure for barcode generation (6762a4c)
  • barcode: implement barcode command handling and configuration (d76eef1)
  • barcode: implement barcode command handling and configuration (#73) (2408c41)
  • document: add new JSON document examples for receipt and table commands (75e5881)
  • document: add QR and table command handling (edac830)
  • document: enhance text command structure with label support (e389512)
  • document: introduce new text command structure with optional label and style support (b129df6)

3.2.0 (2025-11-19)

🐛 Bug Fixes

  • graphics: improve logo handling in QR code generation (68ae2c5)

📦 Dependencies

  • tables: update golang.org/x/image and golang.org/x/text dependencies (3969cd0)

✨ Features

  • ci: add tables scope to commit message guidelines (4cc7a16)
  • document: add QR code and table command support in document builder (8172b4d)
  • qrcode: refactor image loading and command handling for ESC/POS printer (fafcf7a)
  • tables: add table generation and rendering for ESC/POS printers (9089536)
  • tables: add table generation and rendering for ESC/POS printers (#72) (261086e)

3.1.0 (2025-11-18)

✨ Features

  • qrcode: enhance QR code processing and image generation (#71) (c38f115)

3.0.7 (2025-11-18)

📦 Dependencies

  • gomod: bump the golang-x group with 2 updates (#70) (7499533)

3.0.6 (2025-11-18)

📝 Documentation

  • github: update DevOps and CI/CD documentation (#68) (afc4480)

📦 Dependencies

  • npm: bump js-yaml from 4.1.0 to 4.1.1 (#69) (dc4b4a8)

3.0.5 (2025-11-10)

📦 Dependencies

  • gh-actions: bump golangci/golangci-lint-action from 8 to 9 (#66) (b964ed1)

3.0.4 (2025-11-10)

📦 Dependencies

  • gh-actions: bump github/codeql-action from 3 to 4 (#65) (9b437df)

3.0.3 (2025-11-10)

🤖 Continuous Integration

📦 Dependencies

  • deps: bump actions/checkout from 4 to 5 (adadd53)
  • gh-actions: bump actions/checkout from 4 to 5 (#64) (eb69625)

3.0.2 (2025-11-10)

📦 Dependencies

  • npm: bump @commitlint/cli from 19.8.1 to 20.1.0 (#63) (1d19593)

3.0.1 (2025-11-10)

🤖 Continuous Integration

  • dependabot: enhance auto-merge workflow with timeout and success criteria (5f74df6)
  • github: add new scopes for gomod, npm, and gh-actions (39746f4)

📦 Dependencies

  • npm: bump @commitlint/config-conventional from 19.8.1 to 20.0.0 (#62) (277a12c)

3.0.0 (2025-11-07)

⚠ BREAKING CHANGES

  • commands: rename controllers to commands (#61)
  • escpos: rename controllers to commands

📝 Documentation

  • add LEARNING.md and update README.md (21bc0f5)

🐛 Bug Fixes

♻️ Code Refactoring

  • base64: rename example file for clarity (8d6533d)
  • commands: improve command documentation and comments (764a58f)

🤖 Continuous Integration

  • github: update workflow to dynamically find example directories (cc643b8)

✨ Features

2.3.0 (2025-11-07)

✨ Features

  • escpos: add document building and execution features (#58) (3e89d73), closes #59

2.2.1 (2025-11-06)

🐛 Bug Fixes

  • profile: improve logging for unsupported code tables (#57) (b886820)

2.2.0 (2025-11-06)

🐛 Bug Fixes

  • profile: enhance encoding support and error handling (b28539b)

✨ Features

2.1.0 (2025-11-05)

✨ Features

  • graphics: add base64 image loading functionality and example (#55) (8abc948)

2.0.1 (2025-11-05)

📝 Documentation

  • readme: update LEARNING.md and README.md (#53) (54d39a4)

🤖 Continuous Integration

  • escpos: update CI configuration and add pre-commit hooks (#54) (6ee16d6)

📦 Dependencies

  • ci: bump actions/setup-node from 5 to 6 (#49) (925e1be)

2.0.0 (2025-11-04)

⚠ BREAKING CHANGES

  • escpos: refactor Protocol to Commands and enhance functionality

✨ Features

  • arq: introduce modular escpos architecture and printer profiles (86d877b)
  • escpos: add QR code capability to ESC/POS protocol (2d1f7f3)
  • escpos: refactor Protocol to Commands and enhance functionality (eec9582)
  • graphics: add advanced image processing engine (0148e8c)
  • printposition: introduce composer and refactor print position (9b4aeb0)
  • qrcode: implement QR Code generation commands (57571fa)

📦 Dependencies

  • remove unused QR code dependency (f479762)

1.8.0 (2025-10-28)

✨ Features

  • taskfiles: add Task files to automate and improve some processes (#48) (54de86c)

1.7.0 (2025-10-23)

✨ Features

  • bitimage: implement ESC/POS commands for bit images (#45) (1b98b1f)

1.6.0 (2025-10-22)

✨ Features

  • mechanismcontrol: add commands for printer control (#41) (53ef71c)

1.5.0 (2025-10-12)

✨ Features

  • escpos: implemented SetTextSize(widthMultiplier, heightMultiplier int) method to adjust text dimensions. (#36) (29c6e4e)

1.4.0 (2025-10-07)

🤖 Continuous Integration

  • bump actions/stale from 9 to 10 (#27) (ee65c43)
  • bump lewagon/wait-on-check-action from 1.4.0 to 1.4.1 (#30) (45bf780)

✅ Tests

  • barcode: add byte slice validation helpers (2830158)

✨ Features

  • barcode: add barcode commands and integration tests for barcode commands (464a741)

🐛 Bug Fixes

  • barcode: update utils/test/validation_helpers.go (07fa11a)

1.3.1 (2025-09-15)

🤖 Continuous Integration

  • bump actions/checkout from 4 to 5 (1e9499f)
  • bump actions/github-script from 7 to 8 (71bad7d)
  • bump actions/labeler from 5 to 6 (e965a54)
  • bump actions/setup-go from 5 to 6 (e62e0e0)
  • bump actions/setup-node from 4 to 5 (07802e7)
  • bump lewagon/wait-on-check-action from 1.3.1 to 1.4.0 (b39aad5)

📦 Dependencies

  • deps: bump golang.org/x/image from 0.30.0 to 0.31.0 in the golang-x group (#22) (3c7131d)

1.3.0 (2025-09-15)

✨ Features

  • udchars: add user-defined character test example (f1e53cc)

1.2.1 (2025-09-15)

📦 Dependencies

  • deps: bump golang.org/x/text in the golang-x group (cc79970)

🤖 Continuous Integration

  • dependabot: enhance auto-merge workflow and add PR status dashboard (1add7a1)

1.2.0 (2025-09-08)

✨ Features

  • printposition: add print position management commands (bc25641)

✅ Tests

  • printposition: update tests for print position functionality (ab7705f)
  • print: update error messages and assertions in tests (3932bc0)
  • print: update tests for print command integration (74d8e58)
  • test: add assertion helpers for testing utilities (e382f4f)

1.1.0 (2025-09-02)

✨ Features

  • character: add character handling capabilities (#12) (c62dd8e)

1.0.1 (2025-08-26)

📦 Dependencies

  • go.mod: add missing golang.org/x/text dependency (83d8598)
  • go.mod: fix go.mod file (9d5b966), closes #7

1.0.0 (2025-08-26)

⚠ BREAKING CHANGES

  • protocols: add new architecture for command chaining and 2-layered commands.
  • escpos: The protocol interface has been modified to support multiple protocols and may require updates to existing implementations.

Signed-off-by: Adrián Constante ad_con.reload@proton.me

🐛 Bug Fixes

  • errors: standardize error variable names (b865304)
  • escpos: improve comments and code clarity (bbf654c)

✅ Tests

  • escpos: add tests for dependency injection functionality (3d7c680)
  • escpos: add tests for line spacing functionality (6bbfb2a)
  • escpos: add unit tests for command functionalities (d759a33)

✨ Features

  • barcode: update barcode handling functions (85558e7)
  • escpos: add line spacing capabilities and refactor commands (b0a0f84)
  • escpos: enhance printer command structure and add comments (dd1c733)
  • escpos: refactor printer protocol handling (9ce0903)
  • escpos: refactor protocol structure and update imports (f1840f8)
  • printer: enhance printer configuration structure (53c4c9c)
  • protocols: add new architecture for command chaining and 2-layered commands. (599214f), closes #4
  • protocol: update import paths for escpos types (599aca6)

0.2.0 (2025-08-15)

🤖 Continuous Integration

  • bump amannn/action-semantic-pull-request from 5 to 6 (648be79)
  • bump codecov/codecov-action from 4 to 5 (3ce0298)

✨ Features

  • escpos: add initial implementation for ESC/POS commands (f9772b4)
  • github: add initial github workflows and files (812b851)