From 34a67c290d20ef553bad19d43456ef6f57176050 Mon Sep 17 00:00:00 2001 From: semantic-release Date: Tue, 7 Jan 2025 18:46:45 +0000 Subject: [PATCH] 3.2.7 Automatically generated by python-semantic-release --- CHANGELOG.md | 132 +++++++++++++++++++++++++++++++++++++++++++------ pyproject.toml | 2 +- 2 files changed, 118 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9713a87..00a39b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,48 @@ # CHANGELOG + +## v3.2.7 (2025-01-07) + +### Bug Fixes + +- **wslink**: Remove AppKey warning + ([`b0bf240`](https://github.com/Kitware/trame-server/commit/b0bf240fe5ffafd9f473d52fd49ccf579605948f)) + +### Build System + +- **deps**: Bump codecov/codecov-action in the actions group + ([`cc6023d`](https://github.com/Kitware/trame-server/commit/cc6023d2e31936d04bc0b96b5e4a0f30c32085b1)) + +Bumps the actions group with 1 update: + [codecov/codecov-action](https://github.com/codecov/codecov-action). + +Updates `codecov/codecov-action` from 4.0.1 to 5.1.2 - [Release + notes](https://github.com/codecov/codecov-action/releases) - + [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - + [Commits](https://github.com/codecov/codecov-action/compare/v4.0.1...v5.1.2) + +--- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: + direct:production + +update-type: version-update:semver-major + +dependency-group: actions + +... + +Signed-off-by: dependabot[bot] + +### Chores + +- **pyproject**: Fix syntax + ([`b6e171a`](https://github.com/Kitware/trame-server/commit/b6e171a0b9d892505abc75080b74a11eed7b645c)) + +### Continuous Integration + +- Pre-commit hooks + ([`b6e6b39`](https://github.com/Kitware/trame-server/commit/b6e6b398c227212adf0890e926d483ec6f56643a)) + + ## v3.2.6 (2025-01-07) ### Bug Fixes @@ -31,6 +74,7 @@ - **windows**: Try to fix raise condition on windows ([`24804d6`](https://github.com/Kitware/trame-server/commit/24804d6e21cd737316dd2f29068f3e99e2a198fd)) + ## v3.2.5 (2025-01-04) ### Bug Fixes @@ -56,6 +100,7 @@ - **state**: Get 100% coverage ([`d9db56f`](https://github.com/Kitware/trame-server/commit/d9db56f63e43dca6c83867f6b854afe84f6878f8)) + ## v3.2.4 (2024-12-30) ### Bug Fixes @@ -74,6 +119,7 @@ - **state**: Add missing doc strings ([`09af332`](https://github.com/Kitware/trame-server/commit/09af332cb198738416d4a0ff1f198f120d0ae554)) + ## v3.2.3 (2024-09-19) ### Bug Fixes @@ -81,6 +127,7 @@ - **prefix**: Add exclamation to JS delimiters ([`74dfcc6`](https://github.com/Kitware/trame-server/commit/74dfcc635552e6a1a4ab85f2717336d76504de85)) + ## v3.2.2 (2024-09-19) ### Bug Fixes @@ -93,6 +140,7 @@ - **child_server**: Update example ([`9feae26`](https://github.com/Kitware/trame-server/commit/9feae2641e71c3e6ec4aea10811539099dfd1f27)) + ## v3.2.1 (2024-09-18) ### Bug Fixes @@ -100,6 +148,7 @@ - **child_server**: Fix method binding on event ([`211a196`](https://github.com/Kitware/trame-server/commit/211a196401e6b1200f1f30d54c598462ce0d51b0)) + ## v3.2.0 (2024-09-16) ### Continuous Integration @@ -115,6 +164,7 @@ - **network_completion**: Allow to await network_completion ([`da22615`](https://github.com/Kitware/trame-server/commit/da226154a98335884a6ff52b66af039890d47207)) + ## v3.1.2 (2024-09-03) ### Bug Fixes @@ -122,6 +172,7 @@ - **perf**: State comparison ([`f23240b`](https://github.com/Kitware/trame-server/commit/f23240b4d9784f560d09709cc0e8d05a8bfe8277)) + ## v3.1.1 (2024-09-03) ### Bug Fixes @@ -129,6 +180,7 @@ - **client**: Add support for msgpack layer ([`2d89a0e`](https://github.com/Kitware/trame-server/commit/2d89a0ee4d8377bf14827d3a4d5d33d269af296f)) + ## v3.1.0 (2024-08-16) ### Features @@ -136,6 +188,7 @@ - **http**: Enable header override for built-in server ([`f4467d1`](https://github.com/Kitware/trame-server/commit/f4467d1679d92c998bc4d72473fe0c0a392d2dc8)) + ## v3.0.3 (2024-07-02) ### Bug Fixes @@ -143,6 +196,7 @@ - **banner**: Provide option to force flush stdout ([`1eabdaf`](https://github.com/Kitware/trame-server/commit/1eabdaf6acda8ce6c6b719ac0c6877eaf4f26051)) + ## v3.0.2 (2024-06-19) ### Bug Fixes @@ -156,6 +210,7 @@ - **type**: Use Literal for 'exec_mode' and remove TypeAlias not available in Python<3.10 ([`725d1a7`](https://github.com/Kitware/trame-server/commit/725d1a7c33b94970d5469b642caa152a374bd091)) + ## v3.0.1 (2024-05-30) ### Bug Fixes @@ -163,6 +218,7 @@ - **state**: Allow to clear client cache ([`532080b`](https://github.com/Kitware/trame-server/commit/532080b0cea5a1aea21002ef6314bd19851abbf5)) + ## v3.0.0 (2024-04-10) ### Features @@ -176,6 +232,7 @@ BREAKING CHANGE: use wslink>=2 that deeply change network handling - **wslink**: Use wslink>=2 that deeply change network handling + ## v2.17.3 (2024-04-02) ### Bug Fixes @@ -183,6 +240,7 @@ BREAKING CHANGE: use wslink>=2 that deeply change network handling - **wslink**: Prevent fetching v2 ([`e5c0969`](https://github.com/Kitware/trame-server/commit/e5c096976fa1926f62bdec2857ef1310956043be)) + ## v2.17.2 (2024-02-16) ### Bug Fixes @@ -190,10 +248,11 @@ BREAKING CHANGE: use wslink>=2 that deeply change network handling - **hot_reload**: Make life_cycle work with hot_reload ([`3288b7a`](https://github.com/Kitware/trame-server/commit/3288b7aaa2b57949b64202c48dba98f03e9c5f35)) -This also makes \_get_decorator_name() more robust and less likely to produce a confusing error. +This also makes _get_decorator_name() more robust and less likely to produce a confusing error. Signed-off-by: Patrick Avery + ## v2.17.1 (2024-02-16) ### Bug Fixes @@ -201,6 +260,7 @@ Signed-off-by: Patrick Avery - **pywebview**: Add menu support ([`580b012`](https://github.com/Kitware/trame-server/commit/580b01295861e557d523bc2093cb79ee1553084d)) + ## v2.17.0 (2024-02-16) ### Continuous Integration @@ -213,6 +273,7 @@ Signed-off-by: Patrick Avery - **pywebview**: Allow method call on window object ([`80edbb7`](https://github.com/Kitware/trame-server/commit/80edbb742e949e2572f3b7db4e211c3a762e0d11)) + ## v2.16.1 (2024-02-09) ### Bug Fixes @@ -220,6 +281,7 @@ Signed-off-by: Patrick Avery - **hot-reload**: On controller ([`a910340`](https://github.com/Kitware/trame-server/commit/a9103409c0f8969f8fa4cc2b73cedb8d02eefdeb)) + ## v2.16.0 (2024-01-29) ### Features @@ -227,6 +289,7 @@ Signed-off-by: Patrick Avery - **force_state_push**: Add new server method ([`1e0b043`](https://github.com/Kitware/trame-server/commit/1e0b04357f9d81937ec99493ad176a07f8fe8456)) + ## v2.15.0 (2024-01-09) ### Features @@ -234,6 +297,7 @@ Signed-off-by: Patrick Avery - **context**: Add server.context, a server side only State object ([`f142a17`](https://github.com/Kitware/trame-server/commit/f142a17e72cb4106e6864b12f6fcf6d70810a7eb)) + ## v2.14.0 (2024-01-01) ### Features @@ -241,6 +305,7 @@ Signed-off-by: Patrick Avery - **vue3**: Vue3 client is the new default ([`662309e`](https://github.com/Kitware/trame-server/commit/662309e2ef7435b69003c3ea97b96d180fd35064)) + ## v2.13.1 (2023-12-08) ### Bug Fixes @@ -248,6 +313,7 @@ Signed-off-by: Patrick Avery - **trigger**: Update protocol to use controller function ([`62ac1be`](https://github.com/Kitware/trame-server/commit/62ac1be076643d5c17e0df449996c6055b119272)) + ## v2.13.0 (2023-12-08) ### Documentation @@ -265,6 +331,7 @@ Signed-off-by: Patrick Avery - **translator**: Improve translator tests and avoid client dependency ([`385ce3d`](https://github.com/Kitware/trame-server/commit/385ce3da305318ed81b98be23039b90f871e223a)) + ## v2.12.1 (2023-10-31) ### Bug Fixes @@ -272,6 +339,7 @@ Signed-off-by: Patrick Avery - **flush**: Make sure server info is flushed ([`49525de`](https://github.com/Kitware/trame-server/commit/49525dedc0ff94020b5f9e9d1dbea3872ba52188)) + ## v2.12.0 (2023-09-28) ### Features @@ -279,6 +347,7 @@ Signed-off-by: Patrick Avery - **jupyter**: Add support for Jupyter backend ([`2f2aa2b`](https://github.com/Kitware/trame-server/commit/2f2aa2bfed906a8dd6a8d02a58e09cf6c4375bf8)) + ## v2.11.7 (2023-07-20) ### Bug Fixes @@ -291,6 +360,7 @@ Signed-off-by: Patrick Avery - Fix version ([`bd31c8b`](https://github.com/Kitware/trame-server/commit/bd31c8bc4f6d70f3b80919afcae4323cd1a889e5)) + ## v2.11.6 (2023-07-20) ### Bug Fixes @@ -298,6 +368,7 @@ Signed-off-by: Patrick Avery - **client_type**: Expose default client_type ([`7113e12`](https://github.com/Kitware/trame-server/commit/7113e12b142391e667e9db0276f85a4dc87e04a9)) + ## v2.11.5 (2023-07-14) ### Bug Fixes @@ -305,6 +376,7 @@ Signed-off-by: Patrick Avery - **argparse**: Skip -- when processing trame-args ([`c4333fb`](https://github.com/Kitware/trame-server/commit/c4333fb73f577e954e118f6d32c4888ddfbc82f2)) + ## v2.11.4 (2023-06-09) ### Bug Fixes @@ -312,6 +384,7 @@ Signed-off-by: Patrick Avery - **backend**: Allow backend selection from TRAME_BACKEND env ([`a160297`](https://github.com/Kitware/trame-server/commit/a16029745404ab0ceab46e50673ba9d10b4610c8)) + ## v2.11.3 (2023-06-09) ### Bug Fixes @@ -319,6 +392,7 @@ Signed-off-by: Patrick Avery - **info**: Ensure dynamic port to be printed ([`0c7f53a`](https://github.com/Kitware/trame-server/commit/0c7f53a93acef70d3fc3a0a1eaf792a568926b8a)) + ## v2.11.2 (2023-05-24) ### Bug Fixes @@ -326,6 +400,7 @@ Signed-off-by: Patrick Avery - **reload**: Don't reload state change corountine ([`ba05514`](https://github.com/Kitware/trame-server/commit/ba05514a688b5ac0449d68fb0d056ccbc40a9033)) + ## v2.11.1 (2023-05-24) ### Bug Fixes @@ -333,6 +408,7 @@ Signed-off-by: Patrick Avery - **hot-reload**: Remove async task from reload ([`cba6a7f`](https://github.com/Kitware/trame-server/commit/cba6a7f0d8a778057c4febf8f6ae52939829b613)) + ## v2.11.0 (2023-04-25) ### Features @@ -340,6 +416,7 @@ Signed-off-by: Patrick Avery - **py-client**: Add Python client to drive remote state ([`6904605`](https://github.com/Kitware/trame-server/commit/69046058a8d5334192bd07e1de81afb9f35007a5)) + ## v2.10.0 (2023-03-27) ### Features @@ -348,10 +425,10 @@ Signed-off-by: Patrick Avery ([`d2600c3`](https://github.com/Kitware/trame-server/commit/d2600c32a2acb18c7f700239e37581df85c9f57d)) This allows trame arguments to be specified either by a `--trame-args` argument or via a -`TRAME_ARGS` environment variable. + `TRAME_ARGS` environment variable. It still ignores the regular arguments when we are using `pytest`. But having the `TRAME_ARGS` -environment variable allows us to specify arguments for trame when using `pytest`. + environment variable allows us to specify arguments for trame when using `pytest`. Signed-off-by: Patrick Avery @@ -359,15 +436,16 @@ Signed-off-by: Patrick Avery ([`22746dd`](https://github.com/Kitware/trame-server/commit/22746dd171f2aca4ea2c6675eefd6ffc242c5f95)) This disables argument parsing if either the environment variable TRAME_ARGS_DISABLED is set or -pytest has been loaded into the modules (which, right now, is apparently the best way to determine -if pytest is running). This fixes an issue where trame would parse arguments from pytest and fail. -Since pytest doesn't allow us to add any non-pytest arguments, disable parsing the arguments if we -are using pytest. + pytest has been loaded into the modules (which, right now, is apparently the best way to determine + if pytest is running). This fixes an issue where trame would parse arguments from pytest and fail. + Since pytest doesn't allow us to add any non-pytest arguments, disable parsing the arguments if we + are using pytest. Fixes: pyvista/pyvista#3973 Signed-off-by: Patrick Avery + ## v2.9.1 (2023-02-15) ### Bug Fixes @@ -378,6 +456,7 @@ Signed-off-by: Patrick Avery - **task_funcs**: Allow controller with only task_funcs ([`c6fd518`](https://github.com/Kitware/trame-server/commit/c6fd5189ada5edcdeaa99173badb72c7b7f3e8de)) + ## v2.9.0 (2023-02-08) ### Features @@ -385,17 +464,19 @@ Signed-off-by: Patrick Avery - **client_type**: Improve module handling to support vue2/3 ([`000899e`](https://github.com/Kitware/trame-server/commit/000899eac77d009281961ad68a98298e03752e42)) + ## v2.8.1 (2023-01-27) ### Bug Fixes -- **version**: Add trame_server.**version** +- **version**: Add trame_server.__version__ ([`f6957f4`](https://github.com/Kitware/trame-server/commit/f6957f4dabee608c288ac841a38360fa286d1d67)) Partially addresses Kitware/trame#183 Signed-off-by: Patrick Avery + ## v2.8.0 (2023-01-21) ### Bug Fixes @@ -408,6 +489,7 @@ Signed-off-by: Patrick Avery - **on_server_start**: Add new life cycle ([`0db1961`](https://github.com/Kitware/trame-server/commit/0db1961f36eee42dd1a16b0eb496104e8b2332b4)) + ## v2.7.2 (2023-01-20) ### Bug Fixes @@ -416,17 +498,18 @@ Signed-off-by: Patrick Avery ([`5884ede`](https://github.com/Kitware/trame-server/commit/5884ede6a2662b830bba6d279d59abab0425e5e7)) This adds a `--hot-reload` option where, if set, controller/state callback functions will be -automatically reloaded for every function call. This excludes functions that are located in -site-packages directories (which are usually libraries that the user is not currently developing). + automatically reloaded for every function call. This excludes functions that are located in + site-packages directories (which are usually libraries that the user is not currently developing). There is also a `@hot_reload` decorator that may be added to functions as well, which will cause the -function to be reloaded every time. + function to be reloaded every time. This work is largely based off of https://github.com/julvo/reloading, with some major modifications, -including adding support for methods. His license is included within the file. + including adding support for methods. His license is included within the file. Signed-off-by: Patrick Avery + ## v2.7.1 (2023-01-20) ### Bug Fixes @@ -436,6 +519,7 @@ Signed-off-by: Patrick Avery Add environment variable fallback for host definition + ## v2.7.0 (2023-01-09) ### Features @@ -443,6 +527,7 @@ Add environment variable fallback for host definition - **ready**: Add ready future on server to await ([`6b72322`](https://github.com/Kitware/trame-server/commit/6b72322c06a5ade065355e2ffbd5d74206a89464)) + ## v2.6.1 (2022-12-10) ### Bug Fixes @@ -454,6 +539,7 @@ Using inspect.isawaitable rather than asyncio.coroutine fix #7 + ## v2.6.0 (2022-12-06) ### Chores @@ -472,6 +558,7 @@ fix #7 - **security**: Use authKeyFile argument if present ([`5c4fb3b`](https://github.com/Kitware/trame-server/commit/5c4fb3b227e8085073ce15dc3a9b5603db93b426)) + ## v2.5.1 (2022-11-09) ### Bug Fixes @@ -480,10 +567,11 @@ fix #7 ([`a957cdf`](https://github.com/Kitware/trame-server/commit/a957cdf9497aa72b3137cd9e390652311922b285)) If python >= 3.7 is being used, just use the built-in `isascii()` method. But if python < 3.7, we -have to use our own. + have to use our own. Signed-off-by: Patrick Avery + ## v2.5.0 (2022-10-27) ### Features @@ -491,6 +579,7 @@ Signed-off-by: Patrick Avery - **state**: Report when state key is not serializable ([`fac8866`](https://github.com/Kitware/trame-server/commit/fac886650d53d052b79d70ac8b99a4847e98ca76)) + ## v2.4.1 (2022-10-26) ### Bug Fixes @@ -500,6 +589,7 @@ Signed-off-by: Patrick Avery fix #3 + ## v2.4.0 (2022-10-24) ### Features @@ -507,6 +597,7 @@ fix #3 - **no-http**: Add cmd option to disable HTTP serving ([`d34c471`](https://github.com/Kitware/trame-server/commit/d34c4719faf6ff1dc5d223ee3adbc42fb6d17d7c)) + ## v2.3.0 (2022-10-20) ### Bug Fixes @@ -519,6 +610,7 @@ fix #3 - **state**: Allow state change to be async + add clean method ([`fa41cdd`](https://github.com/Kitware/trame-server/commit/fa41cdd8947319a0c685db9e5b835fca68175295)) + ## v2.2.1 (2022-09-27) ### Bug Fixes @@ -529,6 +621,7 @@ fix #3 - **controller**: Add support for async tasks ([`45bf037`](https://github.com/Kitware/trame-server/commit/45bf037889e684044eb1431922b8f40f9621bd67)) + ## v2.2.0 (2022-09-22) ### Features @@ -536,6 +629,7 @@ fix #3 - **wslink**: Add lifecycle to allow web server routes to be added ([`9432cc8`](https://github.com/Kitware/trame-server/commit/9432cc855adc7430dc337c4efcd756c356304840)) + ## v2.1.6 (2022-08-12) ### Bug Fixes @@ -545,6 +639,7 @@ fix #3 Signed-off-by: Patrick Avery + ## v2.1.5 (2022-08-10) ### Bug Fixes @@ -573,6 +668,7 @@ Signed-off-by: Patrick Avery Signed-off-by: Patrick Avery + ## v2.1.4 (2022-06-14) ### Bug Fixes @@ -599,6 +695,7 @@ Signed-off-by: Patrick Avery Signed-off-by: Patrick Avery + ## v2.1.3 (2022-06-10) ### Bug Fixes @@ -606,6 +703,7 @@ Signed-off-by: Patrick Avery - **state.update**: Prevent equal value to trigger change ([`5d2d5e1`](https://github.com/Kitware/trame-server/commit/5d2d5e1563238d995a34b521f85a3fcba716e950)) + ## v2.1.2 (2022-06-10) ### Bug Fixes @@ -620,6 +718,7 @@ Signed-off-by: Patrick Avery Signed-off-by: Patrick Avery + ## v2.1.1 (2022-06-06) ### Bug Fixes @@ -627,6 +726,7 @@ Signed-off-by: Patrick Avery - **flush**: Force flush for information print ([`fda6300`](https://github.com/Kitware/trame-server/commit/fda6300d42fa83d1350e8fb75412ec1314b03ba5)) + ## v2.1.0 (2022-06-04) ### Features @@ -634,6 +734,7 @@ Signed-off-by: Patrick Avery - **ui**: Introduce virtual node manager on server ([`f50551e`](https://github.com/Kitware/trame-server/commit/f50551ee1729204f208bc46f9200f4ad78d1197e)) + ## v2.0.2 (2022-05-30) ### Bug Fixes @@ -647,7 +748,7 @@ Signed-off-by: Patrick Avery ([`fc07473`](https://github.com/Kitware/trame-server/commit/fc07473e85a56853faa5d55ab4d68b4b39917873)) The newest version of semantic release has a bug that causes it to exit with errors. Downgrade to -the latest version without the bug. + the latest version without the bug. Signed-off-by: Patrick Avery @@ -656,6 +757,7 @@ Signed-off-by: Patrick Avery Signed-off-by: Patrick Avery + ## v2.0.1 (2022-05-27) ### Bug Fixes @@ -674,7 +776,7 @@ Signed-off-by: Patrick Avery - **controller**: Add decorator for 'set' and 'add' ([`28894d3`](https://github.com/Kitware/trame-server/commit/28894d3a6a52e85b63d744181d19d66ab8020819)) -- **kwarg**: Improve \*\*kwarg handling in server.start +- **kwarg**: Improve **kwarg handling in server.start ([`218400d`](https://github.com/Kitware/trame-server/commit/218400d8737e8d92cd601ec07ca3a9d14b451702)) - **vue_use**: Fix typo in 'reduce_vue_use' diff --git a/pyproject.toml b/pyproject.toml index d491467..4ed01ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "trame-server" -version = "3.2.6" +version = "3.2.7" description = "Internal server side implementation of trame" authors = [ {name = "Kitware Inc."},