Skip to content

v0.3.0

Choose a tag to compare

@paulomtts paulomtts released this 13 Feb 03:13
· 363 commits to master since this release

What's New

CSS Auto-Discovery & Injection

Components now support automatic CSS collection, mirroring the existing JavaScript handling. Place a kebab-case .css file next to your component and it's auto-injected as a <style> tag.

Improved Asset Injection

  • Scripts append after HTML instead of prepending — DOM elements exist when scripts run
  • Separate <script>/<style> tags per component — a syntax error in one doesn't break others
  • CSS injected before HTML — styles apply immediately on render

Missing Asset Warnings

Extra JS/CSS files that don't exist now emit a warning via the pyjinhx logger instead of being silently ignored.

Cached File Index

Finder.collect_javascript_files() and Finder.collect_css_files() now use a cached directory index for better performance.

Documentation Overhaul

  • Comprehensive rewrite of all guide and API reference pages
  • Added Claude Code integration guide with custom slash command
  • Renamed "JavaScript Collection" to "Asset Collection" throughout

Breaking Changes

  • Rendered HTML output order changed: <style> → HTML → <script> (was <script> → HTML)
  • Each component's assets get individual tags instead of one concatenated block