NETWORK
Tired of network errors disrupting your users?
Network disruptions are part of real world deployments. Between a 4D Client workstation and 4D Server, there may be switches, routers, firewalls, VPN gateways, and other network devices. A switch reboot, a cable reconnection, a mobile network handover, or a transient routing issue can make the two peers temporarily unreachable, even when the disruption only lasts a few minutes.
This feature is built on the QUIC transport layer that powers 4D client/server communication. Because QUIC runs over UDP, it can tolerate periods of silence between peers. When 4D Server detects that a remote 4D Client has become unreachable, it keeps the session alive for the configured QUIC session timeout instead of closing it immediately.
During the interruption, the Administration window shows the client as Unreachable, while Session.info.unreachableSince indicates how long the peer has been unreachable. On the client side, only windows that depend on server communication switch to the unreachable display, while local windows can remain usable.
When communication resumes in time, the session becomes active again and affected windows return to their previous state. If the timeout is exceeded, the session closes cleanly, with a diagnostic log warning and a clear restart or quit notification for the user.
Client/server deployments become smoother and more reliable in real network conditions, with no extra application code required.
AI Integration
Bring Local AI Writing in 4D Forms
Apple Writing Tools integration brings local AI assistance directly into 4D form text areas, including multiline text inputs and 4D Write Pro areas. There is no AI contract or payment to manage, no additional installation to ship, and no external AI service to configure. As long as the user’s environment supports Apple Writing Tools, the application benefits from OS handled writing assistance without additional setup. End users can proofread, rewrite, summarize, adjust tone, or extract key points from text without leaving the 4D application or copying content into another tool.
The feature is enabled through the Writing Tools property in the Property List. When available, users can access the tools from the contextual menu with Show Writing Tools, or developers can expose them through the WritingTools standard action from a button or menu item. Selected text is replaced with the returned result, while no selection applies the action to the full content of the area.
Because the feature relies on Apple Intelligence, it runs locally on compatible macOS environments where Apple Intelligence is enabled. On unsupported environments, including Windows, the property remains visible where relevant but the feature is inactive at runtime.
AI assisted writing becomes part of the application experience itself, helping users improve business text, notes, reports, and document content directly where they already work.
4D language
Reliable Cleanup Code at Method and Function Exit
The new defer command introduces a cleaner way to run completion code automatically when a method or function exits. Developers can now declare an expression anywhere in the code and rely on 4D to execute it at exit, whether the execution ends normally, reaches a return, or stops after an error. Cleanup logic no longer needs to be repeated before every return or inside every catch block.
Deferred expressions are stored in a deferred stack and executed in LIFO order when the method or function ends. If one deferred expression raises an error, 4D catches it automatically and continues executing the remaining deferred expressions, helping keep the exit flow safe and predictable.
defer is especially useful for resource management, diagnostics, and state restoration. It can help close XML references, stop activity monitoring, restore database parameters, reset error handling, or disconnect from external services. Code becomes easier to read, safer to maintain, and less exposed to forgotten cleanup steps.
HTTP SERVER
REST Server Resource Protection
REST server quota management adds session level control over entity sets stored in memory, helping protect applications from excessive resource consumption caused by intensive usage, poorly optimized REST queries, or clients that do not release resources correctly. It is especially useful when REST APIs are exposed to web apps, external systems, 4D Qodly Pro, mobile clients, or MCP based AI tools.
A new 4D.QuotaManager object is available through Session.quotas. It lets developers define limits for the current REST session, including the maximum number of entity sets allowed in memory, the default inactivity timeout for entity sets, and the maximum timeout a client can request. Current quota usage can also be monitored through currentValues.
Server resources become easier to control because entity sets are tied to the REST session and can be released automatically when they expire or when the session ends. When a defined limit is reached, new REST requests that need to create additional entity sets are rejected until resources are released. REST based applications gain stronger protection against accidental overload, while administrators keep better control over performance and availability.
4D Server Management
Clearer Session Visibility in the 4D Server Admin Window
Session monitoring in the 4D Server Admin window is now clearer with a unified Sessions tab that brings desktop clients, Web sessions, REST access, and SOAP calls into one view. Instead of checking scattered information, administrators can compare active connections from a single place and understand server activity faster.
The session list focuses on common information across all connection types, such as session type, user name, connection date, CPU time, activity, and state. Visual icons make each session type easier to identify, while the details panel adapts to the selected session. For client sessions, it can show context such as the OS session name, IP address, machine name, and usage rights. For REST, Web, or SOAP sessions, it can show details such as Guest status, privileges, IP address, and User Agent.
Stronger session visibility makes troubleshooting more direct, especially when investigating unusual activity, REST usage, or license consumption. Administrators can identify who is connected, where a session comes from, which context it runs under, and whether a connection pattern needs attention without leaving the Admin window.
4D Write Pro
Hierarchical Style Sheets in the 4D Write Pro Interface
Multi level list style sheets are now available directly in the 4D Write Pro Interface, giving users a visual way to create, apply, and manage structured lists from the toolbar and sidebar. Documents such as technical manuals, contracts, reports, training materials, and meeting minutes can keep consistent numbering and hierarchy without manual formatting.
The Style Sheets panel now displays both document style sheets and predefined multi level list templates. Users can apply ready to use templates, change list levels, append sub levels, modify numbering formats, and concatenate numbering markers between levels. Numbering stays consistent as content is added, removed, or reorganized.
Developers can also customize the available templates through the multiLevelStyles.json file, so applications can offer predefined list structures that match their business documents. 4D Write Pro documents become easier to structure, easier to maintain, and more reliable when exported or exchanged through formats such as PDF, HTML, SVG, and DOCX.
4D NetKit & Mailing
MAIL AND CALENDAR CHANGE NOTIFICATIONS
4D NetKit now provides a unified notification model for Microsoft 365 and Google Workspace, allowing applications to react when emails or calendar events are created, modified, or deleted. Instead of relying on manual refreshes, 4D applications can keep interfaces synchronized with provider data and trigger the right business logic as soon as a change is detected.
The same programming model is available for both providers through Office365.mail.notifier, Office365.calendar.notifier, Google.mail.notifier, and Google.calendar.notifier. Each notifier supports onCreate, onModify, and onDelete callbacks, so developers can update the UI, display alerts, refresh local data, or run custom workflows when mail or calendar activity changes.
Notifications can run through real time webhooks when a public HTTPS endpoint is available, or through timer based monitoring when a simpler deployment model is preferred. For Google mail notifications, topicName can be used with Google Cloud Pub/Sub when webhook mode is configured.
Connected applications become more responsive and easier to maintain, with one consistent approach for building mail and calendar workflows across Google and Microsoft environments.
4D Qodly Pro
Webform Editor Enhancements
4D Qodly Pro Editor workflows are smoother with improvements focused on navigation, event reporting, dialogs, and component interaction. Developers can move more easily between the Event Report and the Page Editor, select the right component faster, and keep filters when switching views, reducing the small interruptions that slow down form editing.
The Event Report is also more actionable. Links from sanity checks can now select components inside dialogs, deleted functions are highlighted with a tooltip, and clicking Edit can select and auto scroll to the related component in the web form. Rename dialogs also gain clearer Confirm and Cancel actions for a more predictable editing experience.
Component event coverage is improved for Radio Button and Select Input components. Events such as On Click, On Blur, On Focus, On MouseEnter, On MouseLeave, On KeyDown, and On KeyUp are now available where relevant, giving developers more control over validation, focus handling, keyboard behavior, accessibility workflows, and advanced UI interactions.
A configurable debounce and throttle setting for OnChange events also helps developers control how often changes are processed. Web form development becomes more consistent, more precise, and easier to manage in complex interfaces.
Platform Updates
Platform foundations are strengthened with updates that improve consistency, security, and long term reliability across 4D Qodly Pro, networking, encryption, and Windows interface foundations. 4D Qodly Pro gains a more standardized design system component foundation, helping teams avoid duplicated styling logic and build more consistent interfaces with reusable UI patterns.
Core technical components have also been updated, including OpenSSL 4.0, BoringSSL, Ngtcp2 1.22.1, and Libuv 1.52.1. These updates support the reliability and security of key areas such as QUIC, WebSocket, broadcast, secured connections, HTTPS, and client/server communication. The OpenSSL 4.0 update also reinforces modern TLS behavior, with servers using TLSv1_3 by default and minimum TLS settings focused on TLSv1_2 and TLSv1_3.
On Windows, the Windows App SDK 2.0.1 update supports the WinUI foundation used when building applications with or without WinUI embedded. Together, these updates keep the platform aligned with current technology standards while reducing hidden maintenance risk for deployed business applications.