Skip to content

Releases: starfederation/datastar-python

v1.0.0

17 Apr 00:10

Choose a tag to compare

Updated the SDK for the Datastar 1.0 release! 🚀

What's Changed

  • fasthtml: use attribute generators in examples by @axelknock in #29
  • fastapi example: fix response_class by @joris-r in #31
  • pre-commit autoupdate 2026-02-25 by @cclauss in #32
  • Handle DELETE method in ReadSignals by @bencroker in #37
  • Fix: default to status 200 for non-empty DatastarResponse (Litestar) by @tompassarelli in #39
  • Update attributes for upcoming v1 changes by @gazpachoking in #40
  • Add ruff rules for Pylint, Refurb, and type hints by @cclauss in #35
  • Keep GitHub Actions up to date with GitHub's Dependabot by @cclauss in #33
  • Fixed type hint for patch_signals by @nicobako in #36
  • Bump the github-actions group with 5 updates by @dependabot[bot] in #41

New Contributors

Full Changelog: v0.8.0...v1.0.0

v0.8.0

19 Dec 19:48

Choose a tag to compare

What's Changed

  • Update for changes with datastar RC.7
    • patch_elements now allows a 'namespace' argument
    • The on_intersect attribute helper now has 'exit' and 'threshold' options
    • Updates the examples to use RC.7
  • Drops support for python 3.9 as it is EOL
  • Updates fasthtml examples to be compatible with RC.6+ (it was missed before)
  • Use const instead of fixed value by @anastygnome in #25
  • Set the version of python to the MSV in the CI workflow by @anastygnome in #26

New Contributors

Full Changelog: v0.7.0...v0.8.0

v0.7.0

21 Oct 16:23
03a7f91

Choose a tag to compare

What's Changed

  • Attribute generator has been updated to support datastar RC.6 (and is now incompatible with RC.5) by @gazpachoking in #22

Full Changelog: v0.6.5...v0.7.0

v0.6.5

15 Aug 02:31

Choose a tag to compare

What's Changed

Full Changelog: v0.6.4...v0.6.5

v0.6.4

07 Aug 20:22

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.3...v0.6.4

v0.6.3

18 Jul 19:43

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.2...v0.6.3

v0.6.2

15 Jul 19:30

Choose a tag to compare

What's Changed

  • Fix runtime type introspection for datastar_response decorator by @gazpachoking in #2

Full Changelog: v0.6.1...v0.6.2

v0.6.1

15 Jul 16:32

Choose a tag to compare

Fixed

  • Sanic DatastarResponse now properly handles a collection of events.

Full Changelog: v0.6.0...v0.6.1

v0.6.0

15 Jul 16:02

Choose a tag to compare

  • Updated to support Datastar 1.0.0-RC.1
  • Added @datastar_response decorator to facilitate generator handlers that yield Datastar events.

This SDK release is not compatible with older versions of Datastar.