Skip to content

Releases: Servoy/svyUtils

v2024.3.0

03 May 14:50
Compare
Choose a tag to compare

SVYX-739 Fix Error markers with the ES6 parser

svyExcelUtils

SVYX-716 Excel Utils warning "getLocalDateTime is an NG Client only method" in headless
SVYX-789 svySystem scope in svyUtils missing method for TiNG deep link
Added ExcelCellStyle.setRotation(rotation) to allow text rotation in cells
Modified ExcelCell.setCellValue() to set a cell to blank rather than an empty string

svyDocEditor

SVYX-697 Added white-space:pre-wrap when text is inside span

svyDataUtils

SVYX-832 Added new functions getDatasetSetWithExactValues in svyDataUtils and getColumnTitle in svyUI

svyDateUtils

SVYX-786 svyUtils getMonthDifference isn't returning correct months

svyUI

SVYX-832 Added new functions getDatasetSetWithExactValues in svyDataUtils and getColumnTitle in svyUI
Fix RuntimeElementSource not working with AGGrid

svyEventManager

SVYX-746 Aggregate returnValue when firing an Event with svyEventManager

svySystem

SVYX-789 svySystem scope in svyUtils missing method for TiNG deep link

svyIO

Deprecate encodeStringToBase64 in favor of utils.stringToBase64

svyValidationUtils

new method getMessageFromMarkers

v2023.3.1

19 Sep 06:10
Compare
Choose a tag to compare

svyDateUtils

This release resolves the warnings in the scope svyDateUtils

v2023.3.0

21 Aug 15:14
Compare
Choose a tag to compare

svyExcelUtils

SVYX-554 New scope svyExcelBuilder which offers the possibility to generate an excel export directly from an NG Data Grid. It comes with a generic FoundsetExcelBuilder Object and an NgGridExcelBuilder Object tied to an NG Data Grid element.
SVYX-556| new method openFile(prefix) to directly open a workbook
SVYX-555| new method setDefaultFileFormat(fileFormatType) and change default file format to XLSX
SVYX-673| Implement valuelist usage to Excel Export
SVYX-703| Excel Utils, useLocalDateTime in DataSet export

svyDocEditor

Fix incorrect image size when using generateImage API
Add support for HTML Header & Footer for PDF Generation
Added support for Footer Height & Header Height, Added support for pageOffset, moved cssPrint inside container
Fix for repeat item not using multilevel relation
Added error message when relation could not be found in solution while adding fields
Added support for docx api call & async image call

svySystem

SVYX-653: scopes.svySystem.isNGClient() incorrectly returns false in TiNG, added a convenience method isNG1Client()
scopes.svySystem.isServersideClient() now also returns true for NG clients

svyDateUtils

SVYX-690| DateUtils issue
SVYX-642| scopes.svyDateUtils.getDayDifference() does not always return full days
SVYX-527| missing month correction svyDateUtils.getAge()
SVYX-613| scopes.svyDateUtils.getDateDifference doesn't support daylight savings

svyDataUtils

Added new utility method isCrossDBRelation( relationName )

svyValidationUtils

svyValidationUtils getMarkerMessages use i18NMessage

Breaking Changes
Is now possible to adjust locale and timezone using a new method setLocaleAndTimeZone(language, country, timeZoneId).
Most of the scope of svyDateUtils has been rewritten using java.time instead of java.util.Calendar affecting the result of some Date utility methods such as createDateFromWeekNumber, getDayOfWeek, getWeekOfYear which now depends on Locale.
The method getDayOfWeek has deprecated the argument "useISO8601".

v2022.3.1

30 Sep 11:45
Compare
Choose a tag to compare

svySystem

  • SVYX-508 |[TiNG] svyUtils getLocalDateTime & getServerDateTime in TiNG
  • New method isTINGClient

svyIO

svyDataUtils

  • parseCSV method: added support for dataRowCallback in parseCSV to solve mem issues on large files

svyDocEditor

  • Added support for HTML to Image (png, webp, jpeg)

v2022.3.0

07 Jul 06:20
Compare
Choose a tag to compare

svyExcel

Case Description
SVYX-418 SvyUtils - Excel Export - accepting conditional useLocalDateTime Date and Time format
SVYX-370 Smartdocumenteditor has bugs with multiple relations
  • Added fixes when using inMem tables for display name and added option to force a field without checking if if exists;
  • The fi value to close an if-tag was changed to endIf;
  • Small improvements and order of args everywhere the same.

Breaking Changes:
The order of parameters has changed for the mentionCallback in svyUtils$smartdocumentEditor.
This change is made to align them with the other overwrite callback functions.

v1.6.2

19 Apr 09:10
Compare
Choose a tag to compare

svyDocumentEditor
----- | -----------
SVYX-370 | Smart Doc Editor - Smartdocumenteditor has bugs with multiple relations

This release has breaking changes for the arguments order for the MentionOverwrite and the repeatOverwrite

svyUtils 1.6.1

13 Jan 15:12
Compare
Choose a tag to compare

svyUtils

Case Description
SVYX-364 Utilities for dates and timezones

svyExcel

Case Description
SVYX-358 SvyUtils - Excel Utils - Support page numbers in footer

svyDocumentEditor

Case Description
SVYX-286 Added support for IF Statements & Added support for callbacks on each mention / repeat / if
SVYX-288 Add utility to make the HTML plain text
SVYX-318 Parsing repeats doesn't have the correct Sort
SVYX-314 Add support for format for mentions
SVYX-315 Having a table with styling the repeat tag is not correctly working
SVYX-313 Tags containing a space in the display name are not correctly parsed
SVYX-284 SVYX-284 Added support for merge tags based on calculations.
SVYX-283 Added support for ServoyCloud images.
SVYX-282 Added fixes to allow PDF generation without SmartDocumentEditor element

SvyUtils release 1.6.0

02 Jun 00:59
6a45763
Compare
Choose a tag to compare

We are pleased to announce the availability of SvyUtils version 1.6.0!
This release offers a new module: Smart Doc Editor Utils
Please check out the wiki to get started.

svyUtils 1.5.0

15 Dec 14:10
Compare
Choose a tag to compare

svyUtils now offers a scope with helper methods for Servoy 2020.09's new validation possibilities. Therefore you will need Servoy 2020.09 or later for this and future releases.

Enhancements and fixes in this release:

  • [svyValidationUtils] SVYX-144 Validation Utils: new scope svyValidationUtils with helper methods for Servoy 2020.09's new validation possibilities
  • [svyJSUtils] SVYX-117 new method arrayInsert(array, index, element)
  • [svyJSUtils] arePksEqual() added to allow to compare primary keys
  • [svyIO] SVYX-131 Added support for charset to BufferdWriter
  • [svyIO] SVYX-107: Error reading JSFile with getLineCountForFile
  • [svyDataUtils] SVYX-104 Small JSDoc fix
  • [svyDateUtils] #34 Missing JSDoc tag: added two missing return types to svyDateUtils

svyUtils 1.4.2

04 Aug 11:03
Compare
Choose a tag to compare

svyUtils now makes use of Servoy's 2020.06 module versioning. Therefore you will need Servoy 2020.06 or later for this and future releases.

Fixes:

  • [svyApplicationCore] SVYX-9: Warnings logged when using scopes.svyApplicationCore.initModules()
  • [svyDateUtils] #26: fix getDayOfYear
  • [svyIO] fix for java.util.zip.ZipException
  • [svyCustomDialogs] added support for onShow
  • [svyUI] #29 Warning generated by scopes.svyUI.setAllToolbarsVisibility
  • [svyUI] #33 deepCopyJSForm create a formName with UUID than has '-' chars
  • [svyExceptions] #30 Stack-Trace for "svyException" doesn't work anymore!
  • [svyDataUtils] SVYX-45 Retrieve record exception from SvyDataException object
  • [svyCustomDialogs] #32 missing return types added
  • [svyCustomDialogs] added support for onShow method, added possibility to provide a dataChange method as code rather than a method reference
  • fixed warnings

Enhancements for svyUtils$NGClient

  • add support for newClasses in newRow
  • added ngCoreComponents