@unitybase/adminui-vue #

Added #

5.24.29 2024-11-20 #
  • UPdfViewerExt: added ability to show document summary (overlapping window inside iframe, toolbar buttons etc.)

Changed #

5.24.29 2024-11-20 #
  • UTableEntity: One Of filter for attribute of type Many now add condition in instead of = what semantically correct. It seems that = was used in 2021 due to a bug in the SQL builder, which has already been fixed

Fixed #

5.24.28 2024-11-18 #
  • DatePicker: ro locale fixed
5.24.27 2024-11-04 #
  • moment-plugin - load locale instead of lang, to account difference between en-US and en-GB locales
  • UTableEntity: updating data on local changes:
    • load all needed fields before estimating is record matches where list;
    • early return for updated record absent in the table;
    • pick all unchanged fields from existing data to try to avoid loading data at all
  • USelectMultiple: improved fetching of displayed values. If value attribute is not ID and entity has safeDelete=true, add descending sorting by mi_deleteDate,ID. In case there are several records with the same value but different delete dates, we should display the non-deleted one or at least the freshest one
  • mountContainer with target as id or element: ensures that the mounted Vue instance is destroyed alongside its parent or whenever a new instance mounts to the same target. This prevents memory leaks by properly releasing data allocated within Vue instances

@unitybase/blob-stores #

Added #

5.24.19 2024-11-04 #
  • App.blobStores.putContent now allows to put existed file into store. Before these changes, to put an existing file into the BLOB store, the developer had to first read the file into memory, which could be problematic for large files
// Before these changes - read file and put it to BLOB store
let content = fs.readFileSync('/tpm/someHugeFile.zip', {encoding: 'bin'})
let blobItem = App.blobStores.putContent(
  {ID: 12312, entity: 'my_entity', attribute: 'blobAttribute'},
  content
// new way - pass a tath to file directly to putContent and specify `contentIsFilePath: true`
let blobItem = App.blobStores.putContent(
  {ID: 12312, entity: 'my_entity', attribute: 'blobAttribute'},
  '/tpm/someHugeFile.zip',
  { contentIsFilePath: true }

Fixed #

5.24.19 2024-11-04 #
  • fix error persistedItem is null while deletion (Clear button on UI) of blob item (introduced in 5.24.18)

@unitybase/cs-shared #

Added #

5.24.7 2024-11-04 #
  • CustomRepository: clearOrderList method to remove all repository sorting

@unitybase/org #

Added #

5.24.30 2024-11-18 #
  • Romanian translations for enums

Chores #

5.24.30 2024-11-18 #
  • Moved enum translations into _data/locale/lang-nn.json files

@unitybase/redis #

Added #

5.23.10 2024-11-18 #
  • added support for redis authentication (in case UB server version <= 5.24.23 username/password are ignored)

@unitybase/ub-pub #

Added #

5.24.17 2024-11-04 #
  • LocalRepository: if data objects do not contain ID attribute, they will be extended with this attribute filled by auto-incremented integer value

Fixed #

5.24.17 2024-11-04 #
  • Prevent the monkeyRequestsDetected error for the same URL with different parameters Allows /setDocument requests with identical data to be made in parallel for different records

@unitybase/ub #

Added #

5.25.41 2024-11-18 #
  • added new configuration properties into application.redis.username and application.redis.password into ubConfig.schema.json

Changed #

5.25.41 2024-11-18 #
  • speed up server startup, especially for domains with many entities by decreasing gc count twice during initialization. In case Something wrong in entity JSON exception occurs after this changes - please, report a developers

Fixed #

5.25.41 2024-11-18 #
  • in case update Document attribute without historyDepth to NULL value the saved file should be deleted from the file-store

@unitybase/ubcli #

Fixed #

5.25.47 2024-11-18 #
  • DDL generator: Fixed the determination of the list of entities when calling the generator with -m parameter. Entities from other models, with names that begin with the names of the entities of the target model now ignored

@unitybase/ubs #

Fixed #

5.24.28 2024-11-18 #
  • fixed "Serer-side cache" navigation shortcut result displaying (show key and value instead of empty strings)