News Official release announcement for 4D 20 R9 highlighting new features in the latest version of the 4D development platform, set against a colorful gradient background

4D 20 R9 is Here

Introducing 4D 20 R9 – Available Now!

You don’t need more tools. You need sharper ones. The kind that remove friction you’ve quietly accepted. That reduce context switching. That stay out of your way, until the second you need them.

4D 20 R9 does exactly that—cleaner flow, smarter control, faster outcomes. It’s not louder. Just better.

Download 4D 20 R9 (monthly Hot Fixes available)

  • Built-In 4D AI Kit Component: AI where it belongs—inside your 4D application logic. Call third-party AI APIs like OpenAI directly in 4D using the built-in AI Kit component. Generate text, tag content, analyze images, automate tasks. No wrappers. No bridge apps. Native, fast, under your control.
  • AI Writing Assistant in 4D Write Pro: Edits shouldn’t break your flow. Use WP SetAIKey to link OpenAI and unlock the assistant. Summarize, translate, rewrite—all in 4D Write Pro, without switching tools.
  • New TCPListener Class: Your 4D application doesn’t just send—it listens. With TCPListener, accept incoming TCP connections. Integrate with smart devices, hardware, or or local systems—all with real-time control.
  • Edit & Debug Components in Host Project: Fix fast, stay focused. Edit and debug component code directly in the host project—no switching, no reloads. Breakpoints work. Changes apply instantly. You stay in context, reduce friction, and save dev time where it matters most.
  • Follow 4D Version for Dependencies: Upgrades and downgrades, now frictionless. Dependencies stay in sync automatically with the new “Follow 4D version” rule. No manual version tracking.
  • OTP & Session Restore: Secure flows, uninterrupted. Use createOTP() and restore() to build safe, multi-step web interactions. You can hand off one-time passcodes across third-party flows—while keeping session state intact.
  • Label Wizard & Code Editor Enhancements: Catch issues before they cost you. Insert and validate formulas safely in the Label Wizard. Deprecated syntax like C_LONGINT($1) now triggers smart warnings in the code editor.
  • Smarter OAuth & Calendar Integration: OAuth setup, simplified. Use host-based redirects for OAuth 2.0. Access Google and Microsoft 365 calendars with calendar.getCalendars() and calendar.getEvents().
  • Improved Document Imports in 4D View Pro: No more race conditions. VP IMPORT DOCUMENT and VP FLUSH COMMAND now wait for custom functions to complete before callbacks fire.
  • macOS UUID & OEM License Auto-Refresh: Unique builds. Seamless licensing. 4D 20 R9 assigns a UUID to every macOS build. OEM licenses refresh automatically—no manual renewals, no downtime.

This is just a glimpse of what’s available in 4D 20 R9Download 4D 20 R9 and discover how far you can go with this feature release.

Tips blank

SHOWCASE: SMART COMMENT MODERATION WITH AI

Continuing our journey into intelligent features with 4D AIKit, let’s explore a highly relevant use case for any modern application: automated comment moderation. In a world where online conversations can happen in real-time, keeping your platform safe, respectful, and compliant is no longer optional, it’s essential. With AIKit, you can build powerful moderation tools directly into your application logic, without relying on external moderation services or human reviewers.

Product blank

Unlock the Power of AI with 4D AI Kit: Automate, Create, and Innovate

We’re excited to introduce 4D AI Kit, the first in a series of AI-powered features designed to bring intelligent capabilities directly into your 4D projects. As a built-in component, AI Kit enables seamless integration of OpenAI’s state-of-the-art models into your development environment reinforcing our commitment to putting AI at the heart of innovation in 4D.

With just a few lines of code, you can enrich your applications with intelligent features like image generation, content moderation, advanced visual analysis, and conversational chatbots. This is just the beginning! The possibilities are wide open, enabling you to create smarter, more dynamic, and more responsive solutions than ever before.