Ryan Morshead
c8adf959ff
fix type hint annoyance ( #908 )
...
* fix type hint annoyance
* add changelog
2023-02-02 18:39:43 -08:00
Ryan Morshead
aa26caa34d
avoid importing testing module ( #907 )
...
* avoid importing testing module
* add changelog
2023-02-02 18:36:34 -08:00
rmorshea
9f879a6690
version 1.0.0-a2
2023-01-31 23:52:36 -08:00
Ryan Morshead
53b8cc0ca9
add entry points ( #902 )
...
* add entry points
* changelog
2023-01-31 23:51:01 -08:00
Ryan Morshead
491c05ace2
Fix unmount ( #901 )
...
* remove upper bound
* revert #886 + add test + misc
* changelog entry
* changes for latest black
2023-01-31 23:31:25 -08:00
rmorshea
cc723dea43
version 1.0.0-a1
2023-01-28 17:01:45 -08:00
Ryan Morshead
e9c6f3c71f
update docs + changelog + fix warning ( #891 )
2023-01-27 18:24:01 -08:00
Ryan Morshead
764a5a8c9e
Unify vdom interface ( #841 )
...
* begin vdom interface unification
* turn script into cli app
* misc fixes
* convert vdom func usages too
* minor fix
* start fixes in source/tests/docs
* more fixes
* correct more tests
* improve warning
* improve coverage
* fix typo
* remove console logs
* Python<3.10 compat
* more cov
* skip python<3.9
* misc fixes
* better skip
* misc typing improvements + fix ico path
* error if no files
* test py 3.11
* warn on dir does not exist
* fix tests
* fix old class_name typos
* remove unused var
2023-01-27 17:17:43 -08:00
rmorshea
cc47748b84
version 0.44.0
2023-01-27 15:58:03 -08:00
Ryan Morshead
7bdcdfee52
remove deprecated code ( #887 )
...
* remove deprecated code
* minor changelog fixes
* test setter
* fix types
2023-01-24 14:50:15 -08:00
Ryan Morshead
6dfa5b52ff
no need to unmount on reconnect ( #886 )
2023-01-24 13:03:40 -08:00
Ryan Morshead
f7d7e2972e
check that url prefix starts with / ( #885 )
2023-01-24 11:03:30 -08:00
Ryan Morshead
981fd431a4
remove json patch ( #881 )
...
* remove json patch
* fix tests
* use sequence instead of list
* fix more tests
2023-01-23 20:32:01 -08:00
Ryan Morshead
d1a69f676b
Deprecate hotswap ( #876 )
...
* use non-editable install
* deprecate hotswap
2023-01-12 00:20:16 -08:00
rmorshea
b0ea49af7c
use non-editable install
2023-01-09 01:47:32 -08:00
rmorshea
ea485a4401
version 0.43.0
2023-01-09 01:30:33 -08:00
Ryan Morshead
b1d0507ba8
remove setup.cfg file ( #874 )
...
* remove setup.cfg file
* improve warning stack level + fix minor issue
* fix docker file
* use COPY instead of ADD in docker
this is recommended by docker: https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#add-or-copy
2023-01-09 01:25:43 -08:00
dependabot[bot]
0894df2cb9
Bump fast-json-patch from 3.1.0 to 3.1.1 in /src/client ( #864 )
...
Bumps [fast-json-patch](https://github.com/Starcounter-Jack/JSON-Patch ) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/Starcounter-Jack/JSON-Patch/releases )
- [Commits](https://github.com/Starcounter-Jack/JSON-Patch/compare/v3.1.0...3.1.1 )
---
updated-dependencies:
- dependency-name: fast-json-patch
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Morshead <ryan.morshead@gmail.com>
2023-01-08 23:32:29 -08:00
Ryan Morshead
80e7141559
remove fake user agent ( #873 )
...
see: https://github.com/ije/esm.sh/issues/484
2023-01-08 16:48:52 -08:00
Ryan Morshead
062171605f
remove should_render ( #870 )
...
* remove should render
also adds a regression test in the case a component does not render its
children
* changelog
* remove more unused code
* better test name
* fix style
2023-01-08 16:36:17 -08:00
Ryan Morshead
b04ec36ef9
misc updates to docs ( #872 )
2023-01-08 15:50:14 -08:00
rmorshea
976028073f
fix docs in docker
2023-01-05 09:28:14 -08:00
Ryan Morshead
4bc4a2a499
fix tests + upgrade doc dependencies ( #862 )
...
* fix tests + upgrade doc dependencies
* fake the User-Agent
2023-01-04 21:27:13 -08:00
dependabot[bot]
1e3fac1e42
Bump qs from 6.5.2 to 6.5.3 in /src/client ( #853 )
...
Bumps [qs](https://github.com/ljharb/qs ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases )
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3 )
---
updated-dependencies:
- dependency-name: qs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 10:54:44 -08:00
rmorshea
f196fbb431
version 0.42.0
2022-12-02 11:30:18 -08:00
Ryan Morshead
039d08d4a9
remove body from all
2022-12-01 15:48:15 -08:00
Ryan Morshead
55a4d1677a
add svg elements ( #844 )
...
* add svg elements
* make snake case
* Update src/idom/svg.py
2022-12-01 12:00:42 -08:00
Mark
9c3c300aa5
html_to_vdom
transform to remove html/body but preserve head content (#832 )
...
* Insert head content into html_to_vdom
* more efficient node appending
* add changelog
* nodes -> body node
* parsed_document -> html_node
* remove useless has_root_node variable
* fix comment
* del_html_body_transform
* fix type hint errors
* type hint fixes 2
* remove unusable head and body tags
* uno mas
* import future annotations
* fix docs warnings
* clean up last warning
* fix docstrings
* del_html_body_transform docstrings
* re-add head API
* fix changelog PR links
* docstring cleanup
* Better type hint
* Revert "Better type hint"
This reverts commit d78afdb99e
.
* more concise transform implementation
* fix merge error
* merge changelog better
* annotate as VdomDict
Co-authored-by: Ryan Morshead <ryan.morshead@gmail.com>
2022-12-01 11:24:38 -08:00
Alessio Civitillo
98a3d1e522
Form serialize ( #699 )
...
* first try to serialize form
* fix up form serialization
* fix test
* add form element serialization
* delete temp file
Co-authored-by: Alessio Civitillo <@acivitillo@dyvenia.com>
Co-authored-by: rmorshea <ryan.morshead@gmail.com>
2022-12-01 10:53:13 -08:00
Ryan Morshead
4fd5cdec2d
Make IDOM_DEBUG_MODE mutable + add Option.subscribe method ( #843 )
...
* make IDOM_DEBUG_MODE mutable + add Option.subscribe
subscribe() allows users to listen when a mutable option is changed
* update changelog
* remove check for children key in attrs
* fix tests
* fix resolve_exports default
* remove unused import
2022-11-29 20:00:48 -08:00
Ryan Morshead
0d4def4860
better run func warning ( #842 )
2022-11-29 19:51:30 -08:00
rmorshea
8f3785bad5
add deprecation warning to module_from_template
2022-11-29 17:55:21 -08:00
Ryan Morshead
97c0f428ba
allow users to configure html head ( #835 )
...
* allow users to configure html head
* add tests
* fix minor oversights
* fix use_debug hook
* fix types
* test head customization
* fix typing/docstring issues
* fix docs
* fix type anno
* remove indent + simplify implementation
* add changelog
* add test case for data- attributes
* use lxml for to html str
* fix tsts
* add final test
* minor improvements
* add comment
* refine camel to dash conversion
* Update test_utils.py
2022-11-29 11:49:02 -08:00
Ryan Morshead
f7c553ee1c
remove IDOM_FEATURE_INDEX_AS_DEFAULT_KEY opt ( #840 )
2022-11-22 16:49:18 -08:00
Ryan Morshead
cc9518d73d
fix cov ( #831 )
2022-11-06 09:24:54 -08:00
rmorshea
d44ab8bc12
version 0.41.0
2022-11-01 23:35:56 -07:00
Ryan Morshead
77e7f98fd6
define state as a generic named tuple ( #827 )
...
* define state as a generic named tuple
* changelog entry
2022-11-01 23:34:19 -07:00
Ryan Morshead
8ff09d2179
Vite ( #824 )
...
* add use_connection hook
* remove unused imports
* switch to using vite
* fix test
* fix cov
* fix unused imports
* check backend route priorities
* fix tests
* fix warning
* fix asyncio deprectation warning
* fix type annotation
* fix style
* strip url prefix from location
* remove unused imports
* remove default for search
2022-10-30 21:19:15 -07:00
Ryan Morshead
64c9e82ac6
add use_connection hook ( #823 )
...
* add use_connection hook
* add changelog entry
* upgrade uvicorn
* fix type annotation
* remove unused imports
* update docstring
* increase type delay
* configure default delay
2022-10-30 12:12:04 -07:00
Ryan Morshead
50e42c012e
set event loop policy for windows ( #820 )
2022-10-17 20:54:35 -07:00
Ryan Morshead
688a16d163
schedule test once a week rather than one per day
...
it seems unnecessary to run this every day. we can up the cadence later if needed
2022-10-10 17:40:04 -07:00
Mark
cba66aa29a
Fix model state ID logging ( #818 )
2022-10-07 01:05:07 -07:00
Ryan Morshead
d7a71b3cf7
allow string return type ( #817 )
2022-10-07 00:37:20 -07:00
Kurtsley
6fe9fa2957
changed first name to last name and email ( #815 )
2022-10-04 18:53:35 -07:00
Ryan Morshead
f59af5500a
Update badge image link
2022-10-04 10:55:09 -07:00
dependabot[bot]
1254aaa9f0
Bump vm2 from 3.9.9 to 3.9.11 in /src/client ( #814 )
...
Bumps [vm2](https://github.com/patriksimek/vm2 ) from 3.9.9 to 3.9.11.
- [Release notes](https://github.com/patriksimek/vm2/releases )
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.9...3.9.11 )
---
updated-dependencies:
- dependency-name: vm2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 14:21:11 -07:00
Ryan Morshead
dbd88e2278
remove extra element in testing ( #812 )
2022-09-17 18:20:20 -07:00
rmorshea
b17a9513fb
version 0.40.2
2022-09-13 15:47:27 -07:00
Ryan Morshead
7caa4aba68
bypass jsonpatch ( #809 )
2022-09-13 01:37:43 -07:00
rmorshea
824eeb506c
version 0.40.1
2022-09-11 21:37:57 -07:00