Mention the new AJAX API in the migration docs
authorAlexander Ebert <ebert@woltlab.com>
Tue, 16 Nov 2021 16:23:46 +0000 (17:23 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 16 Nov 2021 16:23:46 +0000 (17:23 +0100)
docs/migration/wsc54/javascript.md

index d4cb8cf982db92ffa215ccf2101835da7e8c3980..4a2eec896c9b2379b9c0226941be97ae18dbc5a1 100644 (file)
@@ -1,5 +1,12 @@
 # Migrating from WSC 5.4 - TypeScript and JavaScript
 
+## `Ajax.dboAction()`
+
+We have introduced a new `Promise` based API for the interaction with `wcf\\data\\DatabaseObjectAction`.
+It provides full IDE autocompletion support and transparent error handling, but is designed to be used with `DatabaseObjectAction` only.
+
+See [the documentation for the new API](../../javascript/new-api_ajax.md) and [WoltLab/WCF#4585](https://github.com/WoltLab/WCF/pull/4585) for details.
+
 ## `WCF.ColorPicker`
 
 We have replaced the old jQuery-based color picker `WCF.ColorPicker` with a more lightweight replacement `WoltLabSuite/Core/Ui/Color/Picker`, which uses the build-in `input[type=color]` field.