Release Notes
4D v19 R8
Read What’s new in 4D v19 R8, the blog post that lists all new features and enhancements in 4D v19 R8.
Points forts
- Error management methods can be installed for global and component execution contexts.
- Listboxes with collection or entity selection datasources now support Automatic Row Height column property.
- ORDA: Support of the roles.json file to define privileges assigned to the session with
setPrivileges()
. - Support of SDI mode in test application mode on Windows.
- 4D View Pro :
- support of themes in tables: new VP SET TABLE THEME and VP Get table theme commands, support of theme options in VP CREATE TABLE
- new VP Get table dirty rows command
- 4D Language classic: What's new page on doc.4d.com.
- 4D Write Pro: What's new page on doc.4d.com.
- Fixed bug list: list of all bugs that have been fixed in 4D v19 R8.
Behavior changes
- For HTTP RFC compliance,
HTTPRequestClass.response.headers
property now returns all header names in lowercase. If you want your code to continue working as before, use the newHTTPRequestClass.response.rawHeaders
property. - When a bevel button with linked pop-up menu is assigned a standard action, the standard action is no longer generated if a pop-up menu option is selected.
- In Web areas using blink (CEF), dialogs displayed from external scripts are now blocking if not called from a
setTimeout()
JS function. This is due to the current CEF updates, in which dialogs displayed by functions such asalert()
orprint()
are no longer handled by the OS but by the Web area. SeeWA Evaluate JavaScript
andWA EXECUTE JAVASCRIPT
.
Versions précédentes
Click to see the release notes for previous versions
4D v19 R7
Read What’s new in 4D v19 R7, the blog post that lists all new features and enhancements in 4D v19 R7.
Points forts
- Related data and computed/alias attributes can be displayed in the Data Explorer.
- New FileHandle class and new
.open()
function in theFile
class. - Entity selection Class:
.add()
supports an entitySelection parameter,.minus()
supports a keepOrder parameter. - 4D View Pro: new table commands VP Find table, VP Get table column attributes, VP Get table column index, VP Get tables, VP INSERT TABLE COLUMNS, VP INSERT TABLE ROWS, VP REMOVE TABLE COLUMNS, VP REMOVE TABLE ROWS, VP RESIZE TABLE, VP SET TABLE COLUMN ATTRIBUTES.
- Component namespaces are now displayed in the Explorer.
- Text area and Input form objects now support the corner radius property.
- 4D Language classic: What's new page on doc.4d.com.
- 4D Write Pro: What's new page on doc.4d.com.
- Fixed bug list: list of all bugs that have been fixed in 4D v19 R7.
Behavior changes
- For consistency with standard interfaces (e.g. OS file explorers), list box rules for row selection/drag and drop have been modified. A continuous or discontinuous selection of rows can be dragged by simply clicking on and moving a selected row; the Alt key is not longer necessary (but can still be used like in previous previous). When the Shift or Ctrl/Command key is pressed, a mouse click is taken into account when the click is down. For more information on drag and drop in list boxes, you can refer to this blog post and download this HDI 4D project.
- The 4D internal build numbering has been modified as of 4D v19 R7:
- releases up to 4D v19 R6 (included) are numbered 282xxx,
- releases from 4D v19 R7 will be numbered 100xxx.
Note that a specific 4D version is still uniquely identified by a branch name and a build number. The build number increases chronologically.
- The ability to use Wakanda/4D Mobile REST protocol to call a project method has been removed. You can use ORDA data model class functions or /4DACTION urls instead.
4D v19 R6
- New HTTPRequest class.
- Collection functions that can call code now support function objects as formula parameter:
.every()
,.filter()
,.find()
,.findIndex()
,.map()
,.orderByMethod()
,.reduce()
,.some()
,.sort()
- Listbox cells support horizontal and vertical padding.
- 4D View Pro: new VP CREATE TABLE and VP REMOVE TABLE commands to handle tables in sheets.
- Ability to see related, computed, and alias attributes in the Web Data Explorer.
- New page explaining why and how 4D collects data.
4D v19 R5
- Applications client/serveur générées:
- The project directory.json file can now be embedded in the server at build time, allowing you to deploy a client/server application with a basic security user and group configuration.
- You can now deselect useless modules in your built applications.
- Client/Server optimization: New class functions allow you to handle the ORDA cache and the contents of an optimization context. See Preconfiguring contexts and ORDA Cache for more information. > These functions are intended for developers who need to customize ORDA default features for specific configurations. Dans la plupart des cas, vous n'aurez pas besoin de les utiliser.
- DataClass class: The new .getCount() function returns the number of entities in a dataclass.
- 4D View Pro :
- The new VP SET DATA CONTEXT, VP Get data context, VP SET BINDING PATH, VP Get binding path commands allow you to create data contexts and bind their contents to sheet cells.
- VP EXPORT DOCUMENT and VP Export to object now accept the new
includeBindingSource
option that exports the contents of a data context as cell values.
4D v19 R4
- Alias attributes are available in ORDA classes.
- Support for break and continue statements in loops.
- Support for return statement and return expression to return values.
- Support for compound assignment operators, short-circuit operators, and ternary operator
- The Code Editor now includes an dropdown tool and supports markers for better code navigation.
- New Preferences: Include tokens in project source files and Show clipboards option on the Methods page.
- New REST request to lock/unlock entities.
- 4D View Pro chapter added with new commands: VP Copy to object, VP MOVE CELLS, VP PASTE FROM OBJECT.
- New SystemWorker class.
4D v19 R3
- Computed properties are available in classes.
- Computed attributes are available in ORDA classes. They are similar to computed properties but also support query and orderBy functions.
- New ORDA dataclass attributes:
exposed
andreadOnly
. - ZIP archives now supports LZMA and xz compression algorithms.
- A new build option makes it easier to include Silicon Mac clients in Server applications on Windows.
- Extended support of dark mode on macOS.
- Support of OAuth2 token object in
IMAP New transporter
,POP3 New transporter
, andSMTP New transporter
. - Users can now load a log configuration file using a button in the server administration window.
- Handling optional parameters is more flexible in the 4D language.
- Debugging web server sessions is easier on 4D Server.
- The new 4D NetKit component allows you to connect to third-party APIs such as Microsoft Graph.
4D v19 R2
- A default .gitignore file can be created with new projects
- New Blob class API to handle new
4D.Blob
objects no-bom
support and new default end-of-line characters in.setText()
4D v19
IMAPTransporter Class: new
.createBox()
,.deleteBox()
,.renameBox()
,.subscribe()
, and.unsubscribe()
functions.File Class: new
setAppInfo()
andgetAppInfo()
functions.New 4DEACH transformation tag.
Web Server: new SameSite session cookie setting.
Dark and light color scheme support for forms and style sheets
New default dark and light themes in Code Editor preferences.
Native compilation for Silicon processors.
Variable calculation property is now supported by entity selection list box columns.
New, comprehensive CLI page.
4D v18 R6
- Entity Selection Class:
.average()
,.max()
and.min()
functions now return undefined if the entity selection is empty. - IMAP Mail, POP3 Mail and SMTP Mail:
authenticationMode
property enables OAuth 2.0 - IMAP Mail: new
.expunge()
and.append()
functions - New WebAdmin web server component
- New DataExplorer interface
- New web user sessions and their API.
Tableau des bibliothèques
Click to see the table of libraries used in 4D
Bibliothèque | Version courante | Mise à jour dans 4D | Commentaire |
---|---|---|---|
SpreadJS | 15.2.5 | 19 R8 | Moteur 4D View Pro |
CEF | 106.0.27 | 19 R8 | Chromium 106.0.5249.103 |
OpenSSL | 1.1.1s | 19 R7 | |
libzip | 1.7.3 | 19 R2 | Used by zip class, 4D Write Pro, svg and serverNet components |
webKit | WKWebView | 19 | |
ICU | 68.1 | 18 R6 | Cette mise à jour majeure entraîne une reconstruction automatique des index alphanumériques, texte et objets. |
PHP | 7.3.27 | 18 R6 | |
libldap | 2.4.48 | 18 R2 |