@@ -37,17 +37,17 @@ Included but not yet enabled by default:
3737Deprecated features to be removed in the next releases <span id =" deprecation " ></span >
3838----------------------------------------------------------------------------------------
3939
40- ### ** iText** lib usage has been deprecated, no default components relies on it any longer, it will be removed in Simplicité 7.0.
40+ - ** iText** lib usage has been deprecated, no default components relies on it any longer, it will be removed in Simplicité 7.0.
4141 - `PDFTool` methods have been deprecated, we recommend migrating to PDF generation through [HTMLToPDFTool](https://platform.simplicite.io/6.2/javadoc/com/simplicite/util/tools/HTMLToPDFTool.html) or [PDFBox](https://pdfbox.apache.org/).
4242 - In case you need to continue the use of iText, you will as always be able to integrate it as an additional third-party library, but we recommend buying a licence and using an up-to-date version due to [the licensing and security matters associated with iText 2.1.7](https://kb.itextpdf.com/it5kb/can-itext-2-1-7-itextsharp-4-1-6-or-earlier-be-use).
4343 - The native PDF exports (lists and module documentation) have been migrated to PDFBox.
4444
4545Core changes <span id =" changes " ></span >
4646---------------------------------------
4747
48- ### New action to anonymize a user
49- - with options to sanitize the user (infos, rights, preferences and social interactions)
50- - extendable with a new PlatformHooks ` anonymizeUser `
48+ - New action to anonymize a user
49+ - with options to sanitize the user (infos, rights, preferences and social interactions)
50+ - extendable with a new PlatformHooks `anonymizeUser`
5151
5252![ ] ( img/v6-2/anon.png )
5353
@@ -74,12 +74,11 @@ public Message anonymizeUser(String login, boolean rights, boolean prefs, boolea
7474}
7575```
7676
77- ### JSON Backend messages
78- > no more formatted messages with hashtags "#"
79- - APIs ` Message.formatXXX ` will now return JSON messages
80- - JSONs are serialized to String to be compatible with returns of java hook (pre/postValidate, pre/postSave...)
81- - Legacy format with "#" is still supported but deprecated (i.e. ` code:text#level#field ` ).
82- - It is strongly recommended to change/use one of the ` Message.formatXXX ` to format a message (on validate, save...)
77+ - Backend message always in a JSON format, no more formatted message with hashtags "#"
78+ - APIs `Message.formatXXX` will now return JSON messages
79+ - JSONs are serialized to String to be compatible with returns of java hook (pre/postValidate, pre/postSave...)
80+ - Legacy format with "#" is still supported but deprecated (i.e. `code:text#level#field`).
81+ - It is strongly recommended to change/use one of the `Message.formatXXX` to format a message (on validate, save...)
8382
8483``` json
8584{
@@ -92,16 +91,18 @@ public Message anonymizeUser(String login, boolean rights, boolean prefs, boolea
9291}
9392```
9493
95- ### New action to generate object
96- - a referenced object (0,1) or an aggregated object (0,n) from existing object fields
97- - designer selects some fields from the object-fields panel
98- - and sets the linked object name, prefix and table
99- - then choose the user-key for the new object
100- - the action generates 2 shared scripts: a patch XML and SQL to migrate the business model and the data
101- - when XML is applied, the designer must complete the generated object (user-key, rights, user menu...)
102- - the SQL script can be applied in several instances (dev, test, prod...)
103- - populate the new table with distinct values from existing records
104- - update the new foreign keys to/from the new table
94+ - New shared script type to apply ` XML patches `
95+
96+ - New action to ** generate object** :
97+ - a referenced object (0,1) or an aggregated object (0,n) from existing object fields
98+ - designer selects some fields from the object-fields panel
99+ - and sets the linked object name, prefix and table
100+ - then choose the user-key for the new object
101+ - the action generates 2 shared scripts: a patch XML and SQL to migrate the business model and the data
102+ - when XML is applied, the designer must complete the generated object (user-key, rights, user menu...)
103+ - the SQL script can be applied in several instances (dev, test, prod...)
104+ - populate the new table with distinct values from existing records
105+ - update the new foreign keys to/from the new table
105106
1061071 ) Select fields and click on "Generate object"
107108
@@ -127,7 +128,12 @@ Designer must finalize the configuration of the generated object.
127128
128129![ ] ( img/v6-2/genobjm.png )
129130
130- ### ` customPingResponse ` Platform hook
131+ - Cascade deletions will always call ` pre/postDelete ` hooks (no more parameter ` DELETE_CHILD_HOOK=no ` )
132+
133+ - Added automatic conversion to PDF for a text publication template file (e.g. HTML, plain text, ...) with forced MIME type set to PDF
134+
135+ - Added ` minimal ` value for ` USE_HEALTH ` system parameter to restrict healthcheck to monitoring-only data (no information on JVM, server, OS, ...)
136+ - Changed ping and healthcheck to return a ` 503 ` instead of a ` 500 ` in case of database unavailability
131137- Added a new ` customPingResponse ` platform hook to customize the ` /ping ` JSON response, e.g.:
132138
133139``` java
@@ -139,18 +145,6 @@ public JSONObject customPingResponse(String status, String error) {
139145}
140146```
141147
142- ### Other changes
143-
144- - New shared script type to apply ` XML patches `
145-
146- - Cascade deletions will always call ` pre/postDelete ` hooks (no more parameter ` DELETE_CHILD_HOOK=no ` )
147-
148- - Added automatic conversion to PDF for a text publication template file (e.g. HTML, plain text, ...) with forced MIME type set to PDF
149-
150- - Added ` minimal ` value for ` USE_HEALTH ` system parameter to restrict healthcheck to monitoring-only data (no information on JVM, server, OS, ...)
151-
152- - Changed ping and healthcheck to return a ` 503 ` instead of a ` 500 ` in case of database unavailability
153-
154148- Added new tags for publication templates:
155149 - `[SYSPARAM:<parameter name>]` for substituting a system parameter
156150 - `[LABEL:<object name>:<-|+>]` for substituting singular (`-`) or plural (`+`) object label
@@ -218,12 +212,12 @@ public String[] getRefFieldTargetObject(String rowId, ObjectField field, String[
218212UI changes
219213---------------------------------------
220214
221- ### The ` Call to action ` of backend message is now implemented in the alert dialog
215+ - The ` Call to action ` of backend message is now implemented in the alert dialog
222216 - a backend action can now return other call-to-actions
223217 - actions to call must be granted to user
224218 - with the type hidden to avoid direct access thru list or form
225219
226- ### New ` hasChangedFields ` to determine the global ` hasChanged ` flag on form:
220+ - New ` hasChangedFields ` to determine the global ` hasChanged ` flag on form:
227221 - the property `hasChanged` has been improved so that it only triggers if a field has actually been modified (different from the base value)
228222 - for example, if the user changes a field twice and returns to its original value, the dialog "quit without saving" will no longer appear.
229223
@@ -239,14 +233,14 @@ Simplicite.UI.ExternalObjects.MyExtObj = class extends Simplicite.UI.ExternalObj
239233}
240234```
241235
242- ### New UI tabs options for tabbed areas:
236+ - New UI tabs options for tabbed areas:
243237 - tabs positioning on top/left/right/bottom
244238 - allows to hide all tab labels (to display only icons)
245239 - configurable on template editor
246240
247241![ ] ( img/v6-2/tabpos.png )
248242
249- ### New UX in object multi-selection (eg used by the associate/pillbox dialog):
243+ - New UX in object multi-selection (eg used by the associate/pillbox dialog):
250244 - Added a preview of selected items on the right side of dialog
251245 - Allows to do several searches without losing previous selections
252246 - Allows to easily remove all or each item
@@ -259,8 +253,7 @@ Simplicite.UI.ExternalObjects.MyExtObj = class extends Simplicite.UI.ExternalObj
259253obj .search ({}, { groupby: true , groupbyfields: [" myEnumField" ] })
260254.then (list => ... }
261255` ` `
262-
263- ### New **end-user's dashboards**
256+ - New **end-user's dashboards**
264257 - New group ` DASHBOARD_MAKER ` to build business dashboards
265258 - New shortcut granted to group ` DASHBOARD ` to access the dashboards overview
266259 - ` DASHBOARD_MAKER ` can edit its own dashboards, rename and delete
@@ -270,7 +263,7 @@ obj.search({}, { groupby: true, groupbyfields: ["myEnumField"] })
270263
271264
272265
273- ### New user's filters on View
266+ - New user's filters on View
274267 - allows to add a search bar (new view item) with optional time period and fields
275268 - the item triggers a new event with users's filters ` { fromDate, toDate, fields... }`
276269 - the filters are applied to lists, charts and pivot tables (having a date/period or matching filtered fields)
@@ -292,7 +285,7 @@ $("#myWidget").addClass("js-view-filters").on("ui.view.filters", (e,filters) =>
292285
293286- Improved UX for editing resources and print templates (and deprecated print templates using UI templates)
294287
295- ### Added ` SAVE_BEFORE_QUIT_PROCESS ` dialog on process activity with several choices:
288+ - Added ` SAVE_BEFORE_QUIT_PROCESS ` dialog on process activity with several choices:
296289 - ` Save` the current form/activity
297290 - ` Quit` the activity but keep the process in memory
298291 - ` Abandon` the process
@@ -313,11 +306,11 @@ $("#myWidget").addClass("js-view-filters").on("ui.view.filters", (e,filters) =>
313306
314307
315308
316- ### Removed ajax call within constraints on UI:
309+ - Removed ajax call within constraints on UI:
317310 - ` [SYSPARAM : name]` is now replaced with session parameter ` app .sysparams [' name' ]`
318311 - ` [PARAM : name]` is replaced with the instance local parameter ` obj .locals [' name' ]`
319312
320- ### ` Bookmarks` on list
313+ - ` Bookmarks` on list
321314 - the record bookmark can be displayed on list item in button options
322315 - the list can be filtered on "my bookmarks" only
323316
0 commit comments