Goodbye 4D Internet Commands – Hello Modern Internet Integration
With the release of 4D 21, we’re officially saying goodbye to the 4D Internet Commands plugin, a long-standing companion for many developers since the early days of the internet. But this isn’t just the end of an era. It’s the beginning of a more secure, more powerful, and more enjoyable way to handle internet communications in 4D.
You can still continue using 4D Internet Commands in version 20 with 4D 21. So, why make the switch? Because the new built-in classes are not just replacements, they’re a complete rethinking of how internet protocols should be handled in a modern development environment. They’re native, thread-safe, and designed to meet today’s standards in security, performance, and flexibility.
New Way to Control Your HTTP Responses
Starting with 4D 21, 4D developers can now take full control over HTTP responses using a simple configuration file: HTTPRules.json. Whether you’re looking to enhance security, optimize performance, or manage access to static resources, this feature gives you the flexibility you need, without writing a single line of code.
Let’s dive into the capabilities and how to use them.
Work and Move with QUIC and Network Switching
What’s more frustrating than losing your 4D Remote connection to the 4D Server while switching networks on the go?
Whether you’re moving from Ethernet to Wi-Fi or hopping between hotspots, traditional connections tend to drop, forcing 4D Remote to disconnect and reconnect.
With 4D 21 and the QUIC protocol, those interruptions are a thing of the past.
QUIC is designed to be resilient during network changes, keeping your session alive even when the underlying connection shifts.
4D Developer Automatic Activation
Isn’t it tedious to manually enter license numbers every time you install your softwares on a new machine?
With 4D 21, that’s no longer necessary, 4D now does it for you automatically. Let’s see how.
HTTPS Requests Now Support Windows Certificate Store
Starting with 4D 21, your HTTPS requests can now use a certificate stored in the Windows Certificate Store instead of one saved on disk. This is particularly useful when the client-side of HTTPS requests needs to use local certificates.
UUID Improvements and Sorting with Version 7
Starting with 4D 20 R10, UUIDs are now generated directly using an internal algorithm instead of relying on system functions—giving you better control over their format and behavior. And with this update, you can now opt for version 7 UUIDs, which support chronological sorting. Let’s explore what this means for your applications.
Embed deployment license automatically into your applications
You’ve built the app. Now you need to ship it — fast, clean, and licensed. With 4D 20 R10, you can automatically embed your deployment license into your application builds — no manual setup, no machine-specific paths. Built for OEM and 4D Desktop – Business Edition licenses, this feature relies on just one setting to make your build file portable, version-controlled, and shareable across machines. License checks now run before the build starts, the logs show which licenses were used, and your settings stay intact if anything goes wrong.
One simple tweak, and deployment becomes one less thing to worry about.
New Class to Perform UDP Communications
4D 20 R8 introduced the TCPConnection class, bringing an object-oriented, asynchronous way to handle TCP client connections. Then came 4D 20 R9 with the TCPListener class to build TCP servers. And now, with 4D 20 R10, we’re completing the picture with the new UDPSocket class, allowing you to manage UDP communications between 4D and any remote machine, both as a client and a server. This is especially useful for IoT, real-time monitoring, or broadcasting exchanges. And the icing on the cake? This class supports preemptive and asynchronous UDP communication
Finally, this new feature is marking the final step in replacing the legacy Internet Commands plugin.
Let’s dive into the details.
Formulas in Label Wizard
Starting with 4D 20 R9, the Label Wizard component has received update to enhance your experience with formulas. This improves security by preventing the creation of malicious formulas. It also improves quality by avoiding the creation of incorrect formulas. Let’s dive into the improvements!
Enhancing macOS Privacy and Security with Application UUID
With the Sequoia update, macOS now relies on the UUID of applications for various privacy and security controls, such as network access. This new feature of macOS could cause issues on the end-user side, such as having to often re-authorize the built 4D applications. To address this, starting from 4D 20 R9, each 4D application built for macOS now has its own application UUID. This change ensures better-tuned access controls. Let’s delve into the details.
Contact us
Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!
* Your privacy is very important to us. Please click here to view our Policy
