Skip to content

Test#33

Merged
JulianKimmig merged 37 commits intomainfrom
test
Jan 7, 2026
Merged

Test#33
JulianKimmig merged 37 commits intomainfrom
test

Conversation

@JulianKimmig
Copy link
Member

No description provided.

JulianKimmig and others added 30 commits January 5, 2026 17:31
Update React/pyodide worker integration to match the new sync and
communication APIs and refresh the dependency stack + lockfile.

BREAKING CHANGE: Requires @linkdlab/funcnodes_react_flow ^2.
Move Pyodide-only imports behind the emscripten platform guard and
lazy-import update_config inside patch() to prevent import-time
failures in other runtimes.
Allow saving/restoring the pyodide worker export via localStorage when
`restore_worker_state_on_load` is set, skipping initial full sync on
successful restore.

Update the communication manager byte handler to `onbytes` and pass
`debug` plus a temporary `worker_url` required by the current renderer.
Add a detailed README for the pyodide + react-flow integration, add a
PyodideWorker.get_info() helper, and introduce basic Node/pytest checks
to catch import/type/dispatch regressions.
Normalize package specs to absolute URLs, and skip installing
funcnodes-pyodide from PyPI when a funcnodes_pyodide wheel is provided.

Update README with correct paths and local-wheel workflow, and add
sanity tests for the new behavior.
Ensure find_free_port always closes sockets, use get_running_loop() when
spawning the worker task, and tighten worker message forwarding and
package info collection.
Correct paths in the README for the funcnodes_pyodide directory, enhance formatting for clarity, and streamline local development instructions. Adjusted emphasis on deliverables and improved command examples for better readability.
Support `?load=...` in `src/react/index.html` to fetch a `.fnw` export and
apply it to the worker on startup, and document the flow in README.
Refactor the loading mechanism for worker exports in `index.html` to include base64 encoding for binary files and improve error handling. Update tests to reflect changes in query parameter handling and ensure proper application of loaded exports.
Support `?load=...` in `src/react/index.html` to fetch a `.fnw` export and
apply it to the worker on startup, and document the flow in README.
build(react)!: bump pyodide to 0.29.0

Update default Pyodide CDN URL and normalize PyProxy dict payloads.
Align peerDependencies with devDependencies and add regression tests.

BREAKING CHANGE: Requires pyodide ^0.29.0 and bumps peer deps to
react ^19.2.3 and @linkdlab/funcnodes_react_flow ^2.1.2.
Update the receivepy_bytes function to properly convert PyProxy payloads using the toJs method and ensure that only Uint8Array is forwarded to workerState. Add a new test to verify the correct handling of normalized bytes.
- Introduced a new workflow for publishing React packages to npm on main/master branch updates.
- Added a testing workflow for React that runs on dev and test branches.
- Enabled corepack in both workflows to manage package dependencies effectively.
- Updated comments for clarity in the npm build workflow regarding working directory context.
…and modify typecheck script

- Updated the version of @linkdlab/funcnodes_react_flow in both package.json and yarn.lock to 2.2.0.
- Changed the typecheck script in package.json to remove the --watch flag for a more straightforward type checking process.
…7647

chore: update build files [skip ci]
…command in npm build workflow, but ignore yarn.lock
…1527

chore: update build files [skip ci]
…8290

chore: update build files [skip ci]
@JulianKimmig JulianKimmig merged commit 643a18b into main Jan 7, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant