Htag

Latest version: v0.113.0

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

Scan your dependencies

Page 11 of 35

0.30.0

Another big changes ;-)

**BREAKING CHANGES**: the tag.render() method, doesn't make an implicit clear anymore.

If you have htag components, whose were using a `render` method (htag <= 0.20), like that :

python
. . .
def render(self):
self += "Hello world"
. . .


to be compatible with htag >= 0.30, you'll have to change to

python
. . .
def render(self):
self.clear() <- add the same behaviour from the past
self += "Hello world"
. . .


But in reality: you should rethink your component to adapt this new behaviour. Because now, the construction'part should stay in the 'init', and 'render' would be limited to update some things (making dynamic components simpler!) (like before: you shouldn't create tags in render (because will force rendering at each interaction))

It's a lot more consistent with logical internal things. And let do more powerful things.

Technically, the is no more "static component" vs "dynamic component" ! Component which use a render method can have a dynamic behaviour, but can make static changes (on interactions too).

It's a lot lot better/simpler, like that !
Need to update docs and demo (todo 16 )

**Full Changelog**: https://github.com/manatlan/htag/compare/v0.20.0...v0.30.0

0.24.0

can handle cross-origin session/cookies(authent) when in an iframe from another origin

**Full Changelog**: https://github.com/manatlan/htagweb/compare/v0.23.0...v0.24.0

0.23.0

Revert back to v0.21.2, the only addition is :

- ServerClient.info()

**Full Changelog**: https://github.com/manatlan/htagweb/compare/v0.21.1...v0.23.0

0.22.1

**BAD VERSION : don't use**

fix: tag.update

**Full Changelog**: https://github.com/manatlan/htagweb/compare/v0.22.0...v0.22.1

0.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**: https://github.com/manatlan/htagweb/compare/v0.21.1...v0.22.0

0.21.2

Page 11 of 35

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.