PowerTSM 4.10
PowerTSM 4.10
Section titled “PowerTSM 4.10”This version incorporates a number of changes based on customer feedback and continues our ongoing efforts to fix bugs and improve documentation of our APIs.
[4.10.1] - 2025-12-22
Section titled “[4.10.1] - 2025-12-22”Hotfix for an issue in 4.10.0
TSM-8080: Error When Omitting Storage Information in Requests That Do Not Format JSON Properties in Camel Case
Section titled “TSM-8080: Error When Omitting Storage Information in Requests That Do Not Format JSON Properties in Camel Case”Version 4.10.0 introduced a bug where deserialization of some request bodies (those that included references without storage information) failed if they used a casing of JSON properties other than the default camel-case (i.e. pascal-case, etc.).
This was caused by the implementation of TSM-7889 and has been fixed in this patch.
[4.10.0] - 2025-12-18
Section titled “[4.10.0] - 2025-12-18”This release should not be deployed. Use 4.10.1 instead!
TSM-4366 .NET API: FromHakomTime and ToHakomTime are Now Public
Section titled “TSM-4366 .NET API: FromHakomTime and ToHakomTime are Now Public”Following methods are now publicly accessable for DateTimeOffset manipulation:
- FromHakomTime: Converts a DateTimeOffset to Hakom time representation based on the specified TimeBase.
- ToHakomTime: Converts a Hakom time representation to a DateTimeOffset based on the specified TimeBase. This complements the DateTimeOffsetExtensions made public in 4.9 (AddInterval, SubtractInterval, AlignWithNext, AlignWithPrevious)
TSM-6920 Extend Search for Time Series By Multiple Attributes.
Section titled “TSM-6920 Extend Search for Time Series By Multiple Attributes.”This new feature allows the user to, for example find all time series that have either attribute A or attribute B and attribute C assigned to it. Previously, when specifying multiple attributes in the parameters for a time series search, only those time series that had all of these attributes assigned were returned. This feature is available both in the .NET API as well as in the HTTP API. Please refer to their respective documentation *) for details.
TSM-6964 Ability to More Precisely Control What Quotation Data Should be Read
Section titled “TSM-6964 Ability to More Precisely Control What Quotation Data Should be Read”Previously, when requesting data from a time series that contained multiple quotations, it was only possible to specify a maximum date/time of for the quotations to be read, as well as specifying wether only the data quoted at that specific time should be returned. This version introduces new parameters that allow specifying an exact time period for quotation data to be read. Only data quoted for times within that period will be read.
TSM-7432 Improve Setting Up a New Database for 4+ Installations
Section titled “TSM-7432 Improve Setting Up a New Database for 4+ Installations”Previously, it was only possible to set up a 4+ database by first initializing a 3.x database and then upgrading it to the desired 4+ version. The installation scripts now have been modified to allow a setup directly from the latest deployment requiring only that the script folders from a 3.x deployment be provided.
TSM-7544 Configurable SSL Certificate
Section titled “TSM-7544 Configurable SSL Certificate”New configuration endpoints have been added to support SSL Certificates and Limits:
HAKOM:TSM:Http:Hosting:Endpoints:{EndpointName}:UrlHAKOM:TSM:Http:Hosting:Endpoints:{EndpointName}:Certificate
{EndpointName} can be an arbitrary name and there can be more than one named endpoint. This allows the service to be accessible at multiple host names, each with its own corresponding SSL certificate.
Note that you may also use this section to configure general limits of the service under the section HAKOM:TSM:Http:Hosting:Endpoints:Limits
For a full list of the supported limits, please refer to the official documentation for Microsoft Kestrel.
TSM-7567 HTTP API: Correct Error Message When Trying to Assign Attribute from Other Repository
Section titled “TSM-7567 HTTP API: Correct Error Message When Trying to Assign Attribute from Other Repository”When trying to assign an attribute from one repository to a timeseries of another repository, the HTTP API now responds with a 400 status code(Bad Request) instead of a 500 status code(Internal Server Error) to indicate that this is currently not supported.
TSM-7603 .NET API: TimeDependentUnitConversionStore.TryFindAll Returns All Time Dependent Unit Conversions
Section titled “TSM-7603 .NET API: TimeDependentUnitConversionStore.TryFindAll Returns All Time Dependent Unit Conversions”When calling TimeDependentUnitConversionStore.TryFindAll(timeSeriesReference) the method returned all TimeDependent UnitConversions and not only TimeDependent UnitConversions which are valid for the given timeSeriesReference. This faulty behaviour lead to possible false conversions while reading and writing if other TimeDependent UnitConversions existed on the Database for the desired conversion.
TSM-7707 HTTP API: Support for GZIP And Brotli Compression
Section titled “TSM-7707 HTTP API: Support for GZIP And Brotli Compression”The HTTP API now supports GZIP and Brotli for compressing sent or decompressing received content. To use these compression variants, ‘gzip’ or ‘br’ (for Brotli) must be specified in the Accept-Encoding and/or Content-Encoding header.
TSM-7745 Added Ability to Search For Time Series By Their Attribute Values Including Their Validity
Section titled “TSM-7745 Added Ability to Search For Time Series By Their Attribute Values Including Their Validity”Previously, time series could be searched for by specifying their assigned attributes and optionally their value. Since attributes can change their value over time (a.k.a. attribute time slots) we’ve now added the ability to specify the validity of the value as well. For example, you may now find time series that have a specific attribute with a specific value at a specific time.
TSM-7763 Error Reading/Saving Data With Stored Conversion Time Series
Section titled “TSM-7763 Error Reading/Saving Data With Stored Conversion Time Series”Fixed a bug that caused an exception when reading a time series whose “PreserveDuplicatedValues” property was null in the database.
TSM-7766 HTTP API: Incorrect Schema For Attribute Values in OpenAPI Specification
Section titled “TSM-7766 HTTP API: Incorrect Schema For Attribute Values in OpenAPI Specification”The schema for attribute values returned by the HTTP API was wrong and has been corrected in this release.
TSM-7767 HTTP API: Time Series Search Only Works With Interval Multiplier Equal to 1
Section titled “TSM-7767 HTTP API: Time Series Search Only Works With Interval Multiplier Equal to 1”A bug in the API has been fixed so that time series can now also be filtered explicitly by their interval type only, and the interval multiplier is no longer explicitly required. This means that you can also filter by interval multiplier without interval type.
TSM-7841 HTTP API: Incorrect Display of Required Properties for IAttributeReference
Section titled “TSM-7841 HTTP API: Incorrect Display of Required Properties for IAttributeReference”The API specification for endpoints requiring a parameter of type {{IAttributeReference}}incorrectly stated that only the property StorageInformation is necessary. However, it is also essential to provide a property for the identifier. This issue has been corrected in the API specfication.
TSM-7842 HTTP API: Incorrect Syntax for Formulas in OpenAPI Specification
Section titled “TSM-7842 HTTP API: Incorrect Syntax for Formulas in OpenAPI Specification”The OpenAPI specification for the HTTP API displayed the wrong format for formulas. It described them as a list of objects with key and value properties. Formulas are instead serialized as a simple dictionary-like objects. This has been fixed.
TSM-7860 Support for List Attributes in HTTP and .NET API
Section titled “TSM-7860 Support for List Attributes in HTTP and .NET API”This version adds support for list attributes. These are attributes that can have a specific set of possible values assigned to them (as opposed to regular attributes which have no restriction on their assigned values).
TSM-7887 HTTP API: Remove Trailing Zeros in Date/Time Responses
Section titled “TSM-7887 HTTP API: Remove Trailing Zeros in Date/Time Responses”From now on, trailing zeros (i.e. the milliseconds and microseconds part) will be removed in all returned ISO-8601 date/times. If there are no milliseconds or microseconds, only the integer portion of the seconds will be serialized without any decimal places. This ensures that the current version matches the behavior of the WebTSM Services (3.x).
TSM-7889 HTTP API: Storage Information is no longer required to be specified for Unit References and Attribute Type Reference
Section titled “TSM-7889 HTTP API: Storage Information is no longer required to be specified for Unit References and Attribute Type Reference”Previously, it was required to specify the repositoryName within the StorageInformation type to save an attribute or specify a unit. Since the repository is already a parameter of the request, this was set to be optional. The StorageInformation value can now simply be set to null
TSM-7892 Backward Compatibility for Unit Interval Transformation Methods
Section titled “TSM-7892 Backward Compatibility for Unit Interval Transformation Methods”In 3.x, unit aggregation was written to the database differently than the interval transformation method in 4.x, which led to problems when reading old data with 4.x. This has now been fixed.
TSM-7895 HTTP API: OpenAPI Specification For Reading Time Series Data Shows Two Invalid Parameters
Section titled “TSM-7895 HTTP API: OpenAPI Specification For Reading Time Series Data Shows Two Invalid Parameters”In the OpenAPI specification for GET endpoints of /repositories/{repository}/timeSeries/{timeSeries}/data two sets of from and to parameters were shown. One of them was for a new way of specifing quotation dates for the request. Those parameters were corrected to quotation.from and quotation.to with a proper description. The quotationDateTime parameter was set to deprecated.
TSM-7908 Performance Issue When Writing Data
Section titled “TSM-7908 Performance Issue When Writing Data”Due to an implementation bug, time series data was written to the data base twice in certain scenarios. This has been fixed.
TSM-7993 Issue When Setting Up a PostgreSQL Time Series Data Base without Explicit Tablespaces
Section titled “TSM-7993 Issue When Setting Up a PostgreSQL Time Series Data Base without Explicit Tablespaces”An issue occurred when trying to create a PostgreSQL database without tablespaces, which prevented the creation of the database. This issue has now been fixed, and creating a PostgreSQL database without tablespaces is possible.