Releases: manatlan/htagweb
v0.7.1
FQN (full qualified name) should not contains ":", only dots to the target class.
when fqn is in url, browser considers ":" as a protocol, and all goes wrong ;-(. Now, the trouble is gone away.
Now, AppServer is fully compatible with WebServer/WebServerWS/WebHTTP/WebWS (classic web ones), except :
- if you are on a SSL transport, you should instance
AppServer(ssl=True)
(to let the ws communicates on wss:// in place of ws:// (default)) - when you hit F5, it doesn't reuse the instance (like classic web ones), it destroy/recreate all. So states should be saved in
self.root.state
(dict) - no unittests on htagweb.AppServer yet (NEED TO CREATE SOMES)
I use it in production, on https://www.mlan.fr/ ...and seems to works great with all my htag apps (not availables for all)
Full Changelog: v0.7.0...v0.7.1
v0.7.0
Add another new runner "AppServer", which is fully compatible with old classics ones : WebServer/WebServerWS/WebHTTP/WebWS.
Except: tags should use "self.root.state" to maintain a state (because F5 will destroy/recreate instances)
And yes, there is no "0.6.0" (because, lot of troubles when ci/cd/crafting whl for pypi) ;-)
Full Changelog: v0.5.0...v0.7.0
v0.5.0
- the htagserver runner, works as others htag classical runners (can handle a main tag for its '/' path, have a .run() method, can use add_route )
- an example of an oauth2 flow (google), using authlib, and inner runners (WebServer, WebServerWS & HTagServer)
- the one liner "python3 -m htagweb" accept a parameter 'fqn' (ex: 'main:App'), to define a htag class for its "/" page.
Full Changelog: v0.4.3...v0.5.0
v0.4.3
v0.4.2
v0.4.1
v0.4.0
htagweb provided WebServer & WebServerWS, which are "robust" web servers for exposing htag's app on the web.
Now, it provides a different beast "HtagServer" (you can run it, by default, in command line python3 -m htagweb
). Which will expose the current working directory in a http/ws server. It doesn't work as WebServer & WebServerWS, or classicals htag runners. It's a completly new concept. But it provides all the highends features of web/htag. I'm exploring that ;-)
v0.3.3
minor fix : The Manager tcp server is now a real asyncio task (which seems to change nothing ;-( )
Full Changelog: v0.3.2...v0.3.3
v0.3.2
A minor fix, to avoid to try reloading module, when the module contains the htagweb instance (to avoid to reload server which will not work). So the test.py (minimal example) should work again. But IRL you should use gunicorn/uvicorn (which can't have this kind of trouble)
Full Changelog: v0.3.1...v0.3.2
v0.3.1
the renewal mechanism works now as expected (the module is reloaded on demand)
Full Changelog: v0.3.0...v0.3.1