- Fix pyproject syntax
(
296c4cd
)
- state: Example of state.modified_keys usgae
(
ca5b51e
)
- state: Add modified_keys accessor
(
12733a1
)
- state: Fix possible exec order swap
(
1f8dd8a
)
- wslink: Remove AppKey warning
(
b0bf240
)
- 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
- pyproject: Fix syntax
(
b6e171a
)
- Pre-commit hooks
(
b6e6b39
)
- ruff: Handle lint suggestion
(
ab94d97
)
-
Improve project automation (
37d33cc
) -
Pre-commit prettier (
e331a05
) -
codecov: Try to fix upload (
ca4814b
)
- readme: Update README.rst
(
73bad67
)
- enable_module: Return True if the module was loaded
(
84aa953
)
- Update README.rst
(
203cdf2
)
- state: Get 100% coverage
(
d9db56f
)
- ci: Update to pyproject and ruff
(
406ae4a
)
-
example: Add child-server with size observer (
c3bf08c
) -
example: Child server translation (
c5b917d
) -
state: Add missing doc strings (
09af332
)
- prefix: Add exclamation to JS delimiters
(
74dfcc6
)
- prefix: Add comma to JS delimiters
(
3d754ab
)
- child_server: Update example
(
9feae26
)
- child_server: Fix method binding on event
(
211a196
)
- network_completion: Allow to await network_completion
(
da22615
)
- perf: State comparison
(
f23240b
)
- client: Add support for msgpack layer
(
2d89a0e
)
- http: Enable header override for built-in server
(
f4467d1
)
- banner: Provide option to force flush stdout
(
1eabdaf
)
-
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
)
- state: Allow to clear client cache
(
532080b
)
- wslink: Use msgpack and chunking for ws data exchange
(
6cad8a7
)
BREAKING CHANGE: use wslink>=2 that deeply change network handling
- wslink: Use wslink>=2 that deeply change network handling
- wslink: Prevent fetching v2
(
e5c0969
)
- 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
- pywebview: Add menu support
(
580b012
)
- Pre-commit
(
1891427
)
- pywebview: Allow method call on window object
(
80edbb7
)
- hot-reload: On controller
(
a910340
)
- force_state_push: Add new server method
(
1e0b043
)
- context: Add server.context, a server side only State object
(
f142a17
)
- vue3: Vue3 client is the new default
(
662309e
)
- trigger: Update protocol to use controller function
(
62ac1be
)
- README: Add TRAME_SERVER env variable description
(
22450e2
)
- translator: Enable namespace child_server
(
61de095
)
- translator: Improve translator tests and avoid client dependency
(
385ce3d
)
- flush: Make sure server info is flushed
(
49525de
)
- jupyter: Add support for Jupyter backend
(
2f2aa2b
)
- client_type: Allow default to be changed
(
8d99002
)
- Fix version
(
bd31c8b
)
- client_type: Expose default client_type
(
7113e12
)
- argparse: Skip -- when processing trame-args
(
c4333fb
)
- backend: Allow backend selection from TRAME_BACKEND env
(
a160297
)
- info: Ensure dynamic port to be printed
(
0c7f53a
)
- reload: Don't reload state change corountine
(
ba05514
)
- hot-reload: Remove async task from reload
(
cba6a7f
)
- py-client: Add Python client to drive remote state
(
6904605
)
- 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
-
on_server_exited: Run exit tasks till completion for exec_mode=main (
876d536
) -
task_funcs: Allow controller with only task_funcs (
c6fd518
)
- client_type: Improve module handling to support vue2/3
(
000899e
)
- version: Add trame_server.version
(
f6957f4
)
Partially addresses Kitware/trame#183
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- controller: Add @once helper
(
f25db26
)
- on_server_start: Add new life cycle
(
0db1961
)
- dev: Add hot reloading
(
5884ede
)
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
Add environment variable fallback for host definition
- ready: Add ready future on server to await
(
6b72322
)
- corountine: Remove deprecated API for Py 3.11
(
82d945d
)
Using inspect.isawaitable rather than asyncio.coroutine
fix #7
-
security: Moved authKeyFile argument from wslink to trame-server (
9c3b6fc
) -
security: Use authKeyFile argument if present (
5c4fb3b
)
- 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
- state: Report when state key is not serializable
(
fac8866
)
- file-upload: Properly filter fields for client sync
(
1656aab
)
fix #3
- no-http: Add cmd option to disable HTTP serving
(
d34c471
)
- state: Better network handling for collaboration
(
b3b0e2f
)
- state: Allow state change to be async + add clean method
(
fa41cdd
)
-
aiohttp.router: Simplify route management (
245baaf
) -
controller: Add support for async tasks (
45bf037
)
- wslink: Add lifecycle to allow web server routes to be added
(
9432cc8
)
- wslink: Handle new --reverse-url cli arg
(
eb4eceb
)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- trigger: Allow triggers to return something
(
aebfb01
)
- semantic-release: Bump version to latest
(
efb63ce
)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- 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
- desktop: Add support for gui option
(
2d59706
)
- 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
- state.update: Prevent equal value to trigger change
(
5d2d5e1
)
- state: Prevent equal value to trigger change
(
4c3165f
)
- contributing: Add CONTRIBUTING.rst
(
27212aa
)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- flush: Force flush for information print
(
fda6300
)
- ui: Introduce virtual node manager on server
(
f50551e
)
- state: No @state.change exec before server ready
(
50acbb5
)
- 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
- 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
)
- version: Bump version to publish
(
eb07d9a
)