Release 9

Apis Foundation 9.16.3 release notes

Apis Hive NET API

  • Bugfix: Fixed bug causing Flags information on item config callbacks to be missing, causing some GUI applications (like Apis Management Studio) to show some attribute values incorrectly (i.e. showing an item handle instead of an item name).
  • Bugfix: Fixed mismatch of double-quoting string attributes when converting to text and parsing back from text, causing errors/issues for configuration export/import for like Apis Management Studio.

ApisCnxMgrBee

  • Feature: Use polling to get the servicelevel for each OpcUa Connection item instead of subscribing to the servicelevel node. This is a workaround so that non- conformant servers can be part of an OpcUa Cluster.
  • Feature: the OpcUa replication item has a new attribute SyncGlobalAttributes that can be used to enable/disable the synchronization of global attributes.

ApisIEC104Bee

  • Feature: added shared module property Mode that controls the operational mode of the module.
  • Bugfix: fixed issues wrt TLS connection
  • Bugfix: fixed possible deadlock during connection
  • Bugfix: fixed issue where connecting state item could have wrong value after restart
  • Bugfix: fixed issue with watchdog triggering delay

ApisIEC61850Bee

  • Feature: added shared module property Mode that controls the operational mode of the module.
  • Bugfix: fixed issues wrt TLS connection
  • Bugfix: fixed possible deadlock during connection

Apis Management Studio

  • Bugfix: When showing trace logs in AMS, either by using Show Log or File->Import Log Files, every 100th entry in the underlying log file(s) were missing from the Log View.

Apis Backup and Restore

  • Feature: Added new /localOnly restore option to api and cmdline utility for specifying that all external urls, connection strings, hostnames and ip addresses should be replaced by localhost

Apis Semantics

  • Bugfix: When limiting the number of namespace database versions to retain, the result databases may be copied straight into the proxy database folder after a crawl. Thus, when determining the number of files to delete, it must be accounted for that the new database file may already be present in the proxy-database directory.

Apis OPC UA Server Library

  • Bugfix: a potential application crash during subscription teardown has been fixed.
  • Bugfix: a memoryleak could occur when a client is disconnected, this is now fixed.

Apis Foundation 9.16.2 release notes

ApisEventBusBee

  • Bugfix: Fixed a memory leak when processing events.

Apis Management Studio

  • Bugfix: In certain conditions AMS would crash when loading acf-file with History Explorer containing items from disconnected Hive.

Apis Semantics

  • Feature: Added config and support for setting the max number of databases that should be retained after updating the namespace database (nodeset import or crawling).
  • Bugfix: When a namespace is updated from a crawled apis semantics namespace already containing itemnames, only create items for hive's value attributes (not eu, eurange and definition)

Apis Security Server

  • Bugfix: Fixed error saying insufficient parameters supplied to the command, caused by upgrading to System.Data.SQLite.Core version 1.0.118.

Apis Foundation Installer

  • Bugfix: The installer will now remove leftover WAL and SHM files from the previous installation.

Apis Foundation 9.16.1 release notes

Apis Hive

  • Feature: added new Apis attribute "ChronicalParent" used to specify an eventsource parent for any item.
  • Feature: added new eventfields for tracking the external eventid and provider on events received from OPCUA servers, and use the external eventid, if available, as the OPCUA eventid.
  • Feature: the OPCUA source nodeid for events where the chronical eventsource does not have an OPCUA source nodeid specified, will now contain the path to the chronical eventsource.

ApisAlarmAreaBee

  • Feature: use the new attribute ChronicalParent to override the default eventsource parent for an item.

ApisIEC104Bee

  • Feature: Added the 'Any item' watchdog mode that checks for changes in any of the items, and the 'Any data' watchdog mode that checks for any data frames, incl. test frames, received.

ApisOpcUaBee

  • Feature: store external event id and provider on all events received by EventMonitorItems
  • Feature: The eventmonitor item now can identify eventsources when the source nodeid is unknown, but has the new eventsource-nodeid format generated by ApisHive.

Apis Semantics

  • feature: Return "Access denied" when writing attributes that are modifying the address-space and is not passed through from a proxy to its' connected server (ie. only allow datavalue and the semantics-specific itemname attribute for proxy namespaces).

Configuration Repository

  • Bugfix: Fixed logging issue in the configuration repository (Linux version)

Apis Foundation 9.15.15 release notes

Apis Hive NET API

  • Bugfix: Fixed mismatch of double-quoting string attributes when converting to text and parsing back from text, causing errors/issues for configuration export/import for like Apis Management Studio.

Apis Management Studio

  • Bugfix: When showing trace logs in AMS, either by using Show Log or File->Import Log Files, every 100th entry in the underlying log file(s) were missing from the Log View.

Apis Semantics

  • Bugfix: When limiting the number of namespace database versions to retain, the result databases may be copied straight into the proxy database folder after a crawl. Thus, when determining the number of files to delete, it must be accounted for that the new database file may already be present in the proxy-database directory.

Apis Foundation 9.15.14 release notes

Apis Management Studio

  • Bugfix: In certain conditions AMS would crash when loading acf-file with History Explorer containing items from disconnected Hive.

Apis Semantics

  • Feature: Added config and support for setting the max number of databases that should be retained after updating the namespace database (nodeset import or crawling).
  • Bugfix: When a namespace is updated from a crawled apis semantics namespace already containing itemnames, only create items for hive's value attributes (not eu, eurange and definition)

Apis Security Server

  • Bugfix: Fixed error saying insufficient parameters supplied to the command, caused by upgrading to System.Data.SQLite.Core version 1.0.118.

Apis Foundation Installer

  • Bugfix: The installer will now remove leftover WAL and SHM files from the previous installation.

Apis Foundation 9.15.13 release notes

ApisEventBusBee

  • Bugfix: Fixed a memory leak when processing events.

Apis Foundation 9.15.12 release notes

ApisHive Modules

  • Bugfix: Fixed memory leaks when doing arithmetic operations on APIS Variants that cannot be converted to floating point numbers.
  • Bugfix: Fixed memory leaks when parsing Expression attributes containing 'if-elseif-...-else' expressions in Function items. This

Apis Backup and Restore

  • BugFix: Will now backup registry values in the "Modules" subkey within a hive instance.

Apis Foundation Installer

  • List of prerequisites included by the installer:
    • Microsoft .NET Framework 4.8
    • Microsoft .NET Core 6.0.29 Server
    • Microsoft .NET Core 6.0.29 Desktop
    • Microsoft Visual C++ 2015-2022 Redistributable 14.38.33135.0
    • OPC Core Components 3.0.108

Apis Foundation 9.15.11 release notes

Apis HoneyStore

  • Feature: ConfigSinkTimeoutSeconds added to the RuntimeSettings configuration section, to allow for a max timeout period when notifying configuration observers (clients) when shutting down databases/Honeystore service. Default is 300 seconds.
  • Feature: Improved handling of configuration change callbacks: do not call out when in a locked state, and improved trace logging for observer callbacks.
  • Feature: Introduced interface IApisHSConfigRequest2, to let clients identify themselves when requesting configuration changes. This is to allow for better logging and debugging of configuration observers.

Apis Hive

  • Feature: Added [Show running states of instances] option in ApisBuddy file-menu to enable/disable balloon tip notifications for the running state of instances in ApisBuddy. Default state is set to disabled.

ApisCnxMgrBee

  • Bugfix: Avoid possible crash when failing to update a global attribute on one or more items during replication.
  • Feature: a new attribute 'ServiceLevel NodeId' has been added to 'OpcUa Connection' item. This property control/override the default nodeid to read servicelevel from.

ApisEventBusBee

  • Bugfix: the Source.Chronical item now correctly handles nested alarmareas and eventsources with slashes in their names

ApisHSMirrorBee

  • Bugfix: When Honeystore was shutting down, the MirrorBee module was not properly disconnecting from Honeystore, now it does!

ApisLoggerBee

  • Bugfix: Fixed possibility for crash when using a null pointer interface when not connected to HS, and trying looking up HS item from Hive item.

Apis Management Studio

  • Feature : Port for Bare services can now be set in AMS’ ioc.xml file.

Apis OPC UA Server Library

  • Bugfix: avoid a potential deadlock when checking for dead sessions

Apis OPC UA Client Library

  • Bugfix: avoid use-after-free when federating an event historyread request with continuationpoints

CsScript

  • Feature: AllGood* methods now treat NaN values as Bad quality.

Apis Foundation Installer

  • List of prerequisites included by the installer:
    • Microsoft .NET Framework 4.8
    • Microsoft .NET Core 6.0.28 Server
    • Microsoft .NET Core 6.0.28 Desktop
    • Microsoft Visual C++ 2015-2022 Redistributable 14.38.33135.0
    • OPC Core Components 3.0.108

Apis Foundation 9.15.10 release notes

ApisCnxMgrBee

  • Bufix: A bug was introduced in 9.15.9 that caused every other newly created item during replication to get wrong values on the SrcUaNodeId and SamplingInterval attributes.

ApisOpcUaBee

  • Bugfix: changes re. batchsize in 9.15.9 introduced a bug where items in the OpcUaBee might get assigned invalid datatype/accessrights when connecting to the OpcUa Server.

Apis Foundation 9.15.9 release notes

Apis Hive

  • Bugfix: Fixed bug causing annoying errors messages saying "Unexpected error when validating properties", when adding an attribute to an item in Apis Management Studio.
  • Bugfix: If an eventsource already existed for a semantics-item, regenerating items for the semantics namespace would fail to update the required flags on the eventsource due to a bug in the eventserver. For OPCUA clients subscribing on events from such eventsources, the consequence would be that the events would contain an invalid SourceNode ID. This has now been fixed.

Apis Hive NET API

  • Bugfix: Fixed bug causing an exception when importing external items on items, where the same external items are used more that once (bug introduced during performance improvements in 9.15.6).

ApisCnxMgrBee

  • Feature: a new attribute 'ReplicationMode' has been added to control how the replication item should behave. The default value is 'Copy' which means that each item found on the server gets a matching OpcItem in the client. If changed to 'Mirror', the replication item will also remove local OpcItems that are not found on the server.
  • Feature: The replication item will now trigger the 'SyncStandardProperties' command on each replicated module after adding and/or removing items on the module.
  • Feature: The replication item now has an attribute 'SamplingInterval' that is used to override the default sampling interval on replicated items.
  • Bugfix: The replication item will no longer touch module properties that already has correct values, to avoid unnecessary reconnecting to the opcua server.

ApisOpcUaBee

  • Feature: StandardPropSync can now be triggered from the EventBroker, and will always run asynchronously, i.e. not block the OpcUaBee from getting new data from the server. There is also a new CommandItem that can be used to trigger a full sync of all items in the OpcUaBee. To complement this new feature, StandardPropSync is now a multi-select property with the options "First time adding item", "Each session" and "After replication", where the latter option will trigger a full sync of all items in the OpcUaBee when the module is updated from a Replication item on the CnxMgrBee.

Apis OPC UA Server Library

  • Bugfix: sending an empty nodeid when creating monitored items could cause the server to crash, this is now fixed.
  • Bugfix: when receiving publish-requests with an invalid session authentication token, the server would never send a response. Now, the server will send a response with serviceresult BadIdentityTokenInvalid.
  • Bugfix: when receiving too many publish-requests for a session, the server would never send a proper publish-response. Now, the server will send a response with serviceresult BadTooManyPublishRequests.

Apis OPC UA Client Library

  • Bufix: when requesting blocking RPC messages, the library user could get a bogus errorcode if the server did not respond in time. There could also be logged a bogus error message (Invalid RPC object, response missing), these issues are now fixed.
  • Bugfix: honor batchsize when encoding Modify/DeleteMonitoredItems requests

APIS HoneyStore Replication

  • Feature: Improved error-logging on missing, required configuration parameters.
  • Prerequisite: This release installs .NET Framework 4.8 on the target machine, if not already installed.

Apis Foundation 9.15.8 release notes

Apis HoneyStore

  • Bugfix: fixed a bug causing checksum calculations to hit a buffer overrun bug, when working on corrupt data, that also crashed the ApisHoneyStore service.

ApisChronical

  • Bugfix: when searching for eventsources, the search could fail when using the "Contains" mode combined with the "Case insensitive" option, this is now fixed.

ApisEventBusBee

  • Bugfix: If the Sink.Db-item looses its connection to the database, it will now try to reconnect every time a new event is processed.
  • Bugfix: improve performance when locating the alarmareas for an eventsource

Apis OPC UA Server Library

  • Bugfix: in certain cases, the OPC UA server would fail to release a session and its subscriptions, this is now fixed.

Apis Foundation Installer

  • Bugifx: Install .NET core 6.0.26 even if .NET core 7 or newer is installed
  • List of prerequisites included by the installer:
    • Microsoft .NET Framework 4.8
    • Microsoft .NET Core 6.0.26 Server
    • Microsoft .NET Core 6.0.26 Desktop
    • Microsoft Visual C++ 2015-2022 Redistributable 14.38.33130
    • OPC Core Components 3.0.108

Apis Foundation 9.15.7 release notes

Apis HoneyStore

  • Bugfix: Fixed bug causing the metered licensed items count of Honeystore to leak licensed items.
    When attempting to add more items to a full database (ie. Used items == Max items) or more items than free items,
    the count of items attempted being added would erroneously be added as metered licensed items, and hence eventually lead to all licensed items being consumed.

Apis Hive

  • Bugfix: A refcount error could occur if an OpcUa client tried to create an invalid event subscription, leading to a memory leak of session objects in the OpcUa server.
  • Bugfix: In certain cases, when running as a service, Hive would report its ServiceStatus as stopped during startup, causing the ServiceMain function to exit normally. Hive would then also exit normally even though it had not yet finished starting.
  • Feature: Added support for new engineering units: VAr/min, kVAr/min
  • Feature: default value for the registry setting UAServer/Limits_MaxSubscriptionsPerSession has been changed from 16 to 0, effectively using the default limit defined by the OPCUA server library in new installations. Note: existing hive instances will not be affected by this changes, since the existing registry value will override the new default behavior.

Apis Hive NET API

  • Bugfix: Fixed bug in ImportAndCheckNamespace for nodesets containing errors

ApisChronical

  • Feature: improved performance when registering/looking up eventsources
  • Bugfix: eventfields declared with datatype "Variant" containing a vector was not serialized to the database correctly, this is now fixed.

ApisCnxMgrBee

  • Bugfix: when connection to an opcua server is lost, the servicelevel for that server is now set to 0 so that a cluster failover can occur.

ApisIEC104Bee

  • Bugfix: Fixed a bug related to the Enabled property and the watchdog functionality. After a module restart, an internally cached enabled flag was set to false, and thereby prevented the watchdog functionality from detecting whether the module was in a disconnected state. Also, watchdog evaluation did not kick in if connection state was good, despite not receiving data from equipment.

ApisOpcUaProxyBee

  • Bugfix: when multiple namespaces were federated, a bug in the handling of namespace mappings could cause history-reads to fail with a BadInternalError statuscode.
  • Bugfix: a deadlock could occur if an OpcUa client issued RPC messages that should be federated before the mapping between local and remote namespace tables had been created.

Apis Management Studio

  • Bugfix: Import mappings via 'Transformation Expressions' sometimes failed with 'Unable to access temporary directory' error. Fixed.

Apis Semantics

  • Bugfix: When recreating item names for a namespace, items could be created and/or renamed while the namespace database was left unchanged. The root of the problem was caused by having variables in the namespace that lack a hierarchical path to the root node (objects folder). This would lead to missing subscriptions and possibly duplicate items if attempting to recreate item names yet again with a different naming configuration.
  • Bugfix: When importing XML-nodeset files sometimes the LocalizedText have not been imported correctly. This is now more robust.
  • Bugfix: When importing XML-nodeset files for an existing namespace where names were changed on nodes leading up to a data variable, the importer was unable to detect that the connected data source (hive item) should be renamed. Leading to an orphaned hive item for the old name.

Apis OPC UA Server Library

  • Bugfix: improve performance when one session has many subscriptions. Also, set default limit for number of subscriptions per session to 1024.

Apis OPC UA Client Library

  • Bufix: in certain cases, rpc response handling could hide a missing response object.

CsScript

  • Bugfix: Changed the '==' and '!=' operators for VQTs for Double and Float from '==' to Equals to handle NaN values, which fixes never ending loops in some cases when using the State cache.

Apis Foundation 9.15.6 release notes

Apis HoneyStore

  • Bugfix: Some robustifications related to configuration observers locking, to prevent "deadlock" similar situation in case an ill-behaving observer threw an exception.
  • Performance: Some improvements on starting Honeystore from a "dirty" shutdown, e.g. when the Honeystore service is terminated prematurely when computer is rebooted.

Apis Hive

  • Performance: Reducing memory usage and improving speed for inter module communication during startup, shutdown and when changing the configuration at runtime.
  • Feature: The default RunStateChangeTimeout for loading and starting modules, has been increased from 120 seconds to 300 seconds per module.

ApisHive Modules

  • Performance: Added a feature/tweak for boosting performance, when importing (huge) configuration files containing external items. Enable it by adding a DWORD value in registry, named PreventExternalItemsReconnectWhenStarted, under key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Prediktor\Apis\<InstanceName>\Modules
    Value > 0 turns tweak On, = 0 turns tweak off.
    Note! When using this feature, you must restart the Hive instance after importing the configuration file, to make the external items reconnect to their source items.
    Note2! Enabling this tweak will also inhibit ExtItemMetaTransfer from detecting and transferring meta data at runtime (will work after a restart though).

ApisAlarmAreaBee

  • Feature: support generating eventtypes that does not inherit from ConditionType, e.g. SystemEventType.

ApisCnxMgrBee

  • Feature: support the 'Logger_Expr' global attribute during replication
  • Bugfix: Make OpcUaItem.ServiceLevel work correctly with ItemAttributeItems
  • Bugfix: when an OpcUa Connection item is modified, the changes are now propagated to connection users (such as ApisOpcUaBee) even if the user got the connection info through an OpcUa Cluster item.

ApisLoggerBee

  • Bugfix: Fixed bug causing ambiguous deprecation state of the global attributes of the Logger module, when module is deleted (or aborted during adding), often seen as having attribute description equal dummy.

ApisModbusBee

  • Bugfix: #Connect# control item now obeys any initial value configured on it.
  • Performance: Improved performance when building internal register tables, noticeable for large configurations.

ApisOpcUaPublisherBee

  • Bugfix: Fixed timeformat in common timestamp inOPCUA JSON format.

Apis Management Studio

  • Bugfix: Import mappings via 'Transformation Expressions' sometimes failed with 'Index out of bounds' error. Fixed.
  • Feature: Default FilterType changed from 'Contains' to 'Like'
  • Performance: Lots of performance improvements when importing configuration files.

Apis Semantics

  • Feature: Support importing nodeset2.xml files for a namespace that have been deleted without requiring a restart of the opc ua server (ie. the hive instance)
  • Feature: Added opc ua method in namespace 1 (Hive) for listing semantics namespace configurations.
  • Bugfix: Fixed a bug in nodeset export introduced in version 9.14 that caused certain variables not to be exported.

Apis OPC UA Server Library

  • Bugfix: make sure that all monitored items respect changes to MonitoringMode.

Apis UANSService

  • Feature: Use custom opc ua method for copying namespace databases from the server if the opc ua server is hive >= 9.15.6
  • Feature: Read namespace configuration (naming rules etc.) from the server if the opc ua server is hive >= 9.15.6
  • Feature: Add namespace config property for specifying that (item) names should be taken from a copied database rather than regenerated.

Configuration Repository

  • Bugfix: Fixed upload/download of large textfiles

Apis Foundation 9.15.5 release notes

Apis Hive

  • Bugfix: wait until all hive modules have been configured before opening opcua endpoints

ApisAlarmAreaBee

  • Feature: add property EnableAlarmEvaluationDelayPeriods
  • Bugfix: Improve errormessage when failing to save an event

ApisOpcUaBee

  • Bugfix: do not try to save ConditionRefreshStart and ConditionRefreshEnd events

Apis Foundation 9.15.4 release notes

Apis Hive

  • Bugfix: Conversions from OPCUA ContentFilter to chronical filter expressions now maps OPCUA namespace indexes to the chronical namespace table, enabling e.g. filtering on custom eventtypes.

ApisChronical

  • Bugfix: The option "Persist state" was wrongfully set to "Enabled", and could not be changed. This is now fixed, meaning that the default value now is "Disabled".

Apis Management Studio

  • Bugfix: improve performance when working with Hive modules containing lots of items

Apis Foundation 9.15.3 release notes

Apis Hive

  • Bugfix: Certain chronical eventfields containing datetime values would be mapped to OpcUa UInt64 values, now all such fields are mapped to OpcUa DateTime values.

Apis Foundation 9.15.2 release notes

Apis Hive

  • Bugfix: do not allow clients to change the Runmode property of Apis Event Server
  • Bugfix: do not spam the logfiles with warning-messages about unsupported event fields for each event returned in OpcUa subscriptions and historyread requests.
  • Bugfix: fixed a bug in ApisNativeStorage crashing ApisHive when the storage file is corrupt.
  • Bugfix: make sure that eventsource links are updated when registering an existing eventsource
  • Bugfix: translate non-error returncodes from Chronical into non-error HRESULTs

ApisChronical

  • Bugfix: honor the deleted-flag on both eventsources and eventsource-links during historyread, subscriptions and eventsource search.

ApisAlarmAreaBee

  • Bugfix: Unlink the alarmarea and the tag eventsources when the EvtCategory of the tag is changed to "Not monitored"
  • Bugfix: Do not generate a "final,disabled" event on the eventsource when a tag is deleted or its evtcategory is set to "Not monitored"

ApisCnxMgrBee

  • Feature: Replication item now supports filtering based on modulename and -type
  • Bugfix: Relication item no longer replaces local state-items when replicating items with identical names as existing state-items on the local OpcUaBee.

ApisOpcUaBee

  • Bugfix: A bug was introduced in 9.14.7 which causes ApisHive to crash when the OpcUaBee reads historical data from an OpcUa server and the data received contains string values.

Apis Management Studio

  • Feature: the "Regenerate items" menuitem (under "Perspectives") now also regenerates missing eventsources

Apis Semantics

  • Feature: Return "Access denied" when trying to delete nodes that are mandatory for its' parent object when the parent is not deleted.

Apis Foundation 9.15.1 release notes

Apis Hive

  • Feature: a new event field, AckTime, is now supported in the EventServer
  • Feature: Hive modules exposed in the OpcUa server now references custom typedefinitions which defines the types of the modules.
  • Bugfix: Fixing the APIS Hive UA Server to obey the ExtendedRights attribute on browse/read/write on item-nodes and their value.

ApisChronical

  • Feature: a new flag "Immutable" can be specified per event type. This flag disables filtering of replaced events on historical reads.

ApisAlarmAreaBee

  • Feature: the new attribute ChronicalEventType can be used to specify a custom EventType for new events
  • Feature: the new attribute ChronicalSourceName can be used to specify a custom SourceName for new events

ApisCnxMgrBee

  • Feature: Replication item now supports setting a non-default publising interval on the replicated modules.

Apis Management Studio

  • Bugfix: Timestamps are sorted as time instead of as string for Event Status View and Event History View.

Apis Semantics

  • Feature: namespaces that defines custom eventtypes can now optionally create matching eventtypes in Apis Chronical. This is controlled by the new property Update Apis Eventtypes on the ApisSemanticsBee and by the new attribute Update Apis Eventtypes on Namespace items on the ApisOpcUaBee.

Apis OPC UA Server Library

  • Feature: browsing of OPCUA namespaces has been optimized for better performance

Apis Foundation 9.14.11 release notes

Apis Hive

  • Bugfix: Certain chronical eventfields containing datetime values would be mapped to OpcUa UInt64 values, now all such fields are mapped to OpcUa DateTime values.

Apis Foundation 9.14.10 release notes

Apis Hive

  • Bugfix: do not allow clients to change the Runmode property of Apis Event Server
  • Bugfix: do not spam the logfiles with warning-messages about unsupported event fields for each event returned in OpcUa subscriptions and historyread requests.

ApisChronical

  • Bugfix: honor the deleted-flag on both eventsources and eventsource-links during historyread, subscriptions and eventsource search.

ApisAlarmAreaBee

  • Bugfix: Unlink the alarmarea and the tag eventsources when the EvtCategory of the tag is changed to "Not monitored"
  • Bugfix: Do not generate a "final,disabled" event on the eventsource when a tag is deleted or its evtcategory is set to "Not monitored"

ApisCnxMgrBee

  • Bugfix: Relication item no longer replaces local state-items when replicating items with identical names as existing state-items on the local OpcUaBee.

ApisOpcUaBee

  • Bugfix: A bug was introduced in 9.14.7 which causes ApisHive to crash when the OpcUaBee reads historical data from an OpcUa server and the data received contains string values.

Apis Foundation 9.14.9 release notes

Apis Hive

  • Feature: Added support for new engineering units; VAh, kVAh, MVAh, GVAh.
    Note only the kVAh has a matching unit in the OPCUA UNECE unit namespace.
  • Bugfix: properly escape eventsource-names containing slashes

ApisChronical

  • Bugfix: a performance improvement added in 9.14.2 could cause duplicate eventsources to be created when an eventsource name contained a forward-slash. This release fixes the bug, and adds a 'rebuild' option to the commandline-tool shac which can be used to repair chronical databases with such duplicates. To rebuild a database, run the following command as administrator after stopping the relevant ApisHive instance:

    shac -ve rebuild "PATH_TO_DATABASE"

  • Bugfix: duplicate eventsources could be created when renaming a tag in ApisHive only to change the case of some characters in the tag-name. This will also be fixed by the 'rebuild' command.

ApisOpcUaMethodBee

  • Bugfix: Fix database connection leak
  • Bugfix: Fetch available stored procedures and parameters by using the information_schema, making it compatible with postgresql, mssql and possibly others.
  • Feature: Will now use functions returning records(et) in postgresql, and stored procedures in mssql
  • Bugfix: Made the component a lot more fault-tolerant, and support a few more primitive datatypes.
  • Feature: Added basic support for schema names for stored procedures

ApisOpcUaPublisherBee

  • Feature: Added the optional value tptxt to Prediktor defined JSON message. This value gives the datatype as text e.g. "Float", "Double", Int32,...

Apis Backup and Restore

  • Feature: When not restoring on the machine that was the original backup source, registry keys or values configured to be restored only when restoring on the same machine as where the backup was taken will no longer be deleted.

Apis OPC UA Server Library

  • Feature: improved throughput when lots of requests are received in parallel
  • Bugfix: closed a memoryleak caused by invalid refcounting of secure channels
  • Bugfix: correctly convert empty/irregular matrices to and from the UaStack

Apis Foundation 9.14.8 release notes

Apis Semantics

  • Feature: Modified item name generation algorithm to try to be more deterministic. When there are multiple parents, prioritize nodes with the same name as any existing itemname. Therafter, prioritize variables over objects. When there are multiple parentvariables or objects and no (matching) existing itemname, sort by name and use the first entry.

APIS HoneyStore Replication

  • Feature: big performance improvement for replications using a large GetDataChunkSize setting.

Apis Foundation 9.14.7 release notes

Apis HoneyStore

  • Bugfix: Fixed bug causing heavy trend file fragmentation, with only a few samples inside each datablock and resulting lots of trend files containing small amounts of data.
    This would happen for any of the sampled Recordtype, when using the MaxCacheDuration attribute.
  • Bugfix: Fixed bug preventing termination and repair of trendfiles having an empty datablock at the end.
  • Bugfix: Robustification and performance tweaks, when running the Honeystore repair tools in parallell and when cancelling tasks.
  • Feature: Added the /numthreads:N command line switch to the Honeystore repair tools. Use this to control/limit the number of threads running in parallell when repairing and the option /serial is not specified.
    N must be in the range [0,256] (0 means same as default => sets N equal to number of logical threads on the given hardware).
  • Feature: Removed the /expert , /expertmode command line switch from the Honeystore repair tools, as it is no longer needed. Expertmode functionality is now the default.

Apis Hive

  • Bugfix: only include interesting (i.e. active or ack-required) alarms when OPCUA clients call ConditionRefresh

ApisIEC104Bee

  • Bugfix: Fixed bug preventing user to actually set the module properties, Watchdog timeout and Auto read period, as values larger than 65535 ms.

ApisLoggerBee

  • Bugfix: When using Resolution equal 0 and none of the eventbroker Log* commands are connected, the Logger did not successfully reconnect to the Apis Honeystore service, if Apis Honeystore was restarted while Apis Hive was running, since the Logger did not reestablish its connection to Honeystore.
    This is now fixed, and the Logger will now successfully reconnect to the Apis Honeystore service, and handle any read/write requests properly after Apis Honeystore is restarted given these condtions.

Apis Backup and Restore

  • Feature: Added support for specifying registry keys or values that should only be restored when restoring on the same machine where a backup was taken.

Apis Semantics

  • Bugfix: Fix database lock issue that could occur when importing a nodeset2.xml namespace where the resulting namespace database had an invalid (or missing) namespace table.

Apis Foundation 9.14.6 release notes

ApisIEC104Bee

  • Bugfix: Fixed a locking issue, calling out to the IEC device when module is in write-locked state, effectively locking down all other threads reading or writing until device has responded.
  • Bugfix: Changed module properties Watchdog timeout and Auto read period from 16 bit to 32 bits unsigned integers,
    allowing for values larger than 65000 ms.
  • Feature: Adding common module properties ExtItem pass-through quality and ExternalItem report.

ApisModbusBee

  • Feature: Added new item type: Variable items, similar to the type in the Worker module.

ApisOpcUaMethodBee

  • Bugfix: fix invalid sql parameter parsing

Apis Management Studio

  • Bugfix: Fixed issue with missing deploy button after security server config change.

Apis Foundation 9.14.5 release notes

Apis Hive

  • Feature: The OpcUa.EventId field generated for ApisChronical events now includes the fields generation and sequence to make sure that the EventId is unique for each event. These fields must now be included when an event is acknowledged. The function IApisEventserver2.Acknowledge is therefore deprecated, and the new function IApisEventserver9.Acknowledge2 must be used instead.
  • Feature: add registry option to disable federated timeseriesaccess

Apis Hive NET API

  • Feature: Expose the IEventServer.Acknowledge2 method which requires the field generation and sequence. If connected to an older version of ApisHive the Acknowledge2 implementation will fall back to the old Acknowledge method.

Apis Management Studio

  • Feature: Use the new IApisEventserver.Acknowledge2 method to acknowledge events.

CsScript

  • Feature: Added built in functions PosFlankDelay and NegFlankDelay

Apis Foundation 9.14.4 release notes

ApisOpcUaPublisherBee

  • Feature: Using Async sending function. Updated Nuget Confluence.Kafka to version 2.1.1.
  • Feature: Added property SslCertificateLocation and SslKeyLocation to configure Kafka module.
  • Feature: Added Apis vqt Version 2.0 message.
  • Updated Nuget Confluence.Kafka to version 2.02.

Apis Management Studio

  • Bugfix: Instance information (run state) for Hive/Honeystore showing also when they are stopped (including start times).
  • Bugfix: Create semantic object will setup EventNotifier = 0. Will also handle EventNotifier = null from server.
  • Bugfix: Property filter on items with "or" operator will now work as intended.

Apis Semantics

  • Feature: HI/LOW EU + HI/LOW Instrument Range opc attributes are now available by default for new function items created by apis semantics bee.

Apis OPC UA Server Library

  • Bugfix: avoid possible crash during shutdown of OPCUA server
  • Bugfix: handle event historyread calls with multiple nodeids
  • Bugfix: avoid deadlock in the UAStacks errorhandling when sending response-messages

Apis Foundation 9.14.3 release notes

Apis HoneyStore

  • Bugfix: Fixed a bug when Inserting overlapping data, that would lead to returning wrong error code(s) for the inserted samples when one or more samples failed to be inserted.

Apis Management Studio

  • Bugfix: "Value cannot be null, parameter: value" issue while connecting to security server from AMS.
  • Bugfix: "Edit Object" caused NullReferenceException due to empty enum sets.
  • Bugfix: "Edit Object", modelling rules for children are now correct.

Apis Foundation 9.14.2 release notes

Apis HoneyStore

  • Feature: From this version, the Demo license never expires. This means that when running without a valid license, all functionality will be intact with no timeout.
    Note that this does not relax the requirement for having a valid license to run the APIS software!
  • Bugfix: Improved robustness when opening corrupt trendfiles, and also possibly rescuing more data from corrupt files when running repair.

Apis Hive

  • Bugfix: Fixed a bug in the OPC UA server regarding reading historical aggregates. The OPCUA HA aggregates PercentGood and PercentBad were returned as fractions (as for classic OPCHDA) and not as percent values (0-100). This has now been fixed.
  • Feature: From this version, the Demo license never expires. This means that when running without a valid license, all functionality will be intact with no timeout.
    Note that this does not relax the requirement for having a valid license to run the APIS software!

ApisChronical

  • Bugfix: some invalid optimalizations on convoluted filtering in the query analyzer has been fixed
  • Bugfix: a new function added in 9.14.1 and used by EventMonitor items with UnmappedEventSourceAction=LookupSourcePath could return an incorrect result when it failed to locate the specified source.
  • Bugfix: improved performance when traversing/verifying eventsource hierarchies
  • Bugfix: removed a possibility for heap corruption with event monitors

ApisHive Modules

  • Bugfix: Optimized usage of internal ItemMetaCache for performance and to avoid rare crashes.
  • Bugfix: Fixed a bug when adding Function items from the Add items dialog in Apis Management Studio, sometimes resulted in leaving the added Function items inactive until restart or changing the attribute(s) of the item(s).
  • Feature: When using Function items with Calculator = C#, you can now specify external item(s) named ##DummyExternalItem to let the calculator know that the external item(s) at give positions are ot be ignored.
    This is useful when you want to use the same expression for multiple items, but some of the items have different number of external items.
    Note that to achieve this, you must apply the configuration by import from a text file. Using the Add items dialog in Apis Management Studio together with File add will also work.

ApisLoggerBee

  • Feature: Reduced number of tracelog error messages when calculations fails, to avoid filling tracelogs with redundant messages.
    To get detailed error(s) for all failed calculations in a single Debug tracelog entry, set LogLevel proprety to Debug.

ApisModbusBee

  • Fixed bug in Performance report function when writing intensively to Holding and Coil registers, causing ApisHive to crash

ApisOPCBee

  • Feature: Deprecated properties SrvUser and SrvPassword, as a consequence of the DCOM hardening process of Microsoft.
    KB5004442 - Manage changes for Windows DCOM Server Security Feature Bypass (CVE-2021-26414)
  • Feature: Limiting TraceToFile functionality to default having a maximum of 10 files with maximum size of 64 MB, other values can be specified in the module specific registry key using DWORD values TraceToFileMaxCount and TraceToFileMaxSize.

ApisOpcUaBee

  • Feature: The SubscriptionActive property is now persisted and hence remembered between APIS Hive runs.

ApisReplayBee

  • Feature: Deprecated properties SrvUser and SrvPassword, as a consequence of the DCOM hardening process of Microsoft.
    KB5004442 - Manage changes for Windows DCOM Server Security Feature Bypass (CVE-2021-26414)

Apis Management Studio

  • Bugfix: Removed negative number block on UnitId for Custom Engineering Units

Apis Semantics

  • Bugfix: re-establish all OpcUa monitored items on properties stored in the semantics database after namespace import.
  • Bugfix: Fix bug introduced in 9.13.3 by ensuring that variables having a defined itemname in the database will read their value from the host, even if the valsrc column is undefined (DBNULL)

OPC HDA

  • Feature: Added support for OPCUA Aggregates PercentGood and PercentBad, as custom OPCHDA aggregates PercentGood (UA) and PercentBad (UA).

Apis OPC UA Server Library

  • Bugfix: use monotonic clock instead of utc clock for time measurements
  • Feature: OPC UA namespace updated to version 1.05.02
  • Feature: Removed annoying tracelog message, filling tracelogs with inane Info message saying "historyread finished".

APIS HoneyStore Replication

  • Bugfix: Setup: Fixed bug in selection of install folder, introduced in release 9.0
  • Feature: Setup; Added command line option to select whether Publisher, Subscriber or both should be installed, usage: REPLICATIONSERVICETYPE=PUBLISHER_AND_SUBSCRIBERIBER or PUBLISHER or SUBSCRIBERIBER

Apis Foundation 9.14.1 release notes

Apis Hive

  • Deprecation: The following legacy APIS Hive modules have now been deprecated: ApisSpektronD20Bee, ApisLVEstimator2Bee, ApisScenarioBee, ApisWITSServerBee

Apis Hive NET API

  • Feature: Ignore External Items on config import if a non empty External Item Filter is present
  • Bugfix: File import of multiple files sometimes ended with an error message about 'itemname' is already present in the dictionary.

ApisChronical

  • Bugfix: do not include old versions of modified events in query results
  • Feature: a new event-field flag, "Sticky", has been implemented. When specified for a field, the content of the field is copied from the current event to the new event if the field is unspecified on the new event.

ApisCnxMgrBee

  • Feature: Replication item now supports toggling from an externalitem connection

ApisIEC104Bee

  • Feature: Adding support for Function items on the ApisIEC104Bee module. (#5726)

ApisInterpreterBee

  • Bugfix: Interpreter module: Fixed bug in send queue.

ApisLoggerBee

  • Feature: Added support for calculations using the ModuleName_Expr attribute, also on Sampled loggers.
  • Feature: Added property TimeseriesAccessOrder, determining the order of this logger module for handling timeseries requests, when an item is logged by more than one logger module.
    Lower order values will be selected before higher values, when determinig which logger module to use.

ApisOpcUaBee

  • Feature: Added support for catchup of events, using Event Monitor items
  • Bugfix: certain cases using non-ascii unicode characters for e.g. OpcUa NodeIds where not handled correctly (#5724)

ApisOpcUaMethodBee

  • Bugfix: certain cases using non-ascii unicode characters where not handled correctly (#5724)

ApisOpcUaProxyBee

  • Feature: The OpcUaProxyBee now supports the property "Optional", which enables Browse-requests received by OpcUa clients not to fail even if the federated OpcUa server is not connected (#5712).
  • Feature: SetPublishingMode RPC is now federated to connected servers (#5704)

Apis Management Studio

  • Feature: Improved trace window outputs with more details and timing info, when importing configuration files.

Apis OPC UA Server Library

  • Bugfix: make sure that the UA_EVENT_MODULE_CREATED event is raised for all registered namespaces, even if the namespace driver fails to initialize the namespace. This fixes a bug where semantics namespaces with a bad initial configuration caused the namespace-mapping in chronical to get out of sync with the namespace-array in the OPC UA server (#5695).
  • Bugfix: a possible memoryleak when a client browse nodes with custom typedefinitions has been closed.

Apis OPC UA Client Library

  • Bugfix: a possible memoryleak when browsing nodes with custom typedefinitions has been closed.

Apis Foundation 9.13.4 release notes

ApisChronical

  • Bugfix: use monotonic clock instead of utc clock for time measurements

ApisCnxMgrBee

  • Bugfix: use monotonic clock instead of utc clock for time measurements

ApisOpcUaProxyBee

  • Bugfix: use monotonic clock instead of utc clock for time measurements

Apis Semantics

  • Feature: Support specifying guid or numeric ids when autocreating ids for new nodes.

Apis OPC UA Server Library

  • Bugfix: use monotonic clock instead of utc clock for time measurements

Apis OPC UA Client Library

  • Bugfix: use monotonic clock instead of utc clock for time measurements

Apis UANSService

  • Feature: Optimization - avoid reading attributes for namespaces on the server that will not be loaded as proxies.

Apis Foundation 9.13.3 release notes

ApisHive Modules

  • Bugfix: Fixed a bug when importing configuration for a non-existing module/items, causing ExternalItem Filters, where the filters did not resolve its External Items automatically.
  • Feature: Added support for attributes High Instrument Range and Low Instrument Range (InstrumentRange), as part of the ExtItemMetaTransfer attribute functionality.

ApisOpcUaBee

  • Bugfix: Fixed a bug, clearing EU attribute, when synching standard properties on OPC items and the UA server fails to return EngineeringUnit on one or more nodes.
  • Feature: Added support for InstrumentRange when synching standard properties on OPC items. Applied on APIS attributes High Instrument Range and Low Instrument Range, and can also be part of the ExtItemMetaTransfer attribute functionality.

Apis Semantics

  • Feature: Allow storing the value of EURange and InstrumentRange properties in attributes of the function item associated with the properties' parent.

Apis OPC UA Server Library

  • Bugfix: a deadlock could occur in the OpcUa stack when trying to flush a chunk of a response message to a closed socket when the chunk was not the final part of the message (#5722).
  • Feature: run maintenance tasks with regular intervals on all namespace databases.

Apis Foundation 9.13.2 release notes

Apis Hive NET API

  • Bugfix: File import of InitValue set the datatype to string. The InitValue datatype will now be set to DataValue (19100), if present in the import file. If DataValue is not present, Type (1) will be used. If item exists and neither DataValue or Type is present, existing datatype is used.

ApisEventBusBee

  • Bugfix: closed two memory leaks (xslt processing and smtp sinks)

ApisOpcUaBee

  • Bugfix: Fixed a bug, allowing Direct catchup to possibly request catchup data older than the maximum period, as configured by the module property CatchupPeriod, when such older periods are present in any catchupstate file.

ApisOpcUaMethodBee

  • Bugfix: avoid crashing when dbconnection fails

Apis OPC UA Server Library

  • Bugfix: memoryleaks related to MonitoredItems has been fixed
  • Bugfix: a timing-dependent access-violation when handling SetPublishingMode RPC has been fixed
  • Bugfix: The "Browse" and "TranslateBrowsepathsToNodeids" services required a valid reference type to be specifed. According to the standard, a missing (null or empty) reference type can be specified for returning all references, this is now implemented correctly by the OpcUa server and namespace drivers.
  • Bugfix: a deadlock could happen on certain callbacks from the uastack, this is now fixed (#5714).

Apis UANSService

  • Bugfix : Sometimes, when crawling multiple namespaces containing types where a supertype is defined in one crawled namespace, and a subtype is defined in another crawled namespace, the HasSubType reference would not be added to any of the namespaces. This would lead to the subtype not being available in the server hosting the namespace proxies.

Apis Foundation 9.13.1 release notes

Apis Semantics

  • Bugfix: Variables having an unsigned datatype will no longer be written as a negative number when the most significant bit is set.

Apis OPC UA Server Library

  • Bugfix: an out-of-bounds array access introduced in 9.12.1 has been fixed

Apis Foundation 9.12.1 release notes

Apis HoneyStore

  • Bugifx: HSTrendRepair tool, fixed auto repair

ApisHive Modules

  • Bugfix: Fixed a 100% CPU hang situation, when using Connection browser (ItemConnections) when having more than 1000 External items in the configuration.
  • Feature: Added support for attributes Description, High EU and Low EU (EURange), as part of the ExtItemMetaTransfer attribute functionality.
  • Performance: Improved performance when importing configuration containing use of ExternalItem Filters and Valuetype attributes.

ApisOpcUaBee

  • Bugfix: Using a thread-safe set when bookeeping nodes missing initial VQTs, when starting Catchup.

ApisOpcUaMethodBee

  • Bugfix: Added module to installer

ApisOpcUaPublisherBee

  • Bugfix: Removed {empty value} from OPCUA JSON format when the signal has no value.

Apis Management Studio

  • Bugfix: Fixed issue preventing attributes of category 'Shared Module Item attributes', to be selectable as columns in views like e.g. Aadaptive list.
    Now, attributes like e.g. Function item.DataChangeTrigger, can be viewed as column(s).
  • Feature: Removed limitation on 100 items as bulksize, when importing configuartion. Now, import all items of same type in a single call per module.

Apis Backup and Restore

  • Feature: Added support for pre-flight check algorithms for configuration in backup sets through new CHECK command and IConfigValidator interface
  • Feature: Added external item connection validation algorithm

Apis Semantics

  • Bugfix: closed some memoryleaks.

Apis OPC UA Server Library

  • Bugfix: when handling the ModifyMonitoredItems request, the server mixed up the parameters QueueSize and DiscardOldest, this has now been fixed.
  • Bugfix: the performance counter "Number of active notifications" was not correctly updated when DiscardOldest was false and the monitored items queue was full.
  • Bugfix: avoid use-after-free on publish-response data waiting to be ack'd and/or republished.
  • Bugfix: closed a memory leak when releasing eventmonitors with filtering
  • Bugfix: improved memory usage when an OPCUA client requests monitoring with invalid parameters

Apis Foundation 9.11.1 release notes

Apis HoneyStore

  • Feature: By design, Honeystore databases accepting out-of-sequence (oos) data, required at least 2 or more oos data samples per item to be written, otherwise the oos-data write woould be rejected. As a result of the newly implemented Direct catchup feature, it is necessary to allow even writing 1 oos data sample to a Honeystore database for the catchup to work as expected.

Apis Hive

  • Bugfix: a memoryleak related to OPC AE client disconnects has been fixed
  • Bugfix: format of parent nodeid in export of namespace has been fixed

ApisHive Modules

  • Bugfix: When setting the EU attribute on an item which doesn't have the UNIT attribute, the UNIT attribute will now be added to the item.

ApisOpcUaBee

  • Bugfix: The changes introduced on the Apis configuration storage provider, ApisNativeStorage, in version in 9.8.1, to handle multi threaded reads/writes, were insufficient to handle all scenarios. More robustness has now been added to prevent crashes when running in CatchupMode, Direct.
  • Feature: When running catchup towards misbehaving UA servers, not returning an initial VQT for all subscribed items, when creating the subscription, the catchup process will be stuck waiting forever to get started. Now, after 3 (default) publish responses during startup or after 600 seconds (default), without updating all subscribed items, the catchup will be forced to start. When forced, the highest of current local and server times, will be used as endtimes for such stale items.

Apis Management Studio

  • Bugfix: Fixed ill-formatted ApisPaths.EngUnitQuantityDir when running Apis Management Studio in a non-development environment, preventing the Apis Engineering Units editor to load the engineering units correctly.
  • Feature: Performance tuning on Item lists.
  • Bugfix: Removed the connection view until license or replacement is available.

Apis Foundation 9.10.1 release notes

Apis HoneyStore

  • Bugfix: Snapin: removed DCOM sequrity bypass (call to CoInitializeSecurity) to meet DCOM hardening requirements

Apis Hive

  • Bugfix: Snapin: removed DCOM sequrity bypass (call to CoInitializeSecurity) to meet DCOM hardening requirements

ApisHive Modules

  • Bugfix: Using Function items, fixed missing update when the DataChangeTrigger attribute is QualityValue, and only the quality had changed.

ApisModbusBee

  • Feature: Simulate signals when Comm. Type is None (#5656)
  • Feature: Added new write strategy. Item property EvaluationOrder Slave no writeback. Value is only written to slave when changed in Apis (#5657)

ApisOpcUaBee

  • Bugfix: Modified logic used when starting Catchup, when waiting for having received (at least) one VQT for each subscribed item included in Catchup.
  • Feature: Added state-item #Catchup-WriteChunksErrors#, telling how many (if any) data chunks that failed writing to the local Honeystore database for its item.

ApisOpcUaProxyBee

  • Bugfix: When multiple namespaces was federated from the same server, a refcount bug could cause the federation to fail.
  • Bugfix: Closed a memory leak

Apis Management Studio

  • Bugfix: Now, handling of Custom Engineering Units also is working in Apis Management Studio is now working. Was not loaded and hence not able to see custom engineering unit mappings.

Apis Backup and Restore

  • BugFix: BareAgent no longer treats wiping a non-existing hive-instance as an error. Slightly improved error messages from apicide.
  • BugFix: BareAgent now stores apicide logfiles in correct log-directory ($APIS_INSTALL\Logs\Apicide) instead of root-directory.

ApisAscii

  • Bugfix: Removed DCOM sequrity bypass (call to CoInitializeSecurity) to meet DCOM hardening requirements

Apis OPC UA Server Library

  • Bugfix: the UaStack would sometimes deadlock due to network connection issues, this is now fixed.
  • Bugfix: The OPC UA server now handles enabling/disabling publishing on a subscription correctly (#5659)

Apis Foundation 9.9.1 release notes

Apis Hive

  • Feature: a new registry setting, UAServer/Limits_MaxSubscriptionsPerSession, is used to control max number of OpcUa subscriptions per session, with a default value of 16.
  • Bugfix: a stack overflow has been fixed in the ION actor subsystem

ApisHive Modules

  • Bugfix: Added a max depth in recursive calculation and a maximum number of tokens in the formula to avoid stack overflow and preventing users to add function item expressions that are too large.

Apis Foundation 9.8.1 release notes

Apis Hive

  • Bugfix: In Apis Hive IApisItemConnections service, fixed a never ending recursion when items has circular, external items configuration. (#5600)
  • Bugfix: The Apis configuration storage provider, ApisNativeStorage, did not handle multiple threads reading/writing at the same time. This has now been fixed. (#5598)
  • Performance: Optimized loading and saving Apis configurations. In some configurations having lots of (thousands) External items on some items, typically as a result of using ExternalItem Filters attribute, loading and saving configurations took a long time. This has been addressed and optimized. (#5597)
  • Feature: LexFloatServer licesning software updated to version 4.8.6. The EXE is now signed, to please virus-scanners and not to be flagged as malware.

ApisHive Modules

  • Bugfix: Using Function items, specifying huge and complex Expressions (length > 25000 characters with lots of operators), would crash Apis as result of an unhandled Stack overflow exception. This has now been fixed. (#5599)

ApisAlarmAreaBee

  • Optimize the attribute config observer to detect uninteresting cases caused by externalitem filters.

ApisIEC104Bee

  • Feature: Value on information items only updated when different from current value in Apis

ApisOpcUaBee

  • Bugfix: The Apis configuration storage provider, ApisNativeStorage, did not handle multiple threads reading/writing at the same time, which could cause a crash on some systems using the newly implemented CatchupMode, Direct. This mode uses a catchupstate helper file read/written to by multiple threads at the same time. (#5598)

ApisOpcUaProxyBee

  • Bugfix: Create federated sessions early, and return errorcodes to uaclients when unable to federate browse-requests.

Apis Management Studio

  • Bugfix: The Apis Engineering Units handling of Apis Management Studio is now working again, been broken since version 9.0 due to different installed folder layout.
  • Bugfix: Add filter / Select Columns sometime caused a Catastrophic failure on attributes missing enumeration string resource in Hive module, has been fixed to handle such situations. (#5602)

Apis Backup and Restore

  • BugFix: Handle restore when the same directory is referenced in more than one config value for backup/restore. (ie both module and item config)

Apis Semantics

  • Bugfix: Handle nodeset export when namespace being exported is missing itemnames for engineering units hosted outside the namespace database.

Apis Module NET API

  • Feature: Added capability for ApisHive modules implemented in .NET, to fire a synchronous event into the Apis Hive event broker. Use when all connected commands should be executed before the thread of execution continues. New method is: ApisModule.FireBrokerEventSync (#5595)

Apis OPC UA Server Library

  • Bugfix: the UaStack would occasionally generate invalid certificates, this is now fixed.

Apis Foundation 9.7.1 release notes

ApisHSMirrorBee

  • Performance: When starting a huge configuration where Honeystore mirror items are used as external item inputs to typically Function Items, meta data (attributes) from source Honeystore items was fetched and applied on the target Hive items unconditionally. I.e. even if no change in the attribute values. This resulted in lots of unnecessary configuration observer notifications, and hence a very slow startup. This has been modified to only apply attribute values that actually has changed! (#5594)

ApisOpcUaProxyBee

  • Bugfix: Use correct lifetime and keepalive parameters when creating a federated subscription

Apis OPC UA Client Library

  • Feature: change default batch size for OpcUa sessions from 1000 to 10000

Apis Foundation 9.6.1 release notes

Apis Hive

  • Bugfix: when writing to read-only attributes on a module/item node using OPCUA, an incorrent success code was returned instead of the correct access denied result code. (#5571)

ApisHive Modules

  • Bugfix: When using the Valuetype attribute to forcefully change the value type of a Function Item, the DataChangeTrigger attribute evaluation always detected the value as changed. (#5574)

ApisIEC104Bee

  • Bugfix: Fixed bug crashing APIS when doing a Config import from Apis Management Studio. (#5573)

Apis Foundation Installer

  • Bugfix: Stopping local Cryptlex license service if named ApisEdgeLicSvc (the default service name) during uninstall, to prevent installation failure on upgrade.
  • Feature: Cryptlex license service installed at local machine as default, with service name: ApisEdgeLicSvc, and installed license configuration and exe files moved to [InstallFolder]\Lex.

Apis Foundation 9.5.1 release notes

Apis Hive

  • Bugfix: after semantics namespace updates, not all deleted eventsource links were updated in chronical.
  • Feature: Eventfields mapped to OPC UA fields containing arrays of extensionobjects are now supported.

ApisHive Modules

  • Feature: added DataChangeTrigger attribute on Function Items. The DataChangeTrigger is an enumeration that specifies the conditions for when the Function item should be reported as updated inside APIS after a calculation.
    Typical use is to prevent reporting the same calculated value as updated when the actual value is not changed.

Apis Management Studio

  • Feature: improved and simplified eventsource search dialogs

Apis Foundation 9.4.1 release notes

Apis HoneyStore

  • Bugifx: Fixed an unhandled exception in HoneystoreTestApp when trying to add a new database.

ApisChronical

  • Bugfix: handle invalid syntax when searching for event sources

ApisModbusBee

  • Bugfix: Fixed Unconsistence item quality handling when writing to slaves, causing timestamp updated incorrect.
  • Feature: Optimized shutdown sequence

ApisOpcUaBee

  • Feature: a new CatchupMode has been implemented, Direct. This catch-up mode will write data directly to the APIS Honeystore timeseries database, as an more efficient way of filling datagaps than the serialized catch-up kinds.

ApisOpcUaMethodBee

  • Bugfix: Deleting modules of this type could cause APIS Hive to crash (#5449)

ApisOpcUaPublisherBee

  • Bugfix: Fixed error in OPCUA JSON messages introduced in autosplit of OPCUA JSON messages.

Apis Semantics

  • Feature: When updating a namespace by importing or crawling an external server, replace the namespace database file instead of trying to replace the entire content of the database file. The previous method for updating a namespace can be restored by setting the DWORD registry value HKLM\SOFTWARE\Prediktor\Apis\[InstanceName]\Semantics\ReplaceDbInline to 1.
  • Feature: Add retry functionality to namespace database flushing.

Apis OPC UA Server Library

  • OPC UA namespace updated to version 1.05.01 (#5156)

Apis OPC UA Client Library

  • Bugfix: avoid crashing when retrying to create eventmonitors with contentfilters

Apis UANSService

  • Bugfix : Last batch of discovered nodes would most likely not be persisted, which could result in incomplete namespaces.

Apis Foundation 9.3.1 release notes

Apis HoneyStore

  • Bugfix: fixed a bug when writing out-of-sequence data, that could cause more than one active trend file to be present for an item
    after the out-of-sequence data write operation. This again could make trend history to seem incomplete, until a trendfile repair was performed.

Apis Hive

  • Feature: Added support for import/export of array and Matrix in nodeset2.xml files. (#5284)
  • Bugfix: Fixed some opcua JSON texts to be allign with the spesification. (#5451)
  • Feature: support OPCUA ACL checks for subscriptions and historical access of events (#5435)
  • Feature: OPCUA stack updated to v1.7.7
  • Bugfix: A potential use-after-free bug on OPCUA subscription handling has been fixed (#5462)
  • Feature: convert arrays of extensionobjects to array of JSON values when assigning such object to Hive items (#5488)

ApisChronical

  • Bugfix: closed some memory leaks (#5427)

ApisModbusBee

  • Feature: Improved error handling; quality during reconnect and invalid responce.
  • Feature: Added PollDone event, now possible to interconnect modules using one poll rate to prevent multiple modules to access one slave simultaneously.

ApisOpcUaPublisherBee

  • Feature: Added autsplitting of the OPCUA JSON messages, when size gets above defined max messagesize. (#5452)
  • Bugfix: Fixed error with backfill-messages sending thread is not started correctly when changing properties. (#5430 and #5328)

Apis Semantics

  • Bugfix: When adding HasEventSource references between nodes, sometimes not all the references would be replicated to APIS EventServer (#5465)

Apis OPC UA Server Library

  • Fix a crash-situation where clients issue RPC requests and immediatly disconnects (#5472)

Apis OPC UA Client Library

  • Bugfix: improved validation of RPC responses (#5473)
  • Bugfix: removed a deadlock possibility (#5469)

Apis UANSService

  • Bugfix : References no longer gets exported in every namespace when a parent object has children in a different namespace.
  • Feature : Use timeout hint for browsing as well as attribute reading

Apis Foundation 9.2.1 release notes

Apis Hive

  • Bugfix: Ensure that correct versions of .net assemblies are loaded by preloading the .NET UA client assembly during startup. This behaviour may be disabled by adding the DWORD registry entry HKLM\Software\Prediktor\APIS[InstanceName]\InhibitUaClientPreload and specifying a value different from 0.

Apis Management Studio

  • Bugfix: Import Namespaces: Pressing 'Backup set to import' caused crash, now fixed.
  • Feature: Possible to create a new Apis Hive instance from a Configuration Repository backup.

Apis UANSService

  • Bugfix : Allow huge collections for caching during crawling, in order to not receive OutOfMemoryExceptions that could lead to deadlocks.
  • Bugfix : Optimized memory footprint and speeded up the crawling process somewhat.
  • Bugfix : Re-prioritized some log entries, and made sure some often duplicated log-messages are not repeated as often as it used to.

Apis Foundation 9.1.1 release notes

Apis HoneyStore

  • Bugfix: If adding item(s) to database running in Online no write-cache mode, with non-default values for the MaxCacheDuration attribute, the mechanism for checking/validating the max cache duration in a database would start. This mechanism is only meaningful when a database is in Online mode, and subsequently would crash the ApisHoneyStore service in some situations. This issue has been fixed.
  • Feature: Updated LexFloatServer to latest version, version 4.8.4.
    To use this new version on existing installations, you must deploy this new version manually according to the ReadMe.txt file in the %ProgramFiles%\APIS\Bin\Lex folder.
    Note: You are not required to update to this latest version, any prior deployed version LexFloatServer will run satisfactory.
  • Feature: Increased demo timeout period to 10 days, to let users have more time to get an updated license in case an existing license becomes invalid or failes.

Apis Hive

  • Feature: Updated LexFloatServer to latest version, version 4.8.4.
    To use this new version on existing installations, you may have to deploy this new version manually according to the ReadMe.txt file in the %ProgramFiles%\APIS\Bin\Lex folder.
    Note: You are not required to update to this latest version, any prior deployed version LexFloatServer will run satisfactory. Feature: Increased demo timeout period to 10 days, to let users have more time to get an updated license in case an existing license becomes invalid or failes.

ApisOpcUaMethodBee

  • First release of this module

Apis OPC UA Server Library

  • Fix a memory-leak due to unreleased securechannels (#5427)
  • Improve performance when modifying an OPCUA endpoint (#5363)
  • Fix uastack file access that could fail on certain certificates

Apis OPC UA Client Library

  • Bugfix: improve subscription-logic to detect missing publish responses/stale subscriptions (#5425)
  • Bugfix: avoid infinite wait for initial server response when opening a new securechannel (#5426)
  • Bugfix: a possible deadlock during disconnect has been fixed

Apis UANSService

  • Feature : Add support for storing datavalues containing arrays and 2-dimensional matrices in the cached namespace.

Apis Foundation Installer

  • Bugfix : Setups added check for NetCore version prerequisite, preveting setup to fail when NetCore is already installed.

Apis Foundation 9.0.1 release notes

Apis HoneyStore

  • Feature: New licensing provider has been implemented, using the software licensing API from Cryptlex. APIS Honeystore now requires a new license using our new framework, any older licenses from Sentinel is now deprecated and will no longer work! Hence, you will need to get a new license from Prediktor using our new license provider.
  • Deprecation: As a result of migrating APIS from .NET Framework to .NET (formerly named .NET Core), the APIS HoneyStore Datacenter Edition features are unavailable until further notice.

Apis Hive

  • Feature: New licensing provider has been implemented, using the software licensing API from Cryptlex. APIS Hive now requires a new license using our new framework, any older licenses from Sentinel is now deprecated and will no longer work! Hence, you will need to get a new license from Prediktor using our new license provider.
  • Deprecation: The following APIS modules have been deprecated:
    • ApisAISXmlBee
    • ApisAsysBee
    • ApisBatchOptimizerBee
    • ApisCalculateBee
    • ApisGPSolarBee
    • ApisIMAWarehouseBee
    • ApisInnolasBee
    • ApisIntegoBee
    • ApisMessageBuilderBee
    • ApisSecsGemHostBee
    • ApisTunnelBee
    • ApisPrinterBee
    • ApisWitsmlBee
  • Deprecation: The following components have been deprecated:
    • ApisMessageBroker
    • ApisSecsGemBroker
    • ApisSMTP (use the Sink.Smtp item type of the ApisEventBus instead).
    • ApisSMS
    • ApisHSIndexing
    • IEC60870_5_104 plugin
  • Deprecation: The legacy possibility to configure the UA Server through a dedicated file, specified by setting UAServer-ConfigFile, has now been deprecated.
  • Deprecation: The following customer specific APIS modules have been deprecated:
    • CapulaFileReader
    • HFApisModules
  • Feature: The HasTypedefinition reference for Hive items now reflects the datatype of the item for numeric (BaseAnalogType) and boolean (TwoStateDiscreteType) types (#4926)
  • Feature: .NET modules are now running on .NET 6.0

ApisIEC104Bee

  • Feature: Initial release of IEC 60860-5-104 module for APIS Hive

Apis Management Studio

  • Feature: Apis Management Studio is now running on .NET 6.0.

Apis Semantics

  • Bugfix: Handle numeric node ids with values larger than MaxInt.
  • Feature: Added TypeMemberSelection structure for specifying browsepaths to properties in (named) instances of a type that should have function items and subscriptions for cached proxies.
  • Bugfix: No longer allow namespace database backup to try forever making the copy on a busy system, in order to avoid database lockups.
  • Bugfix: Item name generation would initialize the naming root with wrong naming root type id when using blobs as node-id.
  • Feature: Optimized engineering unit postprocessing upon loading a namespace (nodeset import, and crawling).
  • Feature: Extended semantics service with new method for getting a typedef with a fully inherited instance declaration hierarchy. NB: new COM interface, ISemanticsService2
  • Feature: Added support for parent node id property having a custom semantics property id
  • Feature: Added support for datatypes inherited from standard scalar datatypes in namespace 0