New Features
- New option
profiles[*].activate
to automatically activate profiles based on environment variables - New global flag
--disable-profile-activation
to disable automatic activation of profiles - New option
dependencies[*].disableProfileActivation
for dependencies to disable automatic activation of profiles in dependencies - New
dev.logs.selectors[*].imageSelector
option to select images that should be logged by image name - DevSpace will now run remote hook commands in a remote shell if no args are specified. For example this is now possible:
hooks:
- command: |
echo 123
echo 456
echo 789
where:
container:
imageSelector: my-image
when:
after:
deployments: all
- New
hooks[*].when.before.initialSync
andhooks[*].when.after.initialSync
that executes a hook after or before a certain sync configuration's initial sync has started - New option
name
fordev.sync
anddev.ports
. This can be used as a steady identifier when using profile patches or initial sync hooks. (#1577) - New option
noCache
for variables that disables caching of variable input - New option
dependencies[*].dev.replacePods
to enable replace pods from dependencies - New flag
--skip-dependency
fordevspace build
,devspace dev
,devspace purge
,devspace deploy
&devspace render
- New option
commands[*].appendArgs
to prevent DevSpace from automatically appending arguments to a command (#1598)
Fixes
- Fixed an issue where
devspace sync --config ...
would use the current directory as base path instead of the config directory - Fixed an issue where using relative paths for plugin installation would fail
- Fixed an issue where the sync would skip to upload files initially that were newer on the remote side
- Fixed a problem where DevSpace's helper would show
devspace-restart-helper
in log messages - Fixed an issue where the image selector would sometimes look wrong
- Fixed an issue where the sync watcher would exclude paths if the initial stat of them has failed
- Fixed an issue where DevSpace would get stuck uploading or downloading files that would change frequently (#1576)
- Fixed an issue where
http
was hardcoded as target domain in DevSpace UI (#1574) - Fixed an issue where multiple devspace.yaml in the same folder would lead to unwanted shared caches
- Fixed an issue where excluding files on linux operating systems would also exclude files for other sync paths (#1595)
- Fixed an issue where log streaming would terminate unexpectedly (#1596)
- Fixed an issue where using
$@
,$#
or$0
etc. in commands would not work correctly (#1598)
Other
- Improved waiting output of DevSpace running in a pipeline
- Removed the color red from the log streaming color palette to avoid confusion with errors (#1583)
- Sync will now compare crc32 hashes initially for files that might not be needed to get synced
- Updated component chart to v0.8.1