.

Release Notes: CODESYS 4 1.1.0.0

Key Issue Type Summary Resolution Note
C4-4407 Bug

It is possible to add an application under Communication.settings.json

Fixed
C4-4312 Bug

Filter out/suppress invalid entry points, instead of crashing

Fixed
C4-4295 Bug

Exceptions in libraries.lock.json when adding new POUs in the filesystem

Cannot Reproduce
C4-4286 Improvement

Online Mode for Device Editors

Fixed
C4-4231 Improvement

Implement the new CLI Exit Code concept

Fixed [[GENERAL]]

CODESYS 4 command line reworked (breaking change)

The command line of c4-cli, c4-pkm, c4-server and CODESYS-4.exe follows one scheme now. Old calls need an update, there are no compatibility aliases.
Check every script, CI job and installer that calls these executables.

General
- Unknown options and arguments after "--" are errors. Before, unknown options were ignored.
- Command aliases removed: i, ci, ls (c4-cli library), i, r (c4-pkm).
- Only -d, -h and -v remain as short options.
- -v (--verbose) is no longer a short form of --log-level information, use --log-level information. -v remains only on version and about (unchanged), library list and library explain (more details in the output) and bootapp compile (also shows the progress of the compiler). All other commands reject -v.
- What a command works on (application, library project or device project) is given with --project <path>, for bootapp compile with --application <path>. The path can point anywhere inside it. A library repository is given with --repository <name|path>. The positional [target-path] is removed.

Exit codes
- 0 success, 1 failed, 2 finding of a check (library check, library verify, library assert-up-to-date), 3 a repeat of the same call can succeed, 50 to 99 refine 1 for a single command, which documents them, 130 cancelled with Ctrl+C. Read any other value as failed.
- -1 no longer occurs. c4-pkm install ends with 1 on every error, its old codes 2 to 6 and 255 are gone.
- library check with compile errors ends with 2 instead of 1.

c4-cli library, old -> new
- set-managed, set-relative, set-placeholder -> add (new namespace) or set (add or replace)
- install-managed, install-relative, install-placeholder -> set, then resolve <namespace>
- install -> resolve --clean
- uninstall <namespace> -> remove <namespace>, then resolve <namespace>
- clean-install -> restore --clean
- outdated -> list-outdated (lists, exit 0) or assert-up-to-date (checks, exit 2 on newer versions)
- librepo install -> library install --repository <name|path>
- Changed meaning: library install and library uninstall now add libraries to or remove them from a local library repository.
- Renamed options: resolve -a/--all -> --clean, list -a/--all and outdated -a/--all -> --include-indirect, explain -p/--show-paths -> -v/--verbose, librepo install -a/--all -> --recursive. outdated keeps --include-prerelease, only the short form -p is removed.
- set-*: the short forms -u, -c, -o, -p and the option --no-hash are removed.
- pack and save-compiled: the project comes from --project, the output path is the only positional.
- check: the project comes from --project, --dry-run is removed.
- restore no longer restores a single library. It deletes files in the cache that no lock pins.
- verify no longer looks for newer versions, use assert-up-to-date.

Other commands
- bootapp compile [app-path] [target-path] -> bootapp compile [output-directory] [--application <path>]
- standalone-session and CODESYS-4.exe: -v removed.
- c4-server: multisession -> multi-session, -v removed.
- c4-pkm: remove -> uninstall. install takes --recursive instead of -a/--all and no longer takes --create-config-folder.
C4-4227 Bug

Duplicate rename in project tree stays blocked even when duplicate is renamed

Cannot Reproduce
C4-4209 Bug

Race condition in Monitoring may kill observable on an expression

Fixed
C4-4201 Improvement

Allow writing library ids as written

Fixed
C4-4168 Improvement

Expose necessary functions for LibDoc DocExport as SDK services

Fixed
C4-4155 Bug

Library signature check hangs builds on offline Linux hosts

Fixed
C4-4142 Bug

UTF-8 BOM as first byte trips up ST parser

Fixed
C4-4065 Bug

Boot application / online download loses or duplicates content when a service is split

Fixed
C4-4057 Improvement

CLI command rename follow-up

Fixed
C4-4047 Bug

Language model provision for Libraries is broken

Fixed
C4-3966 Bug

Build keeps failing with missing libraries after "Restore Missing Libraries" until CODESYS 4 is restarted

Fixed
C4-3958 Bug

Report misplaced methods and properties instead of silently ignoring them

Fixed
C4-3945 Bug

After opening a project, the second build can ignore changes and then fails with "Compile context not up to date"

Fixed
C4-3939 Bug

Remove CLI commands from executables that should not offer them

Fixed
C4-3934 Bug

Websocket connections stops and doesnt recover after pc is in energy save mode

Fixed
C4-3913 Improvement

Order ProjectTree nodes alphabetically

Fixed
C4-3912 Improvement

Resolve well-known project file paths centrally via the ObjectModel

Won't Fix [[GENERAL]] Won't fix: It was agreed, that the implementation should take another approach (see pinned comment)
C4-3875 Improvement

Migrate UI command draft

Fixed
C4-3873 Improvement

DevDesc implement access to additional files

Fixed
C4-3782 Improvement

I/O Mapping Page: Online monitoring of I/O values

Fixed
C4-3741 Improvement

Rebuild device editor tabs at runtime

Fixed
C4-3607 Bug

FileBrowser dialog buttons stick to list instead of bottom of dialog

Cannot Reproduce
C4-3599 Improvement

Group Editor host context menu commands

Fixed
C4-3393 Bug

Precompile messages don't disappear

Fixed
C4-3342 Improvement

Watchlist show types of expressions

Fixed
C4-3226 Improvement

Correctly set WebSocketOptions.KeepAliveTimeout

Fixed
C4-2640 Bug

UnicodeIdentifiers setting is not correctly handled

Fixed
C4-2582 Epic

UI for library management

Fixed
C4-2452 Improvement

LibMan: List Libraries in Repositories (CLI Commands)

Fixed
C4-2436 Bug

Empty string has no inline monitoring decoration

Cannot Reproduce
C4-2435 Bug

Instance path banner disappears due to unknown reason

Cannot Reproduce
C4-2433 Bug

Keyboard Navigation for InstancePath selection

Fixed
C4-2412 Bug

It is possible to add POUs outside of the application in a device project

Cannot Reproduce
C4-2411 Bug

Monitoring: Editors try to fetch instance paths even when offline

Cannot Reproduce
C4-2347 Improvement

Create device/library project: Validate path before dialog submission

Fixed
C4-2256 Improvement

Verification of POUs: Implementation language should match file suffix.

Fixed
C4-2232 Improvement

Encryption of Runtime Communication - TLS Channel Support

Fixed
C4-2227 Improvement

Dialog to inform user of save failed on editor close

Fixed
C4-2211 Improvement

Option to specify bind address

Duplicate
C4-2176 Improvement

Persist WatchList state as setting

Fixed
C4-2123 Improvement

Upgrade to .NET 10

Fixed [[GENERAL]]
CODESYS 4 has been upgraded from .NET 8 to .NET 10, so the .NET 10 version of the .NET Runtime is now required.
C4-2084 Bug

EditorHostPersistence: Active Editor not persisted and restored correctly

Cannot Reproduce
C4-2081 Improvement

Introduce .NET dependency into ARM64 deb control file

Fixed
C4-1793 Improvement

Rework GatewaySettings to GatewayPrefs

Fixed
C4-1750 Improvement

Support TLS directly in Kestrel

Fixed
C4-1713 Improvement

Linux Server: Allow binding to unix sockets

Duplicate
C4-1587 Improvement

Compiler: Handle Unicode Identifiers

Duplicate
C4-1471 Improvement

Rework DeviceLmProvider to receive the GDM directly from the Generation

Fixed
C4-1138 Improvement

Encryption of Runtime Communication

Fixed
C4-1073 Bug

Fix handling of abstract methods and properties

Fixed
C4-542 Improvement

Backend: Implement language model providing for actions

Fixed