Skip to content

v0.1.6

Choose a tag to compare

@jackielii jackielii released this 01 Nov 15:21
· 138 commits to main since this release

Changes

Bug Fixes

  • ID/IDTarget functions now support plain strings: Plain strings passed to ID() and IDTarget() are returned as-is, giving users full control over the returned value
    • ID(ctx, "body") → "body"
    • IDTarget(ctx, "#my-id") → "#my-id"
    • Fixes panics when passing string variables to these functions

Improvements

  • Added comprehensive test coverage for string handling (98% overall coverage)
  • Updated documentation with clearer parameter descriptions
  • Better error messages for unsupported types

Breaking Changes

None - this is a bug fix that maintains backward compatibility with existing code.