Chase Sterling
3c5974c2e1
Python SDK: Allow objects with the __html__ protocol to be used for merge_fragments ( #837 )
...
* Allow objects with the __html__ protocol to be used for merge_fragments
* Clarify what HasHtml is for with a docstring
2025-04-14 19:31:20 -06:00
Chase Sterling
a705eb7044
Add redirect helper on python ServerSentEventGenerator ( #836 )
2025-04-14 10:33:12 -06:00
Chase Sterling
16fa3cdd90
Python SDK: change `merge_fragments` to take a string rather than list ( #822 )
...
* python sdk: change merge_fragments to take a string rather than list
* Change merge_fragments for fasthtml to accept a string rather than list
2025-04-11 13:01:09 -06:00
Ben Croker
9c36bae809
1.0.0-beta.11
2025-03-29 12:15:41 -06:00
Chase Sterling
e422bbdecc
Split various python SDK frameworks to different modules ( #770 )
...
* Allow passing arguments to the generator function in fastapi sdk
* Allow passing extra headers in FastAPI streaming response
* Keep method signature of upstream FastAPI streaming response
* Split out python sdk frameworks into their own modules
Make all python sdk frameworks mirror the native way of streaming responses
* Rename the sanic helper in python sdk to match sanic convention.
Add some type hinting to sanic helper
* ruff format new python sdk files
2025-03-29 08:05:42 -06:00
Ben Croker
d7fba2787e
1.0.0-beta.10
2025-03-23 10:15:43 -06:00
Chase Sterling
d8dacf01d7
make python sdk compatible with python <3.11 ( #777 )
2025-03-18 10:49:11 -06:00
Chase Sterling
59c5221b7a
Make consts in python SDK more idiomatic. fix #767 ( #773 )
...
* Make consts in python SDK more idiomatic. fix #767
* Make python sdk consts match ruff formatting
2025-03-18 07:36:38 -06:00
Ben Croker
c35b85ce4e
Remove settling from SSE events and SDKs ( #764 )
...
* Remove settling
* Add release note
* Bump PHP SDK version
* Remove from composer
2025-03-15 16:25:33 -06:00
Ben Croker
978598f52d
Prep for 1.0.0-beta.9
2025-02-28 11:14:22 -06:00
Ben Croker
87b200f764
v1.0.0-beta.8
2025-02-25 09:06:18 -06:00
Lucian
b85a6b1241
feat(SDK): FastHTML SSE response and example ( #576 ) ( #624 )
...
* feat(SDK): FastHTML SSE response and example (#576 )
* feat(sdk): add simple fasthtml example
* remove comments
---------
Co-authored-by: Lucian Knock <git@lucianknock.com>
2025-02-19 10:40:30 -06:00
Ben Croker
47afc9e01e
v1.0.0-beta.7
2025-02-14 09:10:45 -06:00
Ben Croker
e822f2c416
Prep for v1.0.0-beta.6
2025-02-12 16:37:12 -06:00
Ben Croker
31b0c51a76
Prep for beta.5
2025-02-09 17:29:43 -06:00
Ben Croker
1004107c93
Prep for 1.0.0-beta.4
2025-02-08 19:10:38 -06:00
Ben Croker
701370246f
Prep for 1.0.0-beta.3
2025-02-01 08:35:20 -06:00
Ben Croker
cf7807b39b
Improve SDK docs
2025-01-25 17:56:24 -06:00
Ben Croker
0f2d428cbc
1.0.0-beta.2
2025-01-21 09:25:57 -06:00
Ben Croker
ea19292f95
SDK fixes
2025-01-18 16:56:37 -06:00
Delaney
fa24bd44e4
Rename nested signals in library ( #480 )
...
Fixes #478
2025-01-13 19:19:58 -06:00
Delaney
eee4e3c981
Better error on invalid expressions and signals ( #466 )
...
* Better error messages for nested signals
Fixes #452
* Add explicit check for invalid signal
* move to generic errors
* working towards better error pages
* Tweak errors
* more complete example
* bad templ
* Start porting over errors
* Better error messages for nested signals
Fixes #452
* fix nil pointers
* Migrate remaining errors
* Fix init errors
* Tweaks
* Add suggested signal names
* Improve styling and close input elements
* Cleanup
* syntax highlight
* Fixes
* More fixes
* Tweaks
* Update library size approximation
* fix lines and escaping
* add if
* Finish default error messages
* Finish PR
---------
Co-authored-by: Ben Croker <ben@putyourlightson.com>
2025-01-12 20:16:25 -06:00
Ben Croker
0ed8abf34d
Add `Look ma’` to readme
2025-01-08 12:22:00 -06:00
Felix Ingram
3c6c29f3b9
SDK for python ( #250 )
2025-01-05 10:35:33 -06:00