SDK v14.14.0 released πŸŽ‰

SDK v14.14.0 released :tada:

Check the CHANGELOG for the complete list of changes. :rocket:

The changelog mentions the following additions. Is there documentation for those additions? I can’t find anything for validate on viktor.utils, viktor.external.word or viktor.external.spreadsheet

Added

  • utils Added a method to validate Jinja identifiers
  • external Added a method to validate word template identifiers
  • external Added file property to SpreadsheetCalculation and SpreadsheetResult

Hi @rkg,

The wording is a bit off, I will update it.

The following functions have been updated:

  • viktor.utils.render_jinja_template()
  • viktor.external.word.render_word_file()
  • viktor.external.word.WordFileTemplate.render()

These functions now explicitly check the validity of the identifiers before trying to fill the template. This prevents some unclear error messages being returned when an invalid identifier is used.

1 Like