|
1 | | -# Change Log |
| 1 | +# Changelog |
2 | 2 |
|
3 | | -## v3.1.0 |
| 3 | +All notable changes to this project will be documented in this file. |
4 | 4 |
|
5 | | -26th May 2024 |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Dates formatted as YYYY-MM-DD as per [ISO standard](https://www.iso.org/iso-8601-date-and-time-format.html). |
| 7 | + |
| 8 | +Consistent identifier (represents all versions, resolves to latest): [](https://doi.org/10.5281/zenodo.10055168) |
| 9 | + |
| 10 | +## Unreleased |
| 11 | + |
| 12 | +Modifications to help improve user experience and clarity of the application and repository. |
| 13 | + |
| 14 | +### Added |
| 15 | + |
| 16 | +* Created `scripts/` folder and moved functions to that folder (to organise repository and prevent duplication of functions between pages) |
| 17 | +* Add `config.toml` to ensure consistent theme for users with multiple apps or global config settings |
| 18 | +* Add `treat_sim` to environment to import model (rather than using local model file) |
| 19 | +* Created function to set page configuration on every page of app, including NIHR logo in sidebar |
| 20 | +* Add Zenodo badges for each version in `CHANGES.md` |
| 21 | +* Add Andy Mayne's ORCID and STARS logo to About page |
| 22 | +* Add Towards paper to citation page and add Amy to `CITATION.cff` |
| 23 | +* Add more description to interactive simulation (help statements for each parameter, labelled process flow diagram, and step-by-step instructions) |
| 24 | +* Add instructions for using the Upload experiments page (including display of template `scenarios.csv`) |
| 25 | + |
| 26 | +### Changed |
| 27 | + |
| 28 | +* Made files PEP-8 compliant and consistent use of " / ' |
| 29 | +* Upgraded environment to `streamlit`==1.35.0 (to use new features like `st.logo()`) |
| 30 | +* `read_file_contents()` uses local import (to prevent accidentally importing from deprecated development branches) |
| 31 | +* Used headings, bullets, bold text and images to Overview page to help break up paragraph of text. This includes the arrival figure which was moved from the Interactive Simulation page, as it is not used when choosing model parameters but is relevant to the overview description of the model |
| 32 | + |
| 33 | +### Removed |
| 34 | + |
| 35 | +* Removed `model.py` |
| 36 | +* Removed duplicate or unused functions from `more_plot.py` |
| 37 | +* Moved several unused files to `archive/`: `copy_table.py`, `gcp.yml`, `git_update.sh`, `more_plot.ipynb`, and `more_plot.png` |
| 38 | +* Deleted `CHANGES.md.backup` |
| 39 | + |
| 40 | +### Fixed |
| 41 | + |
| 42 | +* Saved preset experiment and uploaded experiments to session state so they are not lost between page changes |
| 43 | +* Fixed bugs with download button (where table for preset experiments disappears if click button) and copy button (which required workaround for streamlit bug) by displaying results using `st.dataframe()` which has built-in download button and is easy to copy to clipboard using `Ctrl+A` |
| 44 | + |
| 45 | +## [v3.1.0](https://github.com/pythonhealthdatascience/stars-streamlit-example/releases/tag/v3.1.0) - 2024-05-26 - [](https://doi.org/10.5281/zenodo.11316319) |
| 46 | + |
| 47 | +### Changed |
6 | 48 |
|
7 | 49 | * IMG: updated process flow image. |
8 | 50 |
|
9 | | -## v3.0.1 |
| 51 | +## [v3.0.1](https://github.com/pythonhealthdatascience/stars-streamlit-example/releases/tag/v3.0.1) - 2024-05-02 - [](https://doi.org/10.5281/zenodo.11102678) |
10 | 52 |
|
11 | | -2nd May 2024 |
| 53 | +### Changed |
12 | 54 |
|
13 | | -* PATCH: Trauma patient treatment fixed to use the correct distribution and parameters |
14 | 55 | * PATCH: Tramna and non-trauma pathways updated to self internal instance of `Scenario` class as opposed to module level variable. |
15 | 56 |
|
16 | | -## v3.0.0 |
| 57 | +### Fixed |
| 58 | + |
| 59 | +* PATCH: Trauma patient treatment fixed to use the correct distribution and parameters |
| 60 | + |
| 61 | +## [v3.0.0](https://github.com/pythonhealthdatascience/stars-streamlit-example/releases/tag/v3.0.0) - 2024-04-22 - [](https://doi.org/10.5281/zenodo.11034479) |
17 | 62 |
|
18 | | -22nd April 2024 |
| 63 | +### Added |
19 | 64 |
|
20 | 65 | * ENV: `plotly` v5.21.0 added. |
21 | | -* ENV: Arrival rate and MORE plot have been migrated to be interactive `plotly` format. |
22 | 66 | * MODULE: `more_plot.py` updated to include a `more_plotly` function. |
23 | | -* PAGES: Multiple replications setting moved from side bar to main window and converted to text input in 🎱 Interactive Simulation page. |
24 | 67 | * PAGES: Creation of Resources app page. Migration of Links from About page. |
25 | 68 | * PAGES: Creation of Changes app page: logging all major, minor and patched releases of the app. |
| 69 | + |
| 70 | +### Changed |
| 71 | + |
| 72 | +* PAGES: Multiple replications setting moved from side bar to main window and converted to text input in 🎱 Interactive Simulation page. |
26 | 73 | * PAGES: About page cleaned up and linked to STARS main study and team. |
27 | 74 | * PAGES: Emojis 😀 added to app internal page names |
28 | 75 |
|
29 | | -## v2.2.0 |
| 76 | +### Removed |
| 77 | + |
| 78 | +* ENV: Arrival rate and MORE plot have been migrated to be interactive `plotly` format. |
30 | 79 |
|
31 | | -20th April 2024 |
| 80 | +## [v2.2.0](https://github.com/pythonhealthdatascience/stars-streamlit-example/releases/tag/v2.2.0) - 2024-04-20 - [](https://doi.org/10.5281/zenodo.11001959) |
| 81 | + |
| 82 | +### Added |
32 | 83 |
|
33 | 84 | * PAGES: Introduce of License page |
34 | 85 | * PAGES: Links to GitHub, Zenodo archive, Documentation and Tutorial material added to About Page |
| 86 | + |
| 87 | +### Changed |
| 88 | + |
35 | 89 | * ENV: Upgrade `streamlit` to 1.33.0 |
36 | 90 | * ENV: Upgrade `simpy` to 4.1.1 |
37 | 91 |
|
38 | | -## v2.1.0 |
| 92 | +## [v2.1.0](https://github.com/pythonhealthdatascience/stars-streamlit-example/releases/tag/v2.1.0) - 2024-03-08 - [](https://doi.org/10.5281/zenodo.10935920) |
| 93 | + |
| 94 | +### Changed |
39 | 95 |
|
40 | | -8th March 2024 |
| 96 | +* SIM: Upgraded internal implementation of generating non-overlapping random number streams. This is now implemented to use `np.random.SeedSequence`. See https://numpy.org/doc/stable/reference/random/parallel.html |
| 97 | + |
| 98 | +### Removed |
41 | 99 |
|
42 | | -* SIM: Upgraded internal implementation of generating non-overlapping random number streams. This is now implemented to use `np.random.SeedSequence`. See https://numpy.org/doc/stable/reference/random/parallel.html |
43 | 100 | * PATCH: Removed deprecated use of st.@cache decorator. |
44 | 101 |
|
45 | | -## v2.0.0 |
| 102 | +## [v2.0.0](https://github.com/pythonhealthdatascience/stars-streamlit-example/releases/tag/v2.0.0) - 2024-03-01 - [](https://doi.org/10.5281/zenodo.10732700) |
46 | 103 |
|
47 | | -1st March 2024 |
| 104 | +### Changed |
48 | 105 |
|
49 | 106 | * ENV: Upgraded to Python 3.10 and upgrade `numpy`, `pandas`, `matplotlib`` versions etc. |
50 | 107 | * ENV: Upgraded to streamlit `1.31.1` |
51 | | -* PAGES: Removed deprecated `streamlit`` functions |
| 108 | + |
| 109 | +### Removed |
| 110 | + |
| 111 | +* PAGES: Removed deprecated `streamlit` functions |
| 112 | + |
| 113 | +### Fixed |
| 114 | + |
52 | 115 | * PATCH: Fixed `st.setup_page` location in `Overview.py` (main landing page) to avoid runtime error. |
53 | 116 |
|
54 | | -## v1.2.0 |
| 117 | +## [v1.2.0](https://github.com/pythonhealthdatascience/stars-streamlit-example/releases/tag/v1.2.0) - 2023-10-30 - [](https://doi.org/10.5281/zenodo.10055169) |
55 | 118 |
|
56 | | -30th October 2023 |
| 119 | +### Changed |
57 | 120 |
|
58 | 121 | * Updated pilot Web App release to support *Toward Sharing Tools and Artefacts for Reusable Simulations in Healthcare* project. |
59 | 122 | * GITHUB: Included detailed instructions to download the code, install dependencies and run the app locally |
60 | 123 | * GITHUB: Updated README URLs and included link to SW23 version of app redundancy. |
61 | 124 |
|
62 | | -## v1.1.0 |
| 125 | +## v1.1.0 - 2023-01-23 |
63 | 126 |
|
64 | | -23rd January 2023 |
| 127 | +### Added |
65 | 128 |
|
66 | 129 | * Added Dockerfile that creates a python:3.8 image running the latest version of streamlit and the app on port 8989. |
67 | 130 |
|
68 | | -## v1.0.0 |
69 | | - |
70 | | -19th July 2022 |
| 131 | +## v1.0.0 - 2022-07-19 |
71 | 132 |
|
72 | | -* Pilot Web App release to test project feasibility. |
73 | | -* The release supports [conference paper](https://www.theorsociety.com/media/7313/doiorg1036819sw23030.pdf) and talk given at the OR Society Simulation Workshop 2023 (SW23) |
74 | | -* Code can be found in separate repository: |
| 133 | +:seedling: First release. Pilot Web App release to test project feasibility. The release supports [conference paper](https://www.theorsociety.com/media/7313/doiorg1036819sw23030.pdf) and talk given at the OR Society Simulation Workshop 2023 (SW23). Code can be found in separate repository. |
0 commit comments