2.7 KiB
2.7 KiB
Changelog
2025-09-03 - 2.1.0 - feat(systemd-manager)
Support sudo password and root detection in SystemdManager; add user/group support in services and templates; add tests and expand README
- SystemdManager now accepts an optional sudoPassword and detects root status on startup
- Commands executed via SystemdManager are automatically prefixed with sudo when not running as root; supports interactive PTY flow to provide sudo password
- saveService/deleteService now use direct writes when running as root and fallback to sudo-based moves/removals when not root
- Service model extended with optional user and group properties
- Template manager updated to include user/group comments and to emit User/Group directives in generated systemd unit files when provided
- Exports updated (ts/index.ts) to include SmartDaemonService
- New/updated tests added to verify root detection, service creation, unit file generation and sudoPassword option
- README expanded with detailed usage examples, API docs and troubleshooting/security guidance
2025-08-29 - 2.0.9 - fix(tests)
update test runner and developer dependencies; add pnpm workspace and packageManager
- Change test import to use @git.zone/tstest/tapbundle and update test script to run with --verbose, --logfile and --timeout 60
- Bump dev dependency @git.zone/tsbuild and @git.zone/tstest to more recent releases
- Update several @push.rocks runtime dependencies to newer patch/minor versions (lik, smartfile, smartlog, smartpath, smartshell, smartsystem)
- Add packageManager field with pinned pnpm version
- Add pnpm-workspace.yaml with onlyBuiltDependencies entries
2025-03-03 - 2.0.8 - fix(core)
Update project dependencies and resolve minor issues in file paths
- Updated devDependencies and dependencies to latest versions
- Resolved minor issues in file paths within systemd manager
2025-03-03 - 2.0.7 - fix(core)
Update @types/node to fix compatibility issues.
- Updated @types/node from version 20.12.7 to 22.13.8 to ensure compatibility with the latest Node.js features.
- Improved type definitions which might resolve minor type errors in development.
2024-05-29 - 2.0.6 - Documentation
updated project description
2024-04-19 - 2.0.5 to 2.0.4 - Core Updates
Improved core functionality across multiple versions.
- Updated tsconfig for better build performance.
- Revised npmextra.json to update githost configuration.
2023-07-25 - 2.0.3 - Organizational Changes
implemented a new organizational scheme
2022-10-19 - 2.0.0 - Core Updates and Breaking Changes
Major overhaul with breaking changes and core updates.
- Breaking Change: Transitioned the project architecture from CommonJS to ECMAScript modules (ESM) to enhance compatibility and future-proofing.