Releases: SMI/SmiServices
v5.10.3
Bugfix
- #2003 by rkm. Fix UpdateValues/Updater to work with postgres
Meta
- #1997 by rkm. Specify RuntimeIdentifier in Directory.Build.props so VS knows which one to pick. Required since SelfContained was set
What's Changed
- Fix visual studio build by @rkm in #1998
- Bump codecov/codecov-action from 4.6.0 to 5.0.2 by @dependabot in #1999
- Bump NUnit.Analyzers from 4.3.0 to 4.4.0 by @dependabot in #2001
- fix UpdateValues/Updater for postgres by @rkm in #2003
- Release v5.10.3 by @rkm in #2004
Full Changelog: v5.10.2...v5.10.3
v5.10.2
v5.10.1
v5.10.0
⚠ The smi packages in this release were not built as self-contained applications. A compatible runtime must be installed to run them.
Bugfix
- #1956 by rkm. Publish SmiServices only to fix NETSDK1194 warning
- #1962 by rkm. Fixup namespaces in test projects
- #1963 by rkm. Set MessageHeader.CurrentProgramName once at the start of each test fixture (project / assembly) instead of individually in each test. Fixes cases where tests would fail if run individually.
- #1991 by rkm. Support postgres in IdentifierMapper server discovery
Change
-
#1847 by rkm. Enable MSBuildTreatWarningsAsErrors and warnaserror
-
#1957 by rkm. Refactor project path resolvers in CohortExtractor:
DefaultProjectPathResolver
is nowStudySeriesOriginalFilenameProjectPathResolver
- Undo handling UIDs with leading dot (#1506) as this was causing difficulties with path lookups elsewhere
- Add
StudySeriesSOPProjectPathResolver
which generates filenames using SOPInstanceUID instead of the original file name. This is now the default path resolver - Disallow null Study/Series/SOPInstanceUID values, which should never occur in practice
Meta
- #1875 by rkm. Enable Nuget packages restore with lockfile
What's Changed
- Publish SmiServices only to fix NETSDK1194 warning by @rkm in #1956
- add
MSBuildTreatWarningsAsErrors
by @rkm in #1847 - Bump org.mockito:mockito-core from 5.14.0 to 5.14.1 in /src/common/com.smi.microservices.parent by @dependabot in #1958
- Bump org.apache.maven.plugins:maven-surefire-report-plugin from 3.5.0 to 3.5.1 in /src/common/com.smi.microservices.parent by @dependabot in #1960
- Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.0 to 3.5.1 in /src/common/com.smi.microservices.parent by @dependabot in #1959
- Bump codecov/codecov-action from 4.5.0 to 4.6.0 by @dependabot in #1961
- fixup namespaces in tests by @rkm in #1962
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1964
- Fix MessageHeader.CurrentProgramName in tests by @rkm in #1963
- Refactor project path resolvers in CohortExtractor by @rkm in #1957
- add packages lockfile by @rkm in #1875
- Bump NunitXml.TestLogger from 4.0.254 to 4.1.0 by @dependabot in #1966
- Bump ch.qos.logback:logback-classic from 1.5.8 to 1.5.10 in /src/common/com.smi.microservices.parent by @dependabot in #1967
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1969
- Bump Microsoft.Extensions.Caching.Memory and exclude lockfiles from pre-commit by @rkm in #1971
- Bump MongoDB.Driver and MongoDB.Bson by @dependabot in #1970
- Bump HIC.FAnsiSql from 3.2.6 to 3.2.7 by @dependabot in #1976
- Bump org.mockito:mockito-core from 5.14.1 to 5.14.2 in /src/common/com.smi.microservices.parent by @dependabot in #1974
- Bump ch.qos.logback:logback-classic from 1.5.10 to 1.5.11 in /src/common/com.smi.microservices.parent by @dependabot in #1973
- Bump actions/setup-java from 4.4.0 to 4.5.0 by @dependabot in #1977
- Bump actions/setup-dotnet from 4.0.1 to 4.1.0 by @dependabot in #1978
- Bump ch.qos.logback:logback-classic from 1.5.11 to 1.5.12 in /src/common/com.smi.microservices.parent by @dependabot in #1979
- Bump org.apache.maven.plugins:maven-surefire-report-plugin from 3.5.1 to 3.5.2 in /src/common/com.smi.microservices.parent by @dependabot in #1984
- Bump com.fasterxml.jackson.dataformat:jackson-dataformat-yaml from 2.18.0 to 2.18.1 in /src/common/com.smi.microservices.parent by @dependabot in #1983
- Bump com.fasterxml.jackson.core:jackson-databind from 2.18.0 to 2.18.1 in /src/common/com.smi.microservices.parent by @dependabot in #1982
- Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.1 to 3.5.2 in /src/common/com.smi.microservices.parent by @dependabot in #1981
- Bump YamlDotNet from 16.1.3 to 16.2.0 by @dependabot in #1989
- Bump System.IO.Abstractions.TestingHelpers from 21.0.29 to 21.1.3 by @dependabot in #1986
- Bump System.IO.Abstractions from 21.0.29 to 21.1.3 by @dependabot in #1988
- fix discovery to work with postgres and mysql by @rkm in #1991
- Release v5.10.0 by @rkm in #1992
Full Changelog: v5.9.0...v5.10.0
v5.9.0
Feature
-
#1945 by rkm. Add a publish timeout backoff mechanism to ProducerModel, allowing control over message publishing timeout behaviour. This can be enabled by setting
BackoffProviderType
in anyProducerOptions
config. Currently implemented types are:- StaticBackoffProvider (1 minute flat timeout)
- ExponentialBackoffProvider (1 minute initial, doubling after each timeout)
-
#1952 by rkm. Enable pausing of message publishing based on monitoring downstream queue message count
Bugfix
- #1954 by rkm. Fix program names in MessageHeader and logging setup
What's Changed
- Bump MongoDB.Bson from 2.28.0 to 2.29.0 by @dependabot in #1942
- Bump com.rabbitmq:amqp-client from 5.21.0 to 5.22.0 in /src/common/com.smi.microservices.parent by @dependabot in #1943
- Feature/extraction rate limiting by @rkm in #1945
- Bump HIC.RDMP.Plugin and MongoDB.Driver by @dependabot in #1944
- Bump com.fasterxml.jackson.core:jackson-databind from 2.17.2 to 2.18.0 in /src/common/com.smi.microservices.parent by @dependabot in #1946
- Bump org.mockito:mockito-core from 5.13.0 to 5.14.0 in /src/common/com.smi.microservices.parent by @dependabot in #1947
- Bump com.fasterxml.jackson.dataformat:jackson-dataformat-yaml from 2.17.2 to 2.18.0 in /src/common/com.smi.microservices.parent by @dependabot in #1948
- Bump YamlDotNet from 16.1.2 to 16.1.3 by @dependabot in #1949
- Bump HIC.RDMP.Plugin.Test from 8.2.3 to 8.3.0 by @dependabot in #1950
- Bump actions/setup-java from 4.3.0 to 4.4.0 by @dependabot in #1951
- Enable pausing of message publishing based on monitoring downstream queue message count by @rkm in #1952
- Fix program names in MessageHeader and logging setup by @rkm in #1954
- Release v5.9.0 by @rkm in #1955
Full Changelog: v5.8.0...v5.9.0
v5.8.0
Feature
- #1938 by rkm. Allow specifying path to DynamicRules file
Bugfix
- #1892 by rkm.
docker-compose
replaced bydocker compose
- #1917 by rkm. Fix handling of GlobalOptions deserializing to null
- #1939 by rkm. Fix loading of TesseractEngine on Linux
- #1940 by rkm. Bump sqlserver to 2022 in CI to fix startup crash
Change
- #1879 by jas88. Remove Oracle remnants, fill in some gaps in Postgresql support instead
- #1894 by rkm. Condense all code into 2 csprojs
- #1901 by rkm. Switch coverage collection from coverlet.msbuild to Microsoft.CodeCoverage and dotnet-coverage
- #1902 by rkm. Separate unit and integration tests into separate projects
- #1903 by rkm. Run automated Visual Studio code cleanup & apply fixes
- #1906 by jas88. Exclude test code from test coverage calculations since testing tests makes no sense
Meta
- #1891 by rkm. Tidy & auto-format codebase
What's Changed
- Less Oracle, more cowb - er, Postgresql by @jas88 in #1879
- use docker compose over docker-compose by @rkm in #1892
- Tidy & auto-format by @rkm in #1891
- Bump HIC.RDMP.Dicom from 7.0.7 to 7.0.8 by @dependabot in #1895
- Bump org.hamcrest:hamcrest-library from 2.2 to 3.0 in /src/common/com.smi.microservices.parent by @dependabot in #1898
- Condense csprojs by @rkm in #1894
- Bump HIC.RDMP.Plugin.Test, HIC.RDMP.Plugin, MongoDB.Driver and MongoDB.Bson by @dependabot in #1900
- fix coverage reporting by @rkm in #1901
- Separate unit/integration tests by @rkm in #1902
- Bump actions/setup-java from 4.2.1 to 4.2.2 by @dependabot in #1905
- Exclude tests from test coverage to avoid recursive self-coverage by @jas88 in #1906
- Bump NUnit.Analyzers from 4.2.0 to 4.3.0 by @dependabot in #1904
- run VS automated code cleanups by @rkm in #1903
- Bump NLog from 5.3.2 to 5.3.3 by @dependabot in #1907
- Bump HIC.BadMedicine.Dicom from 0.1.0 to 0.1.1 by @dependabot in #1908
- Bump Microsoft.CodeAnalysis.CSharp.Scripting from 4.10.0 to 4.11.0 by @dependabot in #1909
- Bump NLog from 5.3.2 to 5.3.3 by @dependabot in #1910
- Bump commons-cli:commons-cli from 1.8.0 to 1.9.0 in /src/common/com.smi.microservices.parent by @dependabot in #1914
- Bump org.apache.maven.plugins:maven-surefire-report-plugin from 3.3.1 to 3.4.0 in /src/common/com.smi.microservices.parent by @dependabot in #1913
- Bump ch.qos.logback:logback-classic from 1.5.6 to 1.5.7 in /src/common/com.smi.microservices.parent by @dependabot in #1912
- Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.1 to 3.4.0 in /src/common/com.smi.microservices.parent by @dependabot in #1911
- Fix handling of GlobalOptions deserializing to null by @rkm in #1917
- Bump NUnit from 4.1.0 to 4.2.0 by @dependabot in #1919
- Bump Microsoft.NET.Test.Sdk and Microsoft.CodeCoverage by @dependabot in #1920
- Bump NUnit from 4.2.0 to 4.2.1 by @dependabot in #1921
- Bump NUnit from 4.2.1 to 4.2.2 by @dependabot in #1923
- Bump YamlDotNet from 16.0.0 to 16.1.0 by @dependabot in #1924
- Bump org.apache.maven.plugins:maven-surefire-report-plugin from 3.4.0 to 3.5.0 in /src/common/com.smi.microservices.parent by @dependabot in #1925
- Bump org.apache.maven.plugins:maven-surefire-plugin from 3.4.0 to 3.5.0 in /src/common/com.smi.microservices.parent by @dependabot in #1926
- Bump org.mockito:mockito-core from 5.12.0 to 5.13.0 in /src/common/com.smi.microservices.parent by @dependabot in #1927
- Bump StackExchange.Redis from 2.8.0 to 2.8.12 by @dependabot in #1930
- Bump Moq from 4.20.70 to 4.20.71 by @dependabot in #1929
- Bump Microsoft.CodeCoverage from 17.11.0 to 17.11.1 by @dependabot in #1928
- Bump ch.qos.logback:logback-classic from 1.5.7 to 1.5.8 in /src/common/com.smi.microservices.parent by @dependabot in #1933
- Bump Moq from 4.20.71 to 4.20.72 by @dependabot in #1932
- Bump Microsoft.NET.Test.Sdk from 17.11.0 to 17.11.1 by @dependabot in #1931
- Bump NLog from 5.3.3 to 5.3.4 by @dependabot in #1935
- Bump StackExchange.Redis from 2.8.12 to 2.8.16 by @dependabot in #1934
- Bump actions/setup-java from 4.2.2 to 4.3.0 by @dependabot in #1936
- Bump YamlDotNet from 16.1.0 to 16.1.2 by @dependabot in #1937
- allow specifying path to DynamicRules file by @rkm in #1938
- bump sqlserver to 2022 in CI to fix startup crash by @rkm in #1940
- Fix loading TesseractEngine on Linux by @rkm in #1939
- Release v5.8.0 by @rkm in #1941
Full Changelog: v5.7.2...v5.8.0
v5.7.2
Feature
- #1889 by jas88. Make DB exception handling DB-agnostic rather than MySQL specific
Bugfix
- #1887 by rkm. Pass setInitialDatabase as true to GetDistinctLiveDatabaseServer to ensure that the correct database is used when connecting to Postgres
- #1888 by rkm. Ensure keyTag is properly wrapped in QuerySyntaxHelper for Postgres support
What's Changed
- Bump NUnit3TestAdapter from 4.5.0 to 4.6.0 by @dependabot in #1883
- Bump System.IO.Abstractions from 21.0.26 to 21.0.29 by @dependabot in #1882
- Bump System.IO.Abstractions.TestingHelpers from 21.0.26 to 21.0.29 by @dependabot in #1881
- Bump NunitXml.TestLogger from 3.1.20 to 4.0.254 by @dependabot in #1880
- Set correct database in QueryToExecute by @rkm in #1887
- Fix quoting of keyTag in QueryToExecute by @rkm in #1888
- Stop assuming we only run on MySQL by @jas88 in #1889
- Release v5.7.2 by @rkm in #1890
Full Changelog: v5.7.1...v5.7.2
v5.7.1
Feature
- #1876 by rkm. Manually bump DicomTypeTranslation, IsIdentifiable, YamlDotNet, and RDMP libs
What's Changed
- Bump HIC.RDMP.Plugin.Test from 8.1.6 to 8.1.7 by @dependabot in #1861
- Bump StackExchange.Redis from 2.7.33 to 2.8.0 by @dependabot in #1860
- Bump com.fasterxml.jackson.dataformat:jackson-dataformat-yaml from 2.17.1 to 2.17.2 in /src/common/com.smi.microservices.parent by @dependabot in #1862
- Bump com.fasterxml.jackson.core:jackson-databind from 2.17.1 to 2.17.2 in /src/common/com.smi.microservices.parent by @dependabot in #1863
- Bump Terminal.Gui from 1.17.0 to 1.17.1 by @dependabot in #1872
- Bump System.IO.Abstractions.TestingHelpers from 21.0.22 to 21.0.26 by @dependabot in #1871
- Bump System.IO.Abstractions from 21.0.22 to 21.0.26 by @dependabot in #1867
- Bump org.apache.maven.plugins:maven-surefire-report-plugin from 3.3.0 to 3.3.1 in /src/common/com.smi.microservices.parent by @dependabot in #1866
- Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.0 to 3.3.1 in /src/common/com.smi.microservices.parent by @dependabot in #1865
- Bump actions/setup-dotnet from 4.0.0 to 4.0.1 by @dependabot in #1864
- Bump HIC.RDMP.Plugin from 8.1.7 to 8.2.0 by @dependabot in #1869
- Bump HIC.FAnsiSql from 3.2.5 to 3.2.6 by @dependabot in #1873
- Bump DicomTypeTranslation, IsIdentifiable, YamlDotNet, and RDMP libs by @rkm in #1876
- Release v5.7.1 by @rkm in #1877
Full Changelog: v5.7.0...v5.7.1
v5.7.0
Feature
- #1679 by darshad-github. Add dicom-anonymiser (Generic Wrapper Microservice)
- #1723 by rkm. bump CI image to ubuntu-22.04
- #1748 by howff. Add support for Dermatology SRs
- #1823 by rkm. Bump to .NET 8.0 and C# 12
- #1833 by jas88. Move SecurityCodeScan.VS2019 analysis to run as part of CodeQL CI checks not in IDE
- #1834 by jas88. Update to NUnit v4 API
- #1843 by jas88. Update DicomLoader switches and docs
- #1844 by rkm. Tidy some files in DicomAnonymiser
- #1845 by darshad-github. Update dicom-anonymiser docs
- #1848 by rkm. replace archived prettier mirror with mdformat
Bugfix
- #1840 by jas88. Escape multiline CSV properly via CsvHelper
Doc
-
#1831 by rkm. Refresh all documentation
- Simplify the top-level README, as this content has been migrated to SMI/docs
- Move READMEs for all tools inside the top-level docs/ to improve navigation
- Add script for checking docs
- Add markdown-link-check hook
- Delete unused TriggerUpdates MongoDB source
Removal
- #1804 by rkm. Delete SRAnonTool, which has been migrated to https://github.com/SMI/StructuredReports.
What's Changed
- SR handling supports the odd structure inside Dermatology SRs by @howff in #1748
- Bump ch.qos.logback:logback-classic from 1.5.5 to 1.5.6 in /src/common/com.smi.microservices.parent by @dependabot in #1801
- Bump commons-cli:commons-cli from 1.6.0 to 1.7.0 in /src/common/com.smi.microservices.parent by @dependabot in #1802
- delete SRAnonTool files by @rkm in #1804
- Bump Spectre.Console from 0.48.0 to 0.49.0 by @dependabot in #1805
- Bump NLog from 5.2.8 to 5.3.1 by @dependabot in #1810
- Bump LibArchive.Net from 0.1.4 to 0.1.5 by @dependabot in #1809
- Bump Spectre.Console from 0.49.0 to 0.49.1 by @dependabot in #1807
- Bump NLog from 5.3.1 to 5.3.2 by @dependabot in #1815
- Bump com.fasterxml.jackson.core:jackson-databind from 2.17.0 to 2.17.1 in /src/common/com.smi.microservices.parent by @dependabot in #1814
- Bump com.fasterxml.jackson.dataformat:jackson-dataformat-yaml from 2.17.0 to 2.17.1 in /src/common/com.smi.microservices.parent by @dependabot in #1813
- Bump codecov/codecov-action from 4.3.0 to 4.3.1 by @dependabot in #1812
- Bump YamlDotNet from 15.1.2 to 15.1.4 by @dependabot in #1817
- Bump org.mockito:mockito-core from 5.11.0 to 5.12.0 in /src/common/com.smi.microservices.parent by @dependabot in #1818
- Bump codecov/codecov-action from 4.3.1 to 4.4.0 by @dependabot in #1821
- Bump com.google.code.gson:gson from 2.10.1 to 2.11.0 in /src/common/com.smi.microservices.parent by @dependabot in #1819
- .NET 8 by @rkm in #1823
- Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 by @dependabot in #1827
- Bump codecov/codecov-action from 4.4.0 to 4.4.1 by @dependabot in #1829
- Bump commons-cli:commons-cli from 1.7.0 to 1.8.0 in /src/common/com.smi.microservices.parent by @dependabot in #1830
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1832
- Move SecurityCodeScan from IDE integration to CI run as for RDMP by @jas88 in #1833
- Feature/nunit api by @jas88 in #1834
- Bump Terminal.Gui from 1.16.0 to 1.17.0 by @dependabot in #1838
- Bump YamlDotNet from 15.1.4 to 15.1.6 by @dependabot in #1839
- Bump HIC.RDMP.Plugin.Test, HIC.RDMP.Plugin, HIC.FAnsiSql, CsvHelper and NUnit by @dependabot in #1835
- Bugfix/csv by @jas88 in #1840
- Update README and docs by @rkm in #1831
- Bump HIC.FAnsiSql from 3.2.3 to 3.2.5 by @dependabot in #1841
- dicom-anonymiser Generic Wrapper Microservice by @darshad-github in #1679
- Feature/dicomloaderflags by @jas88 in #1843
- Dicom Anonymiser tidy files by @rkm in #1844
- dicom-anonymiser Generic Wrapper Microservice Updates by @darshad-github in #1845
- replace prettier with mdformat by @rkm in #1848
- Bump CI runner image to ubuntu-22.04 by @rkm in #1723
- Bump org.apache.commons:commons-configuration2 from 2.10.1 to 2.11.0 in /src/common/com.smi.microservices.parent by @dependabot in #1849
- Bump codecov/codecov-action from 4.4.1 to 4.5.0 by @dependabot in #1854
- Bump YamlDotNet from 15.1.6 to 15.3.0 by @dependabot in #1853
- Bump Microsoft.CodeAnalysis.CSharp.Scripting from 4.9.2 to 4.10.0 by @dependabot in #1852
- Bump org.apache.maven.plugins:maven-surefire-report-plugin from 3.2.5 to 3.3.0 in /src/common/com.smi.microservices.parent by @dependabot in #1851
- Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.5 to 3.3.0 in /src/common/com.smi.microservices.parent by @dependabot in #1850
- Bump CsvHelper from 32.0.3 to 33.0.1 by @dependabot in #1858
- Bump HIC.RDMP.Plugin from 8.1.6 to 8.1.7 by @dependabot in #1857
- Bump System.IO.Abstractions.TestingHelpers from 21.0.2 to 21.0.22 by @dependabot in #1856
- Bump System.IO.Abstractions from 21.0.2 to 21.0.22 by @dependabot in #1855
- Release v5.7.0 by @rkm in #1859
Full Changelog: v5.6.1...v5.7.0