Weba

Latest version: v0.2.30

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

Scan your dependencies

Page 1 of 5

0.2.30

<!-- Release notes generated using configuration in .github/release.yml at main -->
- fix: fixes typing issues


**Full Changelog**: https://github.com/cj/weba/compare/v0.2.29...v0.2.30

0.2.29

<!-- Release notes generated using configuration in .github/release.yml at main -->

- fix: better handles lxml parser
- refactor: improved lxml parser code
- chore: added more lxml tests, which brought back test coverage to 100%

**Full Changelog**: https://github.com/cj/weba/compare/v0.2.28...v0.2.29

0.2.28

<!-- Release notes generated using configuration in .github/release.yml at main -->

- feat: works with lxml and lxml-xml as parsers now
- chore: added tests

**Full Changelog**: https://github.com/cj/weba/compare/v0.2.27...v0.2.28

0.2.27

<!-- Release notes generated using configuration in .github/release.yml at main -->

- chore: added tests for LRU caching to get back to 100% test coverage
- chore: refactored LRU caching

**Full Changelog**: https://github.com/cj/weba/compare/v0.2.26...v0.2.27

0.2.26

<!-- Release notes generated using configuration in .github/release.yml at main -->

- [refactor: Modify caching mechanism for source file and content parsing](https://github.com/cj/weba/commit/1744c57dbd664b80928fb2f5d6f4656d06b2759b)

WEB_LRU_CACHE_SIZE change, it's now off by default:
- `WEBA_LRU_CACHE_SIZE`: Controls caching of parsed HTML templates and file contents:
- When set: Enables LRU caching with the specified maximum size
- When not set: Disables caching, templates and files are re-read on every access

Example:

bash
export WEBA_LRU_CACHE_SIZE=256 Enable caching with max 256 entries
unset WEBA_LRU_CACHE_SIZE Disable caching completely


- [refactor: moved errors to their own file](https://github.com/cj/weba/commit/152cfc9e71a3a9279dabb8734f059854c7856412)

**Full Changelog**: https://github.com/cj/weba/compare/v0.2.25...v0.2.26

0.2.25

<!-- Release notes generated using configuration in .github/release.yml at main -->

- feat: added LRU caching for the src html of Components

- `WEBA_LRU_CACHE_SIZE`: Controls the maximum size of the LRU cache used for storing parsed HTML templates and file contents. Defaults to 128. Example:

bash
export WEBA_LRU_CACHE_SIZE=256 Increase cache size to 256 entries


**Full Changelog**: https://github.com/cj/weba/compare/v0.2.24...v0.2.25

Page 1 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.