Htag

Latest version: v0.113.0

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 29 of 35

0.4.1

* FIX the way add interaction script (post js) with `__call__` : now it works like expected

0.4.0

* BIG/BREAKING CHANGES : The Tag.__init__(...) shouldn't be used anymore : use init() only !!!!!!!
* BIG/BREAKING CHANGES : all runners/Hrenderer takes tag subclass (no more an instance!), and create the tag instance at construction
* tag.parent refer to the parent Tag (except the root one, where its parent is None)
* fix webhttp when post with no htuid
* nearly 100% tested (tag+render statements)

0.3.3

minor fix : The Manager tcp server is now a real asyncio task (which seems to change nothing ;-( )

**Full Changelog**: https://github.com/manatlan/htagweb/compare/v0.3.2...v0.3.3

0.3.2

* if app set a statics Tag.title is prefered over default one (based on tag name)
* don't throw a log warning when dynamic tag are included in statics (they are converted to static silently)

0.3.1

* all runners are upgraded (taking host,port,openBrowser,debug options, and assert) : compatibiliy keeped
* WebHTTP can takes multiples class now
* WebHTTP can handle multiple client, multiple Tags ... and give "query_params" to tag constructor (if needed)
* WebHTTP can take a param "timeout" (by default 5min)
* runners http with starlette are now compatible with unicorn/reloader !!! exemple:

app = WebHTTP( MyTag )
if __name__=="__main__":
uvicorn.run("main:app",reload=True)

0.3.0

* Remove "Tag.NoRender" trick (too brain fucked) ... kiss ! (can be simulated easily)
* if Tag.init() is defined : it will use as a simplified init method (don't mix __init__() & init() ;-) )
(it's the old ".init(...)" behaviour of gtag)
* if Tag.render() is defined : Rendering (str) will call it before rendering -> useful for lately rendering (simple dynamic ones)
(it's the old ".build()" behaviour of gtag)

Page 29 of 35

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.