Installer: Added support for running database scripts during installation even when SQL Server client tools are not present on the installation machine.
Server: Updated the server to correctly handle database upgrades from version 1.
Installer: Updated the installer to support running SQL scripts as a SQL Server user, with an integrated connection test.
Installer: Improved feedback when database script execution fails, including clearer follow-up instructions.
Installer: Updated the installer to start the Scheduler service at the end of the initial installation, even if database scripts have not yet been run.
Developer: Updated developer templates to use SDK-style projects.
Developer: Updated the project developer template to be a modern solution template and added a further project template for developers to add new gSharp projects to their existing solutions.
Developer: Changed the installation of developer templates so they don't rely on the developer's Documents folder (eliminating CFA access errors).
Developer: Updated the developer templates to copy the built assembly and its own dependencies to a new Artifacts folder at the solution root. The build log in Visual Studio provides a hyperlink to this folder.
Server: Removed the requirement that AF point descriptors start with a | character.
Server: Updated the security model to prevent auto recalculation settings from being updated without recalculation access.
Admin: The AF point selector in the context editor no longer inserts a leading | character into point descriptors.
Admin: The Value column in the context editor now shows an error indicator when a value cannot be retrieved instead of appearing blank.
Admin: The Assembly Registration dialog is now significantly faster at retrieving and displaying the list of available assemblies.
Server: Fixed a bug in the scheduler component that would stop a natural schedule if the historical schedule of the same point was removed or paused (and vice versa).
Server: Fixed a bug that ignored changes made to user assembly log level settings.
Server: Fixed a bug when registering an assembly that missed some of the dependencies when copying files.
Server: Fixed a bug that failed to set the working directory of an assembly to the assembly's actual location.
Admin: Fixed a bug that prevented the Value column in the context editor from refreshing after module changes were saved.
Admin: Fixed a bug that caused a crash when the app was started with certain cultures.
Installer: Updated the installer to better handle the closing of programs during installation.
General: Updated numeric interpretations to respect the current culture.
Admin: Removed the column displaying the resolved path from the list of points in the context editor. It remains as a tooltip when hovering over a point.
Admin: Added a column in the list of points in the context editor to display the current value of each point (if available). The value is only retrieved when the context is expanded or refreshed, or the refresh button above the list is clicked. Only the value is displayed. The tooltip also shows the timestamp and the status.
Admin: The point icons in the module and context point lists and also in the Add Schedule popup now have an arrow indicating whether the point is input, output, or bidirectional.
Admin: The point and context selectors now better choose their initial location when opened; if no suitable resolution is found, they open to their previous location.
Developer: Updated Visual Studio project templates to be more concise and align with gSharp best practices.
Server: If an AssemblyHost process crashed (or was terminated), the server would not recover it automatically.
Developer: The GetValue method of the AFDataPoint and the AFAttrPoint would sometimes contain the current time instead of the point's snapshot timestamp.
Developer: Fixed a bug that caused an error when two or more contexts were created for a module hosting a Python script.
Server: Added support for automatic recalculation. If a value changes in the PI data archive that affects calculated data, the calculated data is automatically recalculated to reflect the change. This is an opt-in feature that can be enabled on a per-context basis.
Server: Added support for AF Formula data references as natural schedule points.
Admin: Added support for configuring automatic recalculation in the Admin App. This includes options to specify which points can trigger recalculation. A historical recalculation point appears in the list of schedules as its own type of Historical schedule.
Admin: AF Formula data reference points are now shown in the Add Schedule popup in the context editor.
Developer: Added a new AFAttrPoint and AFAttrValue set of types to better represent AF attributes as points and values in calculation modules. These are type-safe and support int, long, float, double, string, DateTime, and DigitalState values.
Developer: Added UOM support for AFAttrValue types and a [DefaultUOM] attribute to specify a default UOM for AFAttrPoint to make UOM conversions automatic.
Developer: Added a Data property to AFAttrPoint and the old AFDataPoint point classes to access a data retrieval wrapper to the AFSDK data retrieval methods that handle relative timestamps (for example, *-1d). Relative timestamps are resolved relative to the context execution time.
Admin: Updated the admin app to retrieve data from AF servers via the gSharp server so that AF security access is determined by the gSharp server credentials and not the user's. This also removes the app's dependency on the AFSDK.
Admin: Replaced the old AFSDK server and database selection controls in the point and context selection dialogs with custom controls that do not depend on the AFSDK.
Installer: Updated the installer to only require the AFSDK if the server or development SDK were selected, and not if only the admin app is being installed.
Installer: Added an Extract Only option to the developer template installer to allow users to extract the files to a temporary location to be copied manually if Windows Controlled Folder Access denies access.