Skip to content

Latest commit

 

History

History
832 lines (453 loc) · 24.2 KB

CHANGELOG.md

File metadata and controls

832 lines (453 loc) · 24.2 KB

CHANGELOG

v3.3.0 (2025-01-12)

Chores

Continuous Integration

  • Pre-commit exclude changelog (3231702)

  • pyproject: Add target-version in tool.ruff (468c467)

Documentation

  • state: Example of state.modified_keys usgae (ca5b51e)

Features

  • state: Add modified_keys accessor (12733a1)

Testing

  • state: Fix possible exec order swap (1f8dd8a)

v3.2.7 (2025-01-07)

Bug Fixes

  • wslink: Remove AppKey warning (b0bf240)

Build System

  • deps: Bump codecov/codecov-action in the actions group (cc6023d)

Bumps the actions group with 1 update: codecov/codecov-action.

Updates codecov/codecov-action from 4.0.1 to 5.1.2 - Release notes - Changelog - Commits

--- 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] support@github.com

Chores

Continuous Integration

v3.2.6 (2025-01-07)

Bug Fixes

  • ruff: Handle lint suggestion (ab94d97)

Continuous Integration

  • Improve project automation (37d33cc)

  • Pre-commit prettier (e331a05)

  • codecov: Try to fix upload (ca4814b)

Documentation

  • readme: Update README.rst (73bad67)

Testing

  • Improve coverage (eba8290)

  • windows: Try to fix raise condition on windows (24804d6)

v3.2.5 (2025-01-04)

Bug Fixes

  • enable_module: Return True if the module was loaded (84aa953)

Continuous Integration

Documentation

Testing

  • state: Get 100% coverage (d9db56f)

v3.2.4 (2024-12-30)

Bug Fixes

  • ci: Update to pyproject and ruff (406ae4a)

Documentation

  • example: Add child-server with size observer (c3bf08c)

  • example: Child server translation (c5b917d)

  • state: Add missing doc strings (09af332)

v3.2.3 (2024-09-19)

Bug Fixes

  • prefix: Add exclamation to JS delimiters (74dfcc6)

v3.2.2 (2024-09-19)

Bug Fixes

  • prefix: Add comma to JS delimiters (3d754ab)

Documentation

  • child_server: Update example (9feae26)

v3.2.1 (2024-09-18)

Bug Fixes

  • child_server: Fix method binding on event (211a196)

v3.2.0 (2024-09-16)

Continuous Integration

  • py310: Move to 3.10 by default (75bc43d)

  • py310: Move to 3.10 by default (1fd48ad)

Features

  • network_completion: Allow to await network_completion (da22615)

v3.1.2 (2024-09-03)

Bug Fixes

v3.1.1 (2024-09-03)

Bug Fixes

  • client: Add support for msgpack layer (2d89a0e)

v3.1.0 (2024-08-16)

Features

  • http: Enable header override for built-in server (f4467d1)

v3.0.3 (2024-07-02)

Bug Fixes

  • banner: Provide option to force flush stdout (1eabdaf)

v3.0.2 (2024-06-19)

Bug Fixes

  • type: Add some type hints in trame_server.core (209d212)

  • type: Use Literal for 'backend' and use type alias ClientType (bc7375e)

  • type: Use Literal for 'exec_mode' and remove TypeAlias not available in Python<3.10 (725d1a7)

v3.0.1 (2024-05-30)

Bug Fixes

  • state: Allow to clear client cache (532080b)

v3.0.0 (2024-04-10)

Features

  • wslink: Use msgpack and chunking for ws data exchange (6cad8a7)

BREAKING CHANGE: use wslink>=2 that deeply change network handling

BREAKING CHANGES

  • wslink: Use wslink>=2 that deeply change network handling

v2.17.3 (2024-04-02)

Bug Fixes

  • wslink: Prevent fetching v2 (e5c0969)

v2.17.2 (2024-02-16)

Bug Fixes

  • hot_reload: Make life_cycle work with hot_reload (3288b7a)

This also makes _get_decorator_name() more robust and less likely to produce a confusing error.

Signed-off-by: Patrick Avery patrick.avery@kitware.com

v2.17.1 (2024-02-16)

Bug Fixes

  • pywebview: Add menu support (580b012)

v2.17.0 (2024-02-16)

Continuous Integration

Features

  • pywebview: Allow method call on window object (80edbb7)

v2.16.1 (2024-02-09)

Bug Fixes

  • hot-reload: On controller (a910340)

v2.16.0 (2024-01-29)

Features

  • force_state_push: Add new server method (1e0b043)

v2.15.0 (2024-01-09)

Features

  • context: Add server.context, a server side only State object (f142a17)

v2.14.0 (2024-01-01)

Features

  • vue3: Vue3 client is the new default (662309e)

v2.13.1 (2023-12-08)

Bug Fixes

  • trigger: Update protocol to use controller function (62ac1be)

v2.13.0 (2023-12-08)

Documentation

  • README: Add TRAME_SERVER env variable description (22450e2)

Features

  • translator: Enable namespace child_server (61de095)

Testing

  • translator: Improve translator tests and avoid client dependency (385ce3d)

v2.12.1 (2023-10-31)

Bug Fixes

  • flush: Make sure server info is flushed (49525de)

v2.12.0 (2023-09-28)

Features

  • jupyter: Add support for Jupyter backend (2f2aa2b)

v2.11.7 (2023-07-20)

Bug Fixes

  • client_type: Allow default to be changed (8d99002)

Continuous Integration

v2.11.6 (2023-07-20)

Bug Fixes

  • client_type: Expose default client_type (7113e12)

v2.11.5 (2023-07-14)

Bug Fixes

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

v2.11.4 (2023-06-09)

Bug Fixes

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

v2.11.3 (2023-06-09)

Bug Fixes

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

v2.11.2 (2023-05-24)

Bug Fixes

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

v2.11.1 (2023-05-24)

Bug Fixes

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

v2.11.0 (2023-04-25)

Features

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

v2.10.0 (2023-03-27)

Features

  • args: Allow trame args to be specified separately (d2600c3)

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 patrick.avery@kitware.com

  • ArgumentParser: Subclass and allow parsing disable (22746dd)

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 patrick.avery@kitware.com

v2.9.1 (2023-02-15)

Bug Fixes

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

  • task_funcs: Allow controller with only task_funcs (c6fd518)

v2.9.0 (2023-02-08)

Features

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

v2.8.1 (2023-01-27)

Bug Fixes

  • version: Add trame_server.version (f6957f4)

Partially addresses Kitware/trame#183

Signed-off-by: Patrick Avery patrick.avery@kitware.com

v2.8.0 (2023-01-21)

Bug Fixes

  • controller: Add @once helper (f25db26)

Features

  • on_server_start: Add new life cycle (0db1961)

v2.7.2 (2023-01-20)

Bug Fixes

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 patrick.avery@kitware.com

v2.7.1 (2023-01-20)

Bug Fixes

  • Use host argument with wslink (#8, 8935e6a)

Add environment variable fallback for host definition

v2.7.0 (2023-01-09)

Features

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

v2.6.1 (2022-12-10)

Bug Fixes

  • corountine: Remove deprecated API for Py 3.11 (82d945d)

Using inspect.isawaitable rather than asyncio.coroutine

fix #7

v2.6.0 (2022-12-06)

Chores

  • security: Fixed Formatting (005192d)

  • security: Removed trailing whitespace (e242fed)

Features

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

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

v2.5.1 (2022-11-09)

Bug Fixes

  • isascii: Add python3.6 compatible isascii() method (a957cdf)

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 patrick.avery@kitware.com

v2.5.0 (2022-10-27)

Features

  • state: Report when state key is not serializable (fac8866)

v2.4.1 (2022-10-26)

Bug Fixes

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

fix #3

v2.4.0 (2022-10-24)

Features

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

v2.3.0 (2022-10-20)

Bug Fixes

  • state: Better network handling for collaboration (b3b0e2f)

Features

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

v2.2.1 (2022-09-27)

Bug Fixes

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

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

v2.2.0 (2022-09-22)

Features

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

v2.1.6 (2022-08-12)

Bug Fixes

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

Signed-off-by: Patrick Avery patrick.avery@kitware.com

v2.1.5 (2022-08-10)

Bug Fixes

  • trigger: Allow triggers to return something (aebfb01)

Chores

  • semantic-release: Bump version to latest (efb63ce)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

Documentation

  • coverage: Add setup.py to .coveragerc (ee4f01b)

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

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • coverage: Remove codecov PR comment (1ae8142)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

v2.1.4 (2022-06-14)

Bug Fixes

  • desktop: Add support for gui option (2d59706)

Documentation

  • codecov: Create and print coverage report (809a6de)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • codecov: Show coverage for all source files (1c2b98e)

This includes files that were not imported by the tests.

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • codecov: Upload coverage to codecov (3a00af1)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

v2.1.3 (2022-06-10)

Bug Fixes

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

v2.1.2 (2022-06-10)

Bug Fixes

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

Documentation

  • contributing: Add CONTRIBUTING.rst (27212aa)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

v2.1.1 (2022-06-06)

Bug Fixes

  • flush: Force flush for information print (fda6300)

v2.1.0 (2022-06-04)

Features

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

v2.0.2 (2022-05-30)

Bug Fixes

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

Chores

  • Downgrade python semantic release for fix (fc07473)

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 patrick.avery@kitware.com

  • Rename publish => release in github action (d25c852)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

v2.0.1 (2022-05-27)

Bug Fixes

  • Add github action for semantic release (661b74a)

Signed-off-by: Patrick Avery patrick.avery@kitware.com

  • async: Export task decorator (0fb23e9)

  • async: Fix method call (ddf6938)

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

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

  • vue_use: Fix typo in 'reduce_vue_use' (37823d4)

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

  • vue_use: Reduce duplicate and merge options (a8ce28b)

Chores

  • version: Bump version to publish (eb07d9a)

Documentation

  • api: Add missing API docstring (00e8ad4)

  • api: Update controller api (b02b741)