Skip to content

Releases: equinor/septic-config-generator

v2.12.0

16 May 09:15
08ceeec
Compare
Choose a tag to compare

2.12.0 (2024-05-16)

This release adds the possibility to include or exclude rows from sources based on logical expressions that can involve global variables or source data. See details in the documentation.

✨ Features

  • add conditional includes/excludes for templates (#277) (ab097cf)

🧹 Chores

  • deps: bump anyhow from 1.0.81 to 1.0.83 (#278) (15c0ad3)

🔨 Refactor

v2.11.2

18 Apr 08:16
9e1469c
Compare
Choose a tag to compare

2.11.2 (2024-04-18)

🐛 Bug Fixes

  • include filename in yaml error message (#273) (5137ddc)

v2.11.1

17 Apr 20:12
cfc5931
Compare
Choose a tag to compare

2.11.1 (2024-04-17)

🐛 Bug Fixes

🧹 Chores

  • deps: bump chrono from 0.4.37 to 0.4.38 (#264) (598a4b6)
  • deps: bump encoding_rs from 0.8.33 to 0.8.34 (#267) (cf274c0)
  • deps: bump minijinja from 1.0.16 to 1.0.20 (#271) (d3a242c)

👷 CI/CD

  • new attempt to disable annoying codecov (#269) (775ef91)

v2.11.0

09 Apr 12:01
4b1156c
Compare
Choose a tag to compare

2.11.0 (2024-04-09)

This release adds the possibility to combine multiple csv files into a single source.

✨ Features

  • add support for multi-file sources (csv) (6590a6d)

🧹 Chores

  • deps: bump h2 from 0.3.24 to 0.3.26 (#253) (512b1c4)
  • deps: bump minijinja from 1.0.12 to 1.0.16 (#255) (3918b19)
  • deps: bump regex from 1.10.3 to 1.10.4 (#254) (aebcb84)
  • deps: bump self_update from 0.38.0 to 0.39.0 (6590a6d)
  • deps: bump tempfile from 3.8.0 to 3.10.1 (#256) (da85038)

👷 CI/CD

  • disable annoying codecov patch fails (#258) (fe05c29)

🔨 Refactor

  • better error handling and reporting (14e1e48)
  • clean up lib.rs (406342f)
  • clean up overwriting of existing output file (406342f)
  • make cmd_*() non-public (14e1e48)
  • make render_template() a method (14e1e48)
  • remove unused functions (14e1e48)

🧪 Tests

v2.10.0

02 Apr 12:29
ae5f8b3
Compare
Choose a tag to compare

2.10.0 (2024-04-02)

This release changes how sources are made available to all templates: Previously the sources were hashmaps with one key/value pair per row. Now they are instead lists with one list item per row. This makes most use cases simpler since there is no longer a need for the values filter, which has been deprecated. This update will break some rarely used patterns that relied on the sources being hashmaps, but those cases can be easily fixed.

✨ Features

  • pass global sources as vecs, not hashmaps (#249) (a97d2c8)

🐛 Bug Fixes

  • polluted ctx for non-iteration templates (#248) (56d8a35)

🧹 Chores

  • deps: bump calamine from 0.22.1 to 0.24.0 (#230) (b83b293)
  • deps: bump chrono from 0.4.34 to 0.4.37 (#246) (6caa540)
  • deps: bump clap from 4.4.18 to 4.5.4 (#245) (e5b933f)
  • deps: bump indexmap from 2.2.3 to 2.2.6 (#244) (7589f27)
  • deps: bump mio from 0.8.8 to 0.8.11 (#234) (a0d9f4e)
  • deps: bump serde_yaml from 0.9.32 to 0.9.34+deprecated (#243) (78d21b3)
  • deps: bump softprops/action-gh-release from 1 to 2 (#237) (07a96cd)

👷 CI/CD

  • fix "perf" commit type for release-please (#247) (6052e34)

🏎️ Performance

v2.9.1

27 Feb 11:41
3922cb2
Compare
Choose a tag to compare

2.9.1 (2024-02-27)

🐛 Bug Fixes

  • unpack output non-array value for single argument (bbe8425)

📚 Documentation

🧹 Chores

  • deps: bump clap from 4.4.6 to 4.4.18 (#222) (07f9208)
  • deps: bump codecov/codecov-action from 3 to 4 (#226) (a5f4e18)
  • deps: bump colored from 2.0.4 to 2.1.0 (#223) (d3f1444)
  • deps: bump regex from 1.9.4 to 1.10.3 (#221) (83b2c24)
  • deps: bump serde_yaml from 0.9.25 to 0.9.32 (#224) (a8265eb)

👷 CI/CD

  • only test when updating relevant files (#220) (75aef70)

v2.9.0

25 Feb 15:29
63bb6c7
Compare
Choose a tag to compare

2.9.0 (2024-02-25)

Filter functions values and unpack have been added to make it easier to work with globally available sources that were introduced in v2.8.

✨ Features

  • add filter to extract values from hashmap (#214) (304b3aa)
  • add filter to unpack values from maps (#216) (e1bbaeb)

🧹 Chores

  • deps: bump actions/download-artifact from 3 to 4 (#196) (83de9d8)
  • deps: bump actions/upload-artifact from 3 to 4 (#197) (fa68c78)
  • deps: bump google-github-actions/release-please-action from 3 to 4 (#195) (b599c5a)
  • update release-please-action from 3 to 4 (#217) (954089e)

v2.8.0

20 Feb 15:55
784c532
Compare
Choose a tag to compare

2.8.0 (2024-02-20)

This release makes it possible to access any value from any source from any template. See docs for more info.

🧹 Chores

  • deps: bump calamine from 0.22.0 to 0.22.1 (#185) (7c1d095)
  • deps: bump chrono from 0.4.26 to 0.4.34 (#211) (2e03316)
  • deps: bump csv from 1.2.2 to 1.3.0 (#186) (08a035b)
  • deps: bump h2 from 0.3.21 to 0.3.24 (#210) (16b8371)
  • deps: bump minijinja from 1.0.8 to 1.0.12 (#209) (be16ea6)
  • deps: bump openssl from 0.10.57 to 0.10.64 (#207) (5985a07)
  • deps: bump regex from 1.9.3 to 1.9.4 (#188) (88112d0)
  • deps: bump self_cell from 1.0.1 to 1.0.3 (#208) (260d878)
  • deps: bump unsafe-libyaml from 0.2.9 to 0.2.10 (#198) (9e21a5d)

✨ Features

  • make all sources available to all templates (#204) (6a3256a)

🧪 Tests

  • add test for csv fields beginning with "0" (#205) (f7e3c85)

v2.7.0

11 Oct 23:17
e6da481
Compare
Choose a tag to compare

2.7.0 (2023-10-11)

This release adds global counters. These are handy when generating mappings to OPC for KSpice, but can also be useful for other cases. See documentation for details.

🧹 Chores

  • deps: bump clap from 4.3.21 to 4.4.6 (#170) (4c5d501)
  • deps: bump encoding_rs from 0.8.32 to 0.8.33 (#156) (9c5e20e)
  • deps: bump minijinja from 1.0.5 to 1.0.8 (#166) (958dd0a)
  • deps: bump tempfile from 3.7.1 to 3.8.0 (#155) (d6d8ce9)
  • deps: bump winresource from 0.1.16 to 0.1.17 (#157) (14400ba)

📚 Documentation

✨ Features

  • add global auto-incrementing counters (#183) (40ef2e1)

v2.6.1

10 Oct 09:49
ee514ff
Compare
Choose a tag to compare

2.6.1 (2023-10-10)

Starting with this release, scg update will connect to GitHub and check whether a new version is available. If so, scg will offer to update itself.

Keep in mind that while at the office network, there is a very low common rate limit so there is a high risk that the update procedure will fail with an HTTP 403 error. You can either wait (at least 15 minutes) and try again or connect to a different network.

(NOTE: v2.6.0 has been removed. These release notes include all changes from 2.5.2 to 2.6.1)

✨ Features

👷 CI/CD