.

Release Notes: CODESYS String Libraries 4.1.0.0

Key Issue Type Summary Resolution Note
STRLIB-170 Improvement

IString: [Imp] Creating an IString instance from a STRING literal should be easy

Fixed
STRLIB-154 Improvement

Generic String Library: Update compiler version to SP18 Patch 5

Fixed
STRLIB-153 Improvement

Generic String: Check compiler version via pragma

Fixed [[COMPATIBILITY_INFORMATION]]
Generic FBs need a compiler version >= 3.5.19.50.
When using Function Blocks for compiler versions < 3.5.19.50 there is a compile error to avoid erroneous behavior caused by CDS-84681, CDS-86286 and CDS-86765.
STRLIB-150 Improvement

STRLIB: Consolidate ListOfLibraries

Fixed
STRLIB-145 Improvement

Generic String Base: Consolidate IDisposable

Fixed [[COMPATIBILITY_INFORMATION]]
IDisposable is replaced by MBM.IDisposable, which means that the type of the error enum of the methods ObjectDispose, ObjectRelease, ObjectRetain also changes to MBM.Error.
- Normal usecase is to check result for != NO_ERROR, in this case there is nothing to do.
- If explicit enum values are queried, it must be checked whether refactoring is required.
STRLIB-144 Improvement

BuilderBase: Consolidate IDisposable

Fixed [[COMPATIBILITY_INFORMATION]]
See: STRLIB-145
STRLIB-143 Improvement

Builder: Consolidate IDisposable

Fixed [[COMPATIBILITY_INFORMATION]]
See: STRLIB-145
STRLIB-142 Improvement

Strings: Consolidate IDisposable

Fixed [[COMPATIBILITY_INFORMATION]]
See: STRLIB-145
STRLIB-141 Improvement

IString: [Imp] StrFunc - Optimizations for pure ASCII encoding

Fixed
STRLIB-140 Improvement

IString: [Imp] _Builder - Optimizations for pure ASCII encoding

Fixed
STRLIB-139 Improvement

IString: [Imp] _UTF8String - Optimizations for pure ASCII encoding

Fixed
STRLIB-137 Improvement

IString: [Imp] The internal memory should always be terminated with NULL

Fixed [[COMPATIBILITY_INFORMATION]]
The NULL termination must be taken into calculation when reserving the memory. Please note that in existing applications, the usable size of the buffer is reduced by the NULL termination.
STRLIB-135 Improvement

Add reference to BASLIB package

Fixed [[GENERAL]]
CODESYS Base Libraries is a referenced package.
STRLIB-131 Bug

StrConv: GetDefaultCharmap should be marked as INTERNAL

Fixed [[COMPATIBILITY_INFORMATION]]
Access of GetDefaultCharmap is restricted to INTERNAL. There is no use case for the direct use of GetDefaultCharmap in the application.
STRLIB-78 Improvement

IString: [Imp] Optimizations for pure ASCII encoding

Fixed [[GENERAL]]
The optimized logic for handling strings containing only pure ASCII encoded runes leads to a performance improvement.