Releases: sparckles/starfyre
Releases · sparckles/starfyre
v0.21.0 - add client side serialization and deserialization
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #131
- Render the tree on the client by @sansyrox in #126
- Docs/cli docs by @sansyrox in #138
- feat: add a global starfyre import way by @sansyrox in #135
Full Changelog: v0.20.1...v0.21.0
v0.20.1 - fix starfyre's cli invocation
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
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in this pull request
- Feature: Implementation of a method to add dependencies by @sansyrox in this pull request
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
v0.19.2 - fix support for ids and add data-pyxide-ids
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #116
- fix: support for ids and add data-pyxide-ids by @sansyrox in #119
New Contributors
- @pre-commit-ci made their first contribution in #116
Full Changelog: v0.19.1...v0.19.2
v0.19.1 - Adopt Pyscript and add '@' for source imports
v0.18.0 - remove intermediate build step and add a public folder
What's Changed
- Fix typo by @patrick91 in #105
- refactor: remove intermediate build step and copy public folders by @sansyrox in #109
New Contributors
- @patrick91 made their first contribution in #105
Full Changelog: v0.17.0...v0.18.0
v0.17.0 - add --create and --serve flags to the cli
What's Changed
Full Changelog: v0.16.1...v0.17.0
v0.16.1 - fixes build time imports
v0.16.0 - include all folders in the build directory
What's Changed
Full Changelog: v0.15.0...v0.16.0