From 7aaddde2483db54b7c6a480a41bf15ef38c6f020 Mon Sep 17 00:00:00 2001 From: Zerlord Santiago Date: Tue, 30 Apr 2024 21:46:39 +0800 Subject: [PATCH 1/2] updated rel date in whats new --- docs/references/whatsnew/v203.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/references/whatsnew/v203.md b/docs/references/whatsnew/v203.md index 388f574..0d32bdc 100644 --- a/docs/references/whatsnew/v203.md +++ b/docs/references/whatsnew/v203.md @@ -1,5 +1,5 @@ # What's new in Volt MX Go v2.0.3 -*Release date: May 1, 2024* +*Release date: May 2, 2024* ## New Features From 81a97ea8cc18f0eb5d6a7f20beb35f2f75cc8e8f Mon Sep 17 00:00:00 2001 From: Zerlord Santiago Date: Wed, 1 May 2024 02:16:14 +0800 Subject: [PATCH 2/2] Volt MX Go 203 updates --- docs/references/whatsnew/v203.md | 61 +++++++++++++++++++++++++++----- 1 file changed, 52 insertions(+), 9 deletions(-) diff --git a/docs/references/whatsnew/v203.md b/docs/references/whatsnew/v203.md index 0d32bdc..4f6140c 100644 --- a/docs/references/whatsnew/v203.md +++ b/docs/references/whatsnew/v203.md @@ -17,14 +17,14 @@ ### VoltFormula -- Implemented new APIs for the *text*, *date-time*, *formula*, *document*, *user-environment*, and *information* categories. For more details, see the [Rosetta API reference documentation](../../javadoc/index.html). -- Implemented more APIs for functions in JavaScript so they can be called from the JavaScript side in Volt MX Go Iris. -- Supports conversion of formulas into JavaScript. +- Implemented new APIs for the *text*, *date-time*, *formula*, *document*, *user-environment*, *logical*, and *information* categories. For more details, see the [Rosetta API reference documentation](../../javadoc/index.html). +- Implemented Notes math operators as callable APIs. +- Added a new formula evaluation results tab panel that displays formula outputs. #### Volt MX Go Iris - Supports integration of VoltFormula in imported Domino application views. -- Disabled VoltFormula and VoltLotusScript for non-JavaScript code. +- Disabled VoltFormula for non-JavaScript code. ## Improvements @@ -58,21 +58,41 @@ |document|- Supported NOSORT option for `prompt()`.
- Added `excludeMIMEBody` parameter for `attachments()` and `attachmentNames()`.| |formula|- Updated `eval()` to detect valid return position both for async function.| +- Implemented improvements in error handling and fixes in the formula API implementations. #### Rosetta Converters +- Implemented Formula to JavaScript conversion improvements in the areas of async usage, anonymous functions, parameter groupings, and variable definitions. +- Implemented improvements in the conversion handling definition rules for converting formula functions into native JavaScript versus API calls. For more information, see [VoltFormula options in the Volt MX Go Iris Project Settings](../../howto/configrosetta.md) dialog. - Rosetta sample formulas are now part of the converters. -- Supports passthrough setting in Open Formula, Open Formula parameter separator semicolon, Notes Formula date format having colon or dash, Notes Formula time format having milliseconds, and chained assignments. +- Supports passthrough setting in Open Formula. +- Supports Open Formula parameter separator semicolon. +- Supports Notes Formula date format having colon or dash. +- Supports Notes Formula time format having milliseconds. +- Supports chained assignments. - Validates formula name existence. - Converts Notes formula `@Set` and `@Length`, and Open formula `=LET` to JavaScript statement. +- Passed param for `@IsAvailable` and `@IsUnavailable` as string. +- Converts Notes operators to Rosetta APIs. +- Moved variable definition inside Notes formula to function scope. +- Made native js to anonymous function by condition and removed nativeness check for `do`, `while`, `doWhile`, and `for`. +- Cleanup variable definition conversion mixed with var and let to var. +- Converts openformula specific operators such as `&`,`^`,`<>`. +- Converts the same operations to one api call with multiple parameters +- `@DocChildren`, `@DocDescendants`, `@Eval`, `@Name`, `@Responses` to async list. + #### Plugin - Provides sample formulas for Volt MX Go Iris using formulas from the converters. +- Improved Iris VoltFormula plugin (mbaas_sdk_rosetta) loading and logging process. #### Volt MX Go Iris -- Logs more details using Debug and Info log channels that focus on plugin inspection and download processes, resulting in improved plugin download logging and recovery. +- Logs more details using Debug and Info log channels that focus on plugin inspection and download processes, resulting in improved plugin download logging and recovery. +- Enhanced the formula and JavaScript type-ahead (IntelliSense) capabilities within Volt MX Go Iris IDE. +- Updated VoltPrompt components with ability to bypass user interaction notification dialogs. + ## Resolved issues @@ -84,7 +104,30 @@ ### VoltFormula -- On the **Action Editor** in Volt MX Go Iris, the **Add Formula** action was shown for the *Apple Watch* channel even though JavaScript wasn't supported. +- On the **Action Editor** in Volt MX Go Iris, the **Add Formula** action was shown for the *Apple Watch* channel even though JavaScript wasn't supported. + +#### API + +- Fixed examples in Notes formula documentation. +- Fixed Tern definition for Notes Date function. +- Fixed `Adjust()` to calculate date adjustments the way Notes does adjustments, that is right to left adjustments. +- Fixed TimeMerge API time portion parsing. +- For *date-time* category, fixed how `Adjust` was handling leap years +- For *text* category, fixed `AbstractSimple` support for RichText fields. +- For *text* category, fixed how `TimeToTextInZone` determines yesterday. +- For *date-time* category, fixed how `Zone` handles no arguments. +- For *miscellaneous* category, fixed `SetEnvironment` to return void. +- For *database utilities* category, implemented fix to fetch the view documents when `setCurrentDocument` is called. + +#### Converter + +- Fixed `@Environment` bug for having one parameter. +- Fixed curly bracket comment and return statement. +- Fixed Notes formula token rule for square bracket. +- Fixed `OpenInNewWindow` Command category. +- Fixed `@Eval` conversion having space in parenthesis. + + ## Others @@ -103,8 +146,8 @@ ### VoltFormula -- Updated the [Rosetta API reference documentation](../../javadoc/index.html). -- Added an **API Implementation Status Table** button on RosettaJS API Reference 2.0.3 documentation for tracking the implementation status of Notes and OpenFormula. +- Updated the [Rosetta API reference documentation](../../javadoc/index.html). Documentation links use the latest Domino Design docs. +- Added an **API Implementation Status Table** button on [Rosetta API reference documentation](../../javadoc/index.html) for tracking the implementation status of Notes and OpenFormula. ## VoltScript Early Access