Beta testing for 4D 20 R10 starts today, introducing native vector support, real-time ORDA logic, and a wave of enhancements across UI, networking, security, and build automation—all designed to make your workflows faster, smarter, and more secure.
-
4D.Vector – Native Vector Class: Handle high-dimensional data directly in 4D. Perform vector operations like similarity scoring, clustering, and ranking—all natively, with no external tooling.
-
Entity Constructors and onTouch() Event: Add lifecycle logic directly to your data model. Automatically initialize entities and react to attribute changes in memory—with centralized, schema-native business rules.
-
Class-Typed Object Fields + V7 UUIDs: Declare structure as schema. Assign specific classes to object fields for strict validation and autocompletion. And with support for UUIDv7, IDs are now time-ordered and built for distributed scale.
-
Dynamic Formulas for Form Objects: Make your UI adapt in real-time. Bind fields to live formulas and eliminate redundant code with smarter, expression-driven views.
-
UDP & TCP Enhancements: Gain real-time communication capabilities with native UDP support and new timeout control for TCP connections.
- And that’s just the beginning — There’s much more to discover!
Download 4D 20 R10 now (Exclusive to 4D Partners)
AI Integration
NEW 4D.VECTOR native class
Use 4D.Vector to store, compare, and manipulate high-dimensional numeric data directly in your app. Perfect for semantic search, intelligent ranking, or document classification—no external dependencies required.
Vector Generation via OpenAI in AI Kit
The AI Kit now supports OpenAI’s vector API. The OpenAIEmbeddingsAPI.create() method lets you convert text or collections into typed vectors for similarity scoring, search filters, and recommendation engines—natively and securely.
Database
CLASS-TYPED OBJECT FIELDS IN STRUCTURE EDITOR
Assign object fields to specific classes to unlock compile-time autocompletion, runtime validation, and schema-based data integrity. Pair with 4D.Vector to store AI-ready fingerprints on each entity.
SUPPORT FOR V7 UUIDS
Generate v7 UUIDs using UUID.generate()—ideal for distributed systems, time-based indexing, and scalable databases.
ORDA
Entity Constructors and onTouch() Event
Define constructor logic and use the new onTouch() event for dataclass entities to react to attribute changes in memory. Centralize validation, initialize context-aware values, and bring lifecycle awareness directly into your data layer.
User Interface
DYNAMIC FORMULAS FOR FORM OBJECTS
Bind form object values to live formulas using OBJECT SET DATA SOURCE FORMULA. Pair this with listbox constants like lk selected items expression for adaptive UIs that respond in real time—reducing code duplication and boosting clarity.
Network Handling
NEW UDP COMMANDS
Leverage 4D.UDPSocket for low-overhead, event-driven messaging. Listen with onData, track errors, and inspect events with 4D.UDPEvent.
TCP CONNECTION TIMEOUT CONTROL
Use the new .timeout property on TCPConnection to limit wait times and prevent frozen interfaces during slow or failed connections.
Dependency Manager
RECURSIVE DEPENDENCY RESOLUTION & MANAGEMENT
The Component Manager now handles recursive dependency loading, detects cyclic references, and ensures components initialize in the correct order—so your modular architecture stays clean and predictable.
4D NETKIT
Create, update, and delete events in Microsoft 365 and Google Calendars
Use cs.NetKit.Office365.calendar and cs.NetKit.Google.calendar to create, update, and delete events—complete with attendee lists, recurrence rules, meeting links, and notifications—all via secure OAuth2.
Build Application
BuildApp License Automation
BuildApp now detects valid deployment licenses and embeds them automatically. Choose your mode (manual, auto, evaluation), track usage in logs, and get clear post-build reports in the UI.
Security
Secure Paste for Formulas
Formulas pasted from external sources are now sanitized—only evaluated results are retained in multi-style fields and Write Pro areas, reducing the risk of unintentional logic injection.
Removed Library
MECAB REMOVAL
The MeCab library for Japanese segmentation has been removed. If needed, custom tokenization logic can be implemented using ORDA and component-based queries.
Need more technical details? The 4D 20 R10 Beta documentation is available on the 4D Doc Center.
Your feedback is greatly appreciated and will help us improve our product quality and better serve your needs. We’d love to hear your thoughts about any of the features above. Contribute to our beta forum (accessible for all 4D Partners). And don’t hesitate to tell us about your needs; we take votes very seriously!
Not yet a partner? Don’t miss out on the opportunity to become a 4D Partner and engage in meaningful discussions. Join us today and be part of the conversation!
