Skip to content

Releases: SINC-GmbH/textcontrol-promises

v34.1.4

Choose a tag to compare

@byoernn byoernn released this 14 Jul 10:02

Fixed

  • CallbackHelper.js is now generated from lib/types/callbacks/*.d.ts instead of hand-maintained. The previous hand-written switch statement was missing ~65 of the ~140 callback types (e.g. RequestCellFormatCallback, used by TableCell.getCellFormat()), causing those methods to pass a raw string to the native SDK as if it were a callback function and throw at runtime.
  • Multi-argument response callbacks (e.g. SaveUserDictionaryCallback(name, words)) now resolve with an object keyed by their declared parameter names instead of silently dropping all but the first argument.

v34.1.3

Choose a tag to compare

@byoernn byoernn released this 02 Jul 08:48

Fixes

  • Initialization bug behoben und destroy-Funktion ergänzt (6708b05)
  • Script-Tag wird übersprungen, wenn ein Tag mit gleicher src bereits im DOM existiert (0afe696)
  • Skip-if-exists durch Remove-before-add für das Script-Tag ersetzt (5299328)

v34.1.2

Choose a tag to compare

@byoernn byoernn released this 26 May 16:55

Bug Fix

TextControlContext: script URL now correctly derived from webSocketURL

initialize() previously required a separate jsResourceFilePath parameter with a hardcoded URL. It now derives the resource URL automatically from componentSettings.webSocketURL:

  • Protocol is converted wshttp / wsshttps
  • Base path gets a trailing slash so relative resource paths resolve correctly
  • window.location is used as fallback base, so relative webSocketURL values (e.g. /txwebsocket) are supported
  • Passing an absolute URL as jsResourceFilePath still overrides everything

v34.1.1

Choose a tag to compare

@byoernn byoernn released this 26 May 15:33

Bug Fix

Generator: optional non-callback parameters now correctly typed as optional

The code generator emitted @param {T} name even when the source d.ts declared the parameter as optional (name?: T). TypeScript inferred these as required.

Most visible case: FormFieldCollection.getItem(id) was typed id: number instead of id?: number, preventing callers from invoking getItem() without an argument to retrieve the form field at the current cursor position.

Fix: generator now emits @param {T} [name] for optional params. 42 generated files updated.

v34.1.0

Choose a tag to compare

@byoernn byoernn released this 26 May 11:11

Release version 34.1.0

release-1.4.0

Choose a tag to compare

@byoernn byoernn released this 03 Feb 10:12
fix: try set authtoken empty

release-1.3.0

Choose a tag to compare

@byoernn byoernn released this 27 Oct 14:05
fb48c37

release-1.3.0

Full Changelog: release-1.2.0...release-1.3.0

patch-1.3.2

Choose a tag to compare

@byoernn byoernn released this 27 Oct 15:31

patch-1.3.2

Full Changelog: patch-1.3.1...patch-1.3.2

patch-1.3.1

Choose a tag to compare

@byoernn byoernn released this 27 Oct 14:31

patch-1.3.1

Full Changelog: release-1.3.0...patch-1.3.1

release(1.2.0)

Choose a tag to compare

@azanov azanov released this 30 Jan 17:22
60d6c77

release(1.2.0)