Skip to content

Releases: sparckles/starfyre

v0.21.0 - add client side serialization and deserialization

20 Jan 22:42
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.20.1...v0.21.0

v0.20.1 - fix starfyre's cli invocation

02 Jan 20:57
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.20.0...v0.20.1

Now you can use starfyre --flags in addition to python -m starfyre --flags

v0.20.0 - add a dependency management system

27 Dec 16:44
Compare
Choose a tag to compare

What's Changed

To manage dependencies in your project, create a starfyre_config.toml file in the root directory of your project. This file serves as a configuration for specifying dependencies. The format for declaring dependencies is as follows:

pyxide_packages = [] # for client-side packages
server_packages = [] # for server-side packages

[js_modules]
is_odd = "https://cdn.jsdelivr.net/npm/[email protected]/+esm"
Fireworks = "https://cdn.jsdelivr.net/npm/[email protected]/+esm"

Dependencies can be specified using the following commands:

python3 -m starfyre --add-pyxide-package="package-name"
python3 -m starfyre --add-server-package="package-name"
python3 -m starfyre --add-js-module="module-name" --as="alias"

Sample Usage

# client-side code
from pyscript.js_modules import Fireworks
from pyscript import document

container = document.querySelector("[data-pyxide-id='root']")
f = Fireworks.Fireworks.new(container)
f.start()

Full Changelog: v0.19.4...v0.20.0

v0.19.4 - fix package import issues

05 Dec 22:57
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.19.2...v0.19.4

v0.19.2 - fix support for ids and add data-pyxide-ids

04 Dec 23:27
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.19.1...v0.19.2

v0.19.1 - Adopt Pyscript and add '@' for source imports

17 Nov 11:40
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.18.0...v0.19.1

v0.18.0 - remove intermediate build step and add a public folder

26 Oct 21:10
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.17.0...v0.18.0

v0.17.0 - add --create and --serve flags to the cli

15 Oct 01:02
Compare
Choose a tag to compare

What's Changed

  • feat: add --create and --serve flags to the cli by @sansyrox in #104

Full Changelog: v0.16.1...v0.17.0

v0.16.1 - fixes build time imports

14 Oct 23:56
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.16.0...v0.16.1

v0.16.0 - include all folders in the build directory

30 Sep 23:48
Compare
Choose a tag to compare

What's Changed

  • feat: copy all the folders in the build directory by @sansyrox in #99

Full Changelog: v0.15.0...v0.16.0