Htag

Latest version: v0.113.0

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

Scan your dependencies

Page 19 of 35

0.9.20

Big changes ;-)

- **DEPRECATED** : The `self.__call__( js:str )` (`self( js:str)`) is DEPRECATED : use `self.call( js:str )` : it's more explicit.
- **NEW SYNTAX** : things like `self.call( self.bind.mymethod(*a,**k) )` can be replaced by `self.call.mymethod(*a,**k)`. It does exactly the same thing.
- **DEPRECATED** : The `tag` var in IIFE generated javascript is DEPRECATED, use `self` instead : it's more explicit.

**Full Changelog**: https://github.com/manatlan/htag/compare/v0.9.13...v0.9.20

0.9.13

0.9.12

**Don't use this release : it slows down all. Seems to be a big regression by slowing down the full process of the rendering part. This release was removed from pypi**. Use 0.9.11 instead !

Minor changes :

- caller is callable (you can call a python caller .... if `tag["onclick"]=self.doSomething`, you can call it like that `tag["onclick"]()` )
- dynamic tags (which use its own `render(self)` method), display a warning if there are "htag.Tag creations" in its render() method at runtime, or raise an exception (if STRICT_MODE is enabled). Just to prevent to use "htag.Tag creations" in dynamic tags, because it will force re-rendering at each exchange (because newly `id` will be generated at each creation, and will force rerendering)


**Full Changelog**: https://github.com/manatlan/htag/compare/v0.9.11...v0.9.12

0.9.11

A big evolution : no more "interaction 0" (body/"loading ..."): the first rendering render the full first state while getting the page. It's a lot better for SEO troubles, because now : the crawlers can read the first page (no more "loading ..." in 1st page).

**Full Changelog**: https://github.com/manatlan/htag/compare/v0.9.9...v0.9.11

0.9.9

runner WebHTTP create a "session" (dict) property for its managed htag apps. So they can share things for a same users ;-)

0.9.8

Runner WebHTTP doesn't need a main htag tag class ! (and remove the recent 'path' parameter) : because the same feature is available like that :

python
app=WebHTTP( )
app.add_route("/path", lambda request: app.serve( request, AppTag ) )


**Full Changelog**: https://github.com/manatlan/htag/compare/v0.9.7...v0.9.8

Page 19 of 35

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.