UNPKG

@restorecommerce/handlebars-helperized

Version:

Opinionated handlebars based templating engine for rendering e-mail like content

426 lines (133 loc) 14.9 kB
# Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. ## [2.0.4](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@2.0.3...@restorecommerce/handlebars-helperized@2.0.4) (2025-10-06) **Note:** Version bump only for package @restorecommerce/handlebars-helperized ## [2.0.3](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@2.0.2...@restorecommerce/handlebars-helperized@2.0.3) (2025-10-02) ### Bug Fixes * bump dependencies, fix dependencies ([ce367b7](https://github.com/restorecommerce/handlebars-helperized/commit/ce367b75c3998dd87fc6827dca33f5fcd6a26493)) * upgrade vitest, fix reflection ([511e401](https://github.com/restorecommerce/handlebars-helperized/commit/511e4014a088c195ffe50eaff7c26e8654e10f10)) ## [2.0.2](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@2.0.1...@restorecommerce/handlebars-helperized@2.0.2) (2025-09-17) **Note:** Version bump only for package @restorecommerce/handlebars-helperized ## [2.0.1](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@2.0.0...@restorecommerce/handlebars-helperized@2.0.1) (2025-09-17) **Note:** Version bump only for package @restorecommerce/handlebars-helperized # [2.0.0](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.5.1...@restorecommerce/handlebars-helperized@2.0.0) (2025-08-21) ### Bug Fixes * **protos:** add name and descrp to customer ([3a496d1](https://github.com/restorecommerce/handlebars-helperized/commit/3a496d1dd49d82fd5c65881966272973c2dbc7d3)) ### Features * **handlebars-helperized:** datetime formater are now using buildin Intl functions ([fa49e28](https://github.com/restorecommerce/handlebars-helperized/commit/fa49e28e9d5abc250d4a50e4433070c4c6cff050)) ### BREAKING CHANGES * **handlebars-helperized:** The parameters and outcome for datetime helpers may have changed. Please check into Intl Format Options. Most helpers give fully access ## [1.5.1](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.5.0...@restorecommerce/handlebars-helperized@1.5.1) (2025-08-12) ### Bug Fixes * **helperized:** l10n now allows objects with { value, default } fallback ([31e9069](https://github.com/restorecommerce/handlebars-helperized/commit/31e9069e3869547fa74120241ed89ce769e3bd70)) # [1.5.0](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.4.3...@restorecommerce/handlebars-helperized@1.5.0) (2025-03-28) ### Bug Fixes * **handlebars:** throw error if template is not provided ([6094196](https://github.com/restorecommerce/handlebars-helperized/commit/60941966c14002100d06e25caaca7fb46f9a7fd1)) * **helperized:** handle helperized when template is not provided ([6ce3ede](https://github.com/restorecommerce/handlebars-helperized/commit/6ce3edeb163a68a8c0b061b28b607e533ee10099)) * **helperized:** handlebars-helperized localization should use hash.hash not hash.data.root ([e6f4d4a](https://github.com/restorecommerce/handlebars-helperized/commit/e6f4d4af6d4b4ddc0555d7ac0d07820dfc354c30)) * **helperized:** remove console output. lookup into hash.hash only ([3cc81c3](https://github.com/restorecommerce/handlebars-helperized/commit/3cc81c3f0f3ba44efe9c0e6cef696054e9f49dbe)) ### Features * **protos:** adjust rendering to comply with RC message pattern ([abf6d2c](https://github.com/restorecommerce/handlebars-helperized/commit/abf6d2c8ad1a5331a5793b5d25c74590b45c1210)) ## [1.4.3](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.4.2...@restorecommerce/handlebars-helperized@1.4.3) (2024-11-07) **Note:** Version bump only for package @restorecommerce/handlebars-helperized ## [1.4.2](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.4.1...@restorecommerce/handlebars-helperized@1.4.2) (2024-11-04) ### Bug Fixes * **various:** Upgrade deps ([a1b22fd](https://github.com/restorecommerce/handlebars-helperized/commit/a1b22fdf01278fb552d1aa98a32edc6a80718f05)) * **various:** Upgrade eslint to use typescript-eslint ([62e3439](https://github.com/restorecommerce/handlebars-helperized/commit/62e34393bf633012bc8def8586959dd9e5c6b2a4)) * **various:** Upgrade eslint to use typescript-eslint ([b580f00](https://github.com/restorecommerce/handlebars-helperized/commit/b580f00d5bd1d67c8fc1caabcb75ca3b6d12a83e)) * **various:** Upgrade eslint to use typescript-eslint ([8a9ce59](https://github.com/restorecommerce/handlebars-helperized/commit/8a9ce59edc0f8619bc13745462f9c59e4bb6c6ab)) ## [1.4.1](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.4.0...@restorecommerce/handlebars-helperized@1.4.1) (2024-06-07) **Note:** Version bump only for package @restorecommerce/handlebars-helperized # [1.4.0](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.2.0...@restorecommerce/handlebars-helperized@1.4.0) (2024-04-24) ### Features * add wait function to the Renderer ([#84](https://github.com/restorecommerce/handlebars-helperized/issues/84)) ([1347d8f](https://github.com/restorecommerce/handlebars-helperized/commit/1347d8f1dd46c0cd75c9a288811b9fb455d8049f)) # [1.3.0](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.2.0...@restorecommerce/handlebars-helperized@1.3.0) (2024-04-23) ### Features * add wait function to the Renderer ([#84](https://github.com/restorecommerce/handlebars-helperized/issues/84)) ([1347d8f](https://github.com/restorecommerce/handlebars-helperized/commit/1347d8f1dd46c0cd75c9a288811b9fb455d8049f)) # [1.2.0](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.0.11...@restorecommerce/handlebars-helperized@1.2.0) (2024-04-23) ### Features * convert handlebars-helperized to ESM ([2e9b037](https://github.com/restorecommerce/handlebars-helperized/commit/2e9b037fb8aefe5c741f1ef5b2a0cb98e8c60ce5)) # [1.1.0](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.0.11...@restorecommerce/handlebars-helperized@1.1.0) (2024-04-23) ### Features * convert handlebars-helperized to ESM ([28b275e](https://github.com/restorecommerce/handlebars-helperized/commit/28b275e5efa849f27bb075a277f6bc9a1220a48f)) ## [1.0.11](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.0.10...@restorecommerce/handlebars-helperized@1.0.11) (2024-03-05) **Note:** Version bump only for package @restorecommerce/handlebars-helperized ## [1.0.10](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.0.9...@restorecommerce/handlebars-helperized@1.0.10) (2024-03-04) ### Bug Fixes * **handlebars-helperized:** double default check ([dfc9613](https://github.com/restorecommerce/handlebars-helperized/commit/dfc961302e0a947c6efad56f156de28263137fb3)) ## [1.0.9](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.0.8...@restorecommerce/handlebars-helperized@1.0.9) (2024-02-27) ### Bug Fixes * unit test ([0800d98](https://github.com/restorecommerce/handlebars-helperized/commit/0800d98b2345ae2c47ecfc58d68ccfc739a90f99)) ## [1.0.8](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.0.7...@restorecommerce/handlebars-helperized@1.0.8) (2024-02-26) ### Bug Fixes * up handlebars-helperized to use import instead of require ([ad8a550](https://github.com/restorecommerce/handlebars-helperized/commit/ad8a5503e48d62ed93222876cf8585ee9293163e)) ## [1.0.7](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.0.6...@restorecommerce/handlebars-helperized@1.0.7) (2024-02-21) ### Bug Fixes * handlebars-helperized and mailer module ([ed596c4](https://github.com/restorecommerce/handlebars-helperized/commit/ed596c487c3d750c50ad0f628650317fc00920a3)) ## [1.0.6](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.0.5...@restorecommerce/handlebars-helperized@1.0.6) (2023-11-20) **Note:** Version bump only for package @restorecommerce/handlebars-helperized ## [1.0.5](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.0.4...@restorecommerce/handlebars-helperized@1.0.5) (2023-10-07) **Note:** Version bump only for package @restorecommerce/handlebars-helperized ## [1.0.4](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.0.3...@restorecommerce/handlebars-helperized@1.0.4) (2023-07-11) **Note:** Version bump only for package @restorecommerce/handlebars-helperized ## [1.0.3](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.0.2...@restorecommerce/handlebars-helperized@1.0.3) (2023-05-29) **Note:** Version bump only for package @restorecommerce/handlebars-helperized ## [1.0.2](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.0.1...@restorecommerce/handlebars-helperized@1.0.2) (2023-05-22) **Note:** Version bump only for package @restorecommerce/handlebars-helperized ## [1.0.1](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@1.0.0...@restorecommerce/handlebars-helperized@1.0.1) (2022-10-14) **Note:** Version bump only for package @restorecommerce/handlebars-helperized # [1.0.0](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@0.1.20...@restorecommerce/handlebars-helperized@1.0.0) (2022-08-25) ### Features * move to fully typed grpc client and server ([ec9be2d](https://github.com/restorecommerce/handlebars-helperized/commit/ec9be2daff0823e9ba440a2845b7b1a7f2d74b50)) ### Reverts * Revert "BREAKING CHANGE: move to fully typed grpc client and server" ([2d584a7](https://github.com/restorecommerce/handlebars-helperized/commit/2d584a709632ae608f595a2c836deabd34f671d9)) ### BREAKING CHANGES * move to fully typed grpc client and server ## [0.1.20](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@0.1.19...@restorecommerce/handlebars-helperized@0.1.20) (2022-06-10) ### Bug Fixes * fix merge issues ([cc37d83](https://github.com/restorecommerce/handlebars-helperized/commit/cc37d8356df3b494af8c6af9e39304a49073301c)) ## [0.1.19](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@0.1.18...@restorecommerce/handlebars-helperized@0.1.19) (2022-05-16) **Note:** Version bump only for package @restorecommerce/handlebars-helperized ## [0.1.18](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@0.1.17...@restorecommerce/handlebars-helperized@0.1.18) (2022-02-22) **Note:** Version bump only for package @restorecommerce/handlebars-helperized ## [0.1.17](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@0.1.16...@restorecommerce/handlebars-helperized@0.1.17) (2022-02-15) ### Bug Fixes * **handlebars-helperized:** made layout, style, opts and customhelpers as optional parameters ([a4e3f6d](https://github.com/restorecommerce/handlebars-helperized/commit/a4e3f6d8879f5f6581ab8cac27c8fa3f588a231c)) ## [0.1.16](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@0.1.15...@restorecommerce/handlebars-helperized@0.1.16) (2022-02-14) **Note:** Version bump only for package @restorecommerce/handlebars-helperized ## [0.1.15](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@0.1.14...@restorecommerce/handlebars-helperized@0.1.15) (2021-08-23) ### Bug Fixes * **version:** up version to be in sync in package-lock ([b8f22c1](https://github.com/restorecommerce/handlebars-helperized/commit/b8f22c1268ee2af4beff7d88bda30f197896e3d2)) ## [0.1.14](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@0.1.13...@restorecommerce/handlebars-helperized@0.1.14) (2021-08-03) ### Bug Fixes * up pkg locks ([8ed92d6](https://github.com/restorecommerce/handlebars-helperized/commit/8ed92d613b9a095e4b5066056ac566e5dbcf1472)) * updated githead ([2904d30](https://github.com/restorecommerce/handlebars-helperized/commit/2904d30e5773dc8a87c01a08ff6481f99d692354)) ## [0.1.13](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@0.1.12...@restorecommerce/handlebars-helperized@0.1.13) (2021-08-03) ### Bug Fixes * **koa-health-check:** added missing .eslintrc.js ([45af632](https://github.com/restorecommerce/handlebars-helperized/commit/45af632955d2dd448e7a27f4e8c4b971412cd004)) ## [0.1.12](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@0.1.11...@restorecommerce/handlebars-helperized@0.1.12) (2021-06-26) **Note:** Version bump only for package @restorecommerce/handlebars-helperized ## [0.1.11](https://github.com/restorecommerce/handlebars-helperized/compare/@restorecommerce/handlebars-helperized@0.1.10...@restorecommerce/handlebars-helperized@0.1.11) (2021-05-25) **Note:** Version bump only for package @restorecommerce/handlebars-helperized ## 0.1.10 (2021-05-24) **Note:** Version bump only for package @restorecommerce/handlebars-helperized ### 0.1.9 (April 15th, 2021) - Upgrade deps. ### 0.1.8 (July 9th, 2020) - Add custom helpers on class initialization and cover with unit test - Upgrade deps. ### 0.1.7 (October 24th, 2019) - Upgrade deps. ### 0.1.6 (July 23rd, 2019) - prevent .git folder being published to npm ### 0.1.5 (June 17th, 2019) - Revert change from 0.1.3 with nfc formatting. ### 0.1.2 (June 20th, 2017) - Revert change from 0.1.1 with nfc formatting. ### 0.1.1 (June 20th, 2017) - Upgrade deps. - Note that `nfc` number formatting has changed; The currency symbol is rendered by the extension now. ### 0.1.0 (October 11th, 2017) Initial share.