Compare commits

..

3 commits

Author SHA1 Message Date
TF Renovate Bot
80461b5277 Merge branch 'renovate/lock-file-maintenance' into 'main'
chore(deps): lock file maintenance

See merge request TECHNOFAB/soonix!7
2026-10-07 06:12:00 +00:00
795af1d719
chore(version): v0.2.1 2026-10-07 07:38:28 +02:00
3ae3055546
fix(lib): default yaml format to yaml_1_2 2026-10-07 07:37:44 +02:00
2 changed files with 11 additions and 2 deletions

View file

@ -2,6 +2,14 @@
All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines. All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
- - - - - -
## [v0.2.1](https://gitlab.com/TECHNOFAB/soonix/compare/e508bfb4743b7c22897469640fe1a14969603a8b..v0.2.1) - 2026-10-07
#### Bug Fixes
- (**lib**) default `yaml` format to yaml_1_2 - ([3ae3055](https://gitlab.com/TECHNOFAB/soonix/commit/3ae305554683bdf252edf971c1404419479a778c)) - [@TECHNOFAB](https://gitlab.com/TECHNOFAB)
#### Miscellaneous Chores
- (**deps**) lock file maintenance - ([e508bfb](https://gitlab.com/TECHNOFAB/soonix/commit/e508bfb4743b7c22897469640fe1a14969603a8b)) - Renovate Bot
- - -
## [v0.2.0](https://gitlab.com/TECHNOFAB/soonix/compare/a8acaf7143572dac1bc02b124e593d68b5bdddc7..v0.2.0) - 2026-01-28 ## [v0.2.0](https://gitlab.com/TECHNOFAB/soonix/compare/a8acaf7143572dac1bc02b124e593d68b5bdddc7..v0.2.0) - 2026-01-28
#### Features #### Features
- (**generator**) add Mustache - ([26e79ed](https://gitlab.com/TECHNOFAB/soonix/commit/26e79ede19e815a619a3878ffd5fa6b757da50c4)) - asimon - (**generator**) add Mustache - ([26e79ed](https://gitlab.com/TECHNOFAB/soonix/commit/26e79ede19e815a619a3878ffd5fa6b757da50c4)) - asimon

View file

@ -11,7 +11,8 @@
opts, opts,
data, data,
}: let }: let
format = opts.format or "json"; _format = opts.format or "json";
format = if _format == "yaml" then "yaml_1_2" else _format;
formatOpts = builtins.removeAttrs opts ["format"]; formatOpts = builtins.removeAttrs opts ["format"];
formatter = formats.${format} formatOpts; formatter = formats.${format} formatOpts;
@ -22,7 +23,7 @@
lua = "--- Generated by soonix, DO NOT EDIT\n"; lua = "--- Generated by soonix, DO NOT EDIT\n";
xml = "<!-- Generated by soonix, DO NOT EDIT -->\n"; xml = "<!-- Generated by soonix, DO NOT EDIT -->\n";
}.${ }.${
format _format
} or ""; } or "";
in in
(formatter.generate name data).overrideAttrs (pre: { (formatter.generate name data).overrideAttrs (pre: {