nself cli v0.4.1 #19
acamarata
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
nself v0.4.1
Patch release focused on fixing cross-platform shell incompatibilities discovered after v0.4.0, primarily affecting macOS (BSD tools, Bash 3.2).
This release removes multiple GNU-only assumptions and hardens nself for consistent behavior across macOS and Linux.
Fixed
Shell & Tooling Compatibility
start.shdeclare -awith POSIX-compatible syntaxsed -ibehavior differencessafe_sed_inline()wrapperstatcommand syntaxsafe_stat_mtime()andsafe_stat_perms()timeouton macOSsafe_timeout()withgtimeoutfallbackecho -eprintfFiles Updated
Bash Array Fix
src/cli/start.shsed Compatibility
src/cli/admin.shsrc/cli/deploy.shsrc/lib/init/wizard/templates.shsrc/lib/autofix/pre-checks.shstat Compatibility
src/lib/monitoring/alerting.shtimeout Compatibility
src/cli/restart.shsrc/cli/status.shsrc/services/docker/compose-generate.shsrc/services/docker/compose-generate-new.shsrc/lib/autofix/pre-checks.shsrc/lib/services/routes-display.shecho → printf
src/cli/stop.shinstall.shPlatform Utilities
All compatibility logic is centralized in:
src/lib/utils/platform-compat.shAvailable helpers:
safe_sed_inline()safe_stat_mtime()safe_stat_perms()safe_timeout()safe_readlink()Upgrade
or manually:
No breaking changes. Fully backward-compatible with v0.4.0.
Tested
Install
curl -sSL https://install.nself.org | bashHomebrew:
npm:
See
CHANGELOG.mdfor full history.This discussion was created from the release nself cli v0.4.1.
Beta Was this translation helpful? Give feedback.
All reactions