Skip to content

Latest commit

 

History

History
471 lines (227 loc) · 16.7 KB

CHANGELOG.md

File metadata and controls

471 lines (227 loc) · 16.7 KB

CHANGELOG

v2.11.6 (2023-07-20)

Fix

  • fix(client_type): expose default client_type (7113e12)

v2.11.5 (2023-07-14)

Fix

  • fix(argparse): Skip -- when processing trame-args (c4333fb)

v2.11.4 (2023-06-09)

Fix

  • fix(backend): Allow backend selection from TRAME_BACKEND env (a160297)

v2.11.3 (2023-06-09)

Fix

  • fix(info): Ensure dynamic port to be printed (0c7f53a)

v2.11.2 (2023-05-24)

Fix

  • fix(reload): Don't reload state change corountine (ba05514)

v2.11.1 (2023-05-24)

Fix

  • fix(hot-reload): Remove async task from reload (cba6a7f)

v2.11.0 (2023-04-25)

Feature

  • feat(py-client): add Python client to drive remote state (6904605)

v2.10.0 (2023-03-27)

Feature

  • feat(args): allow trame args to be specified separately

This allows trame arguments to be specified either by a --trame-args argument or via a 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.

Signed-off-by: Patrick Avery <[email protected]> (d2600c3)

  • feat(ArgumentParser): subclass and allow parsing disable

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.

Fixes: pyvista/pyvista#3973

Signed-off-by: Patrick Avery <[email protected]> (22746dd)

Unknown

  • Merge pull request #14 from Kitware/subclass-arg-parser

Add ability to specify trame arguments in different ways (66460d2)

v2.9.1 (2023-02-15)

Fix

  • fix(on_server_exited): run exit tasks till completion for exec_mode=main (876d536)

  • fix(task_funcs): allow controller with only task_funcs (c6fd518)

v2.9.0 (2023-02-08)

Feature

  • feat(client_type): Improve module handling to support vue2/3 (000899e)

v2.8.1 (2023-01-27)

Fix

  • fix(version): add trame_server.version

Partially addresses Kitware/trame#183

Signed-off-by: Patrick Avery <[email protected]> (f6957f4)

Unknown

  • Merge pull request #12 from Kitware/version

fix(version): add trame_server.version (4c6c010)

v2.8.0 (2023-01-21)

Feature

  • feat(on_server_start): Add new life cycle (0db1961)

Fix

  • fix(controller): Add @once helper (f25db26)

v2.7.2 (2023-01-20)

Fix

  • fix(dev): add hot reloading

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).

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.

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.

Signed-off-by: Patrick Avery <[email protected]> (5884ede)

Unknown

  • Merge pull request #9 from Kitware/hot-reload

fix(dev): add hot reloading (71be7d1)

v2.7.1 (2023-01-20)

Fix

  • fix: use host argument with wslink (#8)

Add environment variable fallback for host definition (8935e6a)

v2.7.0 (2023-01-09)

Feature

  • feat(ready): Add ready future on server to await (6b72322)

v2.6.1 (2022-12-10)

Fix

  • fix(corountine): Remove deprecated API for Py 3.11

Using inspect.isawaitable rather than asyncio.coroutine

fix #7 (82d945d)

v2.6.0 (2022-12-06)

Chore

  • chore(security): Removed trailing whitespace (e242fed)

  • chore(security): Fixed Formatting (005192d)

Feature

  • feat(security): Moved authKeyFile argument from wslink to trame-server (9c3b6fc)

  • feat(security): Use authKeyFile argument if present (5c4fb3b)

Unknown

  • Merge pull request #6 from jwindgassen/authKeyFile

feat(security): Use authKeyFile argument if present (85b346c)

v2.5.1 (2022-11-09)

Fix

  • fix(isascii): add python3.6 compatible isascii() method

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.

Signed-off-by: Patrick Avery <[email protected]> (a957cdf)

Unknown

  • Merge pull request #5 from Kitware/isascii-python3.6

fix(isascii): add python3.6 compatible isascii() method (a7cb163)

v2.5.0 (2022-10-27)

Feature

  • feat(state): report when state key is not serializable (fac8866)

v2.4.1 (2022-10-26)

Fix

  • fix(file-upload): Properly filter fields for client sync

fix #3 (1656aab)

v2.4.0 (2022-10-24)

Feature

  • feat(no-http): Add cmd option to disable HTTP serving (d34c471)

v2.3.0 (2022-10-20)

Feature

  • feat(state): Allow state change to be async + add clean method (fa41cdd)

Fix

  • fix(state): Better network handling for collaboration (b3b0e2f)

v2.2.1 (2022-09-27)

Fix

  • fix(aiohttp.router): Simplify route management (245baaf)

  • fix(controller): Add support for async tasks (45bf037)

v2.2.0 (2022-09-22)

Feature

  • feat(wslink): Add lifecycle to allow web server routes to be added (9432cc8)

v2.1.6 (2022-08-12)

Fix

  • fix(wslink): Handle new --reverse-url cli arg

Signed-off-by: Patrick Avery <[email protected]> (eb4eceb)

Unknown

  • Merge pull request #2 from Kitware/wslink-reverse-connection

fix(wslink): Handle new --reverse-url cli arg (6b4243f)

v2.1.5 (2022-08-10)

Chore

  • chore(semantic-release): bump version to latest

Signed-off-by: Patrick Avery <[email protected]> (efb63ce)

Documentation

  • docs(coverage): remove codecov PR comment

Signed-off-by: Patrick Avery <[email protected]> (1ae8142)

  • docs(coverage): add setup.py to .coveragerc

This should not be included in the coverage since we will not run it with pytest.

Signed-off-by: Patrick Avery <[email protected]> (ee4f01b)

Fix

  • fix(trigger): Allow triggers to return something (aebfb01)

Unknown

  • doc(badge): add CI status badge

Signed-off-by: Patrick Avery <[email protected]> (da28520)

  • doc(ci): turn off codecov statuses

Signed-off-by: Patrick Avery <[email protected]> (ef21bc2)

v2.1.4 (2022-06-14)

Documentation

  • docs(codecov): show coverage for all source files

This includes files that were not imported by the tests.

Signed-off-by: Patrick Avery <[email protected]> (1c2b98e)

  • docs(codecov): upload coverage to codecov

Signed-off-by: Patrick Avery <[email protected]> (3a00af1)

  • docs(codecov): create and print coverage report

Signed-off-by: Patrick Avery <[email protected]> (809a6de)

Fix

  • fix(desktop): add support for gui option (2d59706)

v2.1.3 (2022-06-10)

Fix

  • fix(state.update): Prevent equal value to trigger change (5d2d5e1)

v2.1.2 (2022-06-10)

Documentation

  • docs(contributing): add CONTRIBUTING.rst

Signed-off-by: Patrick Avery <[email protected]> (27212aa)

Fix

  • fix(state): Prevent equal value to trigger change (4c3165f)

v2.1.1 (2022-06-06)

Fix

  • fix(flush): Force flush for information print (fda6300)

v2.1.0 (2022-06-04)

Feature

  • feat(ui): Introduce virtual node manager on server (f50551e)

v2.0.2 (2022-05-30)

Chore

  • chore: downgrade python semantic release for fix

The newest version of semantic release has a bug that causes it to exit with errors. Downgrade to the latest version without the bug.

Signed-off-by: Patrick Avery <[email protected]> (fc07473)

  • chore: rename publish => release in github action

Signed-off-by: Patrick Avery <[email protected]> (d25c852)

Fix

  • fix(state): No @state.change exec before server ready (50acbb5)

v2.0.1 (2022-05-27)

Chore

  • chore(version): bump version to publish (eb07d9a)

Documentation

  • docs(api): Update controller api (b02b741)

  • docs(api): Add missing API docstring (00e8ad4)

Fix

  • fix: add github action for semantic release

Signed-off-by: Patrick Avery <[email protected]> (661b74a)

  • fix(vue_use): Fix typo in 'reduce_vue_use'

Could not pass options before like this: vue_use = [('trame_component', {...})] (37823d4)

  • fix(controller): Add decorator for 'set' and 'add' (28894d3)

  • fix(kwarg): improve **kwarg handling in server.start (218400d)

  • fix(async): Fix method call (ddf6938)

  • fix(async): export task decorator (0fb23e9)

  • fix(vue_use): Reduce duplicate and merge options (a8ce28b)

Unknown

  • Merge pull request #1 from DavidBerger98/fix-vue_use

fix(vue_use): Fix typo in 'reduce_vue_use' (76a0469)

  • Add "Pytest" to test names

Signed-off-by: Patrick Avery <[email protected]> (7ad092d)

  • Bump rc version to test pypi upload

Signed-off-by: Patrick Avery <[email protected]> (37131ce)

  • Combine workflows and add publishing

The workflows are combined because publishing depends on testing and pre-committing.

Signed-off-by: Patrick Avery <[email protected]> (e90f03a)

  • Add link to trame in docs

Signed-off-by: Patrick Avery <[email protected]> (c81ece3)

  • Add first pass at .readthedocs.yaml

Signed-off-by: Patrick Avery <[email protected]> (56380cd)

  • Add first pass at API docs

Signed-off-by: Patrick Avery <[email protected]> (074ab09)

  • Trame v2 - server implementation

This initial commit gather the first stage of what the server side of trame 2.0.0 aims to be.

Co-authored-by: Patrick Avery <[email protected]> (464af41)