Skip to content

Commit

Permalink
Merge pull request #667 from SMI/release/v2.0.0
Browse files Browse the repository at this point in the history
Release v2.0.0
  • Loading branch information
rkm authored Mar 13, 2021
2 parents 4f93074 + 24b5771 commit 040f029
Show file tree
Hide file tree
Showing 23 changed files with 86 additions and 33 deletions.
70 changes: 69 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,73 @@ A raw git diff can be seen [here][unreleased].

<!--next-->

## [2.0.0] 2021-03-13

## Feature

- [#618](https://github.com/SMI/SmiServices/pull/618) by tznind.
IsIdentifiableReviewer
- Added progress when loading large files (with cancellation support)
- Now groups outstanding failures by column
- Fixed rules being flagged as 'Identical' when classifying different
input columns
- [#634](https://github.com/SMI/SmiServices/pull/634) by rkm. Convert to
single entry-point app
- Breaking: Existing scripts and processes which reference the old
applications
- [#636](https://github.com/SMI/SmiServices/pull/636) by howff. Improvements
to Python scripts, tests, documentation
- [#647](https://github.com/SMI/SmiServices/pull/647) by howff. Improved
testing of SR anonymiser with a standalone stub
- [#662](https://github.com/SMI/SmiServices/pull/662) by tznind. Added ability
to ignore multiple failures at once in Is Identifiable Reviewer

## Bugfix

- [#597](https://github.com/SMI/SmiServices/pull/597) by tznind. Fixed
ConsensusRules not being run
- [#619](https://github.com/SMI/SmiServices/pull/619) by jas88. Reduce memory
consumption in nerd
- [#632](https://github.com/SMI/SmiServices/pull/632) by rkm. Normalise the
IsIdentifiableReviewer namespace to match the other Applications
- [#646](https://github.com/SMI/SmiServices/pull/646) by howff. Call the
garbage collector (and report progress) every 1000 records processed from a
database source in IsIdentifiable.
- [#650](https://github.com/SMI/SmiServices/pull/650) by howff. Create python
package called SmiServices so a wheel can be created.
- Rename all the imports for the new package name
- Remove references to PYTHONPATH Replace all paths and relative imports
to be independent of current directory Fixes to python tests
- [#656](https://github.com/SMI/SmiServices/pull/656) by howff. SRAnonTool
updated to handle the output from the latest SemEHR anonymiser and ignore
None-type annotations
- [#661](https://github.com/SMI/SmiServices/pull/661) by tznind. Fixed layout
of main window so it no longer obscures classification/type
- [#665](https://github.com/SMI/SmiServices/pull/665) by tznind. Fixed tree
view loosing selected index when updating/ignoring a failure (in tree view)
- [#666](https://github.com/SMI/SmiServices/pull/666) by howff. Silence
deprecation warning from newer Python as noted by the azure pipeline test

## Meta

- [#588](https://github.com/SMI/SmiServices/pull/588) by rkm. Prevent
additional language packs being included in published packages. Reduces
overall package size a bit.
- [#592](https://github.com/SMI/SmiServices/pull/592) by rkm. Manually update
csvhelper to 25.0.0, fo-dicom to 4.0.7
- [#616](https://github.com/SMI/SmiServices/pull/616) by rkm. Check for
clobbered files during package build
- [#620](https://github.com/SMI/SmiServices/pull/620) by rkm. Replace the
legacy SecurityCodeScan with SecurityCodeScan.VS2019
- [#637](https://github.com/SMI/SmiServices/pull/637) by rkm. Change to
tracking PR changes in news fragment files. Add a script to auto-update the
CHANGELOG from these files.
- [#648](https://github.com/SMI/SmiServices/pull/648) by rkm. Remove the
temporary reference to BadMedicine added in
[#592](https://github.com/SMI/SmiServices/pull/592)
- [#654](https://github.com/SMI/SmiServices/pull/654) by howff. Add Azure
Pipelines test and packaging for the Python scripts

## [1.15.1] 2021-02-17

### Fixed
Expand Down Expand Up @@ -671,7 +738,8 @@ First stable release after importing the repository from the private
- Anonymous `MappingTableName` must now be fully specified to pass validation
(e.g. `mydb.mytbl`). Previously skipping database portion was supported.

[unreleased]: https://github.com/SMI/SmiServices/compare/v1.15.1...master
[unreleased]: https://github.com/SMI/SmiServices/compare/v2.0.0...master
[2.0.0]: https://github.com/SMI/SmiServices/compare/v1.15.1...v2.0.0
[1.15.1]: https://github.com/SMI/SmiServices/compare/v1.15.0...v1.15.1
[1.15.0]: https://github.com/SMI/SmiServices/compare/v1.14.1...v1.15.0
[1.14.1]: https://github.com/SMI/SmiServices/compare/v1.14.0...v1.14.1
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[![Total alerts](https://img.shields.io/lgtm/alerts/g/SMI/SmiServices.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/SMI/SmiServices/alerts/)

Version: `1.15.1`
Version: `2.0.0`

# SMI Services

Expand Down
2 changes: 1 addition & 1 deletion docs/RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The release worflow is to checkout a new `release/` branch from master, update t
d7d90f4a Merge pull request #402 from SMI/feature/update-docs
830bac67 Merge branch 'master' into develop
```
Go through these PRs and check each has an accurate [news file][news_files] entry.
Go through these PRs and check each has an accurate [news file][news_files] entry. Create any missing files if needed.

- Identify the next release version. This can be determined by looking at the previous release and deciding if the new code to be released is a major, minor, or patch change as per [semver](https://semver.org). E.g. if the previous release was `v1.2.3` and only new non-breaking features are in the news files directory, then the next release should be`v1.3.0`. The definition of "breaking" can often be subjective though, so ask other members of the project if you're unsure.

Expand Down
1 change: 0 additions & 1 deletion news/588-meta.md

This file was deleted.

1 change: 0 additions & 1 deletion news/597-bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion news/616-meta.md

This file was deleted.

4 changes: 0 additions & 4 deletions news/618-feature.md

This file was deleted.

1 change: 0 additions & 1 deletion news/619-bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion news/620-meta.md

This file was deleted.

1 change: 0 additions & 1 deletion news/632-bugfix.md

This file was deleted.

2 changes: 0 additions & 2 deletions news/634-feature.md

This file was deleted.

1 change: 0 additions & 1 deletion news/637-meta.md

This file was deleted.

1 change: 0 additions & 1 deletion news/646-bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion news/647-feature.md

This file was deleted.

1 change: 0 additions & 1 deletion news/648-meta.md

This file was deleted.

5 changes: 0 additions & 5 deletions news/650-bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion news/654-meta.md

This file was deleted.

1 change: 0 additions & 1 deletion news/656-bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion news/662-feature.md

This file was deleted.

1 change: 0 additions & 1 deletion news/665-bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion news/666-bugfix.md

This file was deleted.

6 changes: 3 additions & 3 deletions src/SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
[assembly: AssemblyCulture("")]

// These should be overwritten by release builds
[assembly: AssemblyVersion("1.15.1")]
[assembly: AssemblyFileVersion("1.15.1")]
[assembly: AssemblyInformationalVersion("1.15.1")] // This one can have the extra build info after it
[assembly: AssemblyVersion("2.0.0")]
[assembly: AssemblyFileVersion("2.0.0")]
[assembly: AssemblyInformationalVersion("2.0.0")] // This one can have the extra build info after it
13 changes: 12 additions & 1 deletion utils/update-changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

_NEWS_DIR = Path("./news/")
_MARKER = "<!--next-->"
_UNRELEASED_LINK = "[Unreleased]:"
_UNRELEASED_LINK = "[unreleased]:"

_ORG = "SMI"
_REPO = "SmiServices"
Expand Down Expand Up @@ -96,6 +96,15 @@ def _print_links(last_tag: str, next_tag: str) -> None:
print(diff_link_str)


def _check_requirements() -> None:

cmd = ("npx", "--version")
_run(cmd)

cmd = ("npm", "list", "prettier")
_run(cmd)


def main(argv: Optional[Sequence[str]] = None) -> int:

parser = argparse.ArgumentParser()
Expand All @@ -109,6 +118,8 @@ def main(argv: Optional[Sequence[str]] = None) -> int:
)
args = parser.parse_args(argv)

_check_requirements()

# Gather the news files for the next release
fragments = collections.defaultdict(dict)
fragment_files = list(_NEWS_DIR.glob("*-*.md"))
Expand Down

0 comments on commit 040f029

Please sign in to comment.