Releases: manatlan/htagweb
v0.30.2
v0.30.1
Full rewrite from scratch ... the third try ;-)
Seems to work as expected ... to compare with previous pypi release (0.24.0) :
- python > 3.7 (coz use shared-memory-dict)
- only POSIX (no more windows support)
- a lot simpler (use namedpipes in place of redys and multiple loops)
- really compatible with multiple uvicon workers (fix #4)
- the tag.update() feature is better handled in this version
- more unittests
- own a better/simpler manager (see htagweb.manage)
I use it in production ;-)
But pretty sure, they are still some bugs for now ...
Thanks to IDX, which let me rewrite all from a simple chromebook in neat/(ultra-)decent vscode/nix/docker env. (easier than a real computer!)
Thanks to alwaysdata, which let test all IRL ;-)
v0.24.0
can handle cross-origin session/cookies(authent) when in an iframe from another origin
Full Changelog: v0.23.0...v0.24.0
v0.23.0
Revert back to v0.21.2, the only addition is :
- ServerClient.info()
Full Changelog: v0.21.1...v0.23.0
v0.22.1
v0.22.0
BAD VERSION : don't use
- ServerClient.info() -> dict : returns more info about the current process/htag instance
- refacto : no more redys ref in appserver
Full Changelog: v0.21.1...v0.22.0
v0.21.2
exactly the same as 0.21.1 ;-)
NOTE : Seems stable in gunicorn or uvicorn.
(in fact, I thought it was not stable, because I used to test into the same navigator (chrome + private chrome), and it seems that they share some tcp sockets, and generates some troubles in server side ... and so : it was not a good idea ! With 2 different navigator : no trouble at all)
v0.21.1
- better stopServer (if exceptions in killall, it finally stop redys)
- when socket disconnect : try to wait the task cancellation
NOTE : it's not better in gunicorn ... but seems fully ok with uvicorn
Full Changelog: v0.21.0...v0.21.1
v0.21.0
- fix: htagserver.IndexApp was in global scope, so its statics were shared with all apps runned thru a htagweb server
- and hopefully : the graceful shutdown whould be there (with redys 0.9.20)
IMPORTANT : this version is great .... but with websocket mode, there are troubles... will fix soon!
you can use it in http mode, with http_only=True
Full Changelog: v0.19.0...v0.21.0
v0.19.0
new:
- time_inactivity (int, default is 0) can be specified in the AppServer constructor, or be overriden in its .handle(). when the process/instance has no activities after this time : it's suicide from itself. By default : it's 0 : so the process lives as long as the server lives (default behaviour of previous htagweb versions)
- add an UT for this
fix :
- time_interaction, defaulted to 60s (and should work has expected, now)
Full Changelog: v0.18.1...v0.19.0