Files
smartdeno/changelog.md

49 lines
3.2 KiB
Markdown
Raw Permalink Normal View History

# Changelog
## 2025-12-02 - 1.2.0 - feat(smartdeno)
Run small scripts in-memory via stdin, fall back to temp files for large scripts; remove internal HTTP script server and simplify plugin dependencies; update API and docs.
- Execute scripts < 2MB via stdin (deno run -) to support fully in-memory execution with no disk I/O.
- Automatically write scripts >= 2MB to a temp file under .nogit and clean up after execution.
- Removed internal HTTP script server implementation and related types; start() no longer starts a script server.
- Dropped plugin dependencies and exports related to @api.global/typedserver and @push.rocks/lik; plugins.ts simplified to only include necessary push.rocks modules and node path.
- Updated package.json to remove unused dependencies and adjust keywords to reflect in-memory execution.
- Updated README to document new start() behavior, in-memory execution, temp-file fallback, and simplified API signatures (start/stop/isRunning/executeScript).
- ts index now only exports SmartDeno (removed direct type export of TDenoPermission from separate file).
## 2025-12-02 - 1.1.0 - feat(core)
Add permission-controlled Deno execution, configurable script server port, improved downloader, dependency bumps and test updates
- Add TDenoPermission type and support passing permissions to executeScript (translates to Deno flags)
- Introduce IDenoExecutionOptions and make DenoExecution build and use permission flags; execution now served via ScriptServer URL and cleaned from executionMap after run
- Make ScriptServer configurable with IScriptServerOptions (port), expose getPort(), return 404 for unknown execution ids, properly stop server and wipe execution map
- SmartDeno: add ISmartDenoOptions (forceLocalDeno, port), guard executeScript to require start(), pass denoBinaryPath and permissions to DenoExecution
- DenoDownloader: track denoBinaryPath, use @push.rocks/smartfs, extract archive, set executable permissions on Unix, and clean up zip file
- Update plugins to export smartfs and smartshell (fix typos) and re-export path/typedserver namespaces
- Export TDenoPermission from package entry (ts/index.ts)
- Update tests to new tapbundle import, add lifecycle and error handling tests, and adapt to API changes
- Bump various dependencies and devDependencies in package.json and add packageManager lock info
- Add project memory/docs files (.serena) and project config updates
## 2024-05-29 - 1.0.3 - maintenance
Consolidated metadata and build configuration updates for 1.0.3.
- Updated package description (2024-05-29).
- Updated TypeScript configuration (tsconfig) (2024-04-14).
- Updated npmextra.json githost entries (multiple commits on 2024-03-30 and 2024-04-01).
- Duplicate/no-op version commits are summarized below.
## 2024-03-17 - 1.0.2 - fix(core)
Core fix included in the 1.0.2 release.
- fix(core): update (2024-03-17).
## 2024-03-16 - 1.0.1 - fix(core)
Core fix included in the 1.0.1 release.
- fix(core): update (2024-03-16).
## 2024-03-16 - 2024-03-17 - 1.0.2..1.0.3 - housekeeping
Version-only commits (no substantive code changes) recorded for completeness.
- Commits with messages equal to the version number (e.g., "1.0.2", "1.0.3") were made on 2024-03-162024-03-17; no additional changes to summarize.