Releases: devspace-sh/devspace
Releases · devspace-sh/devspace
v3.5.3
Fixes:
- Fixed an issue where multiple connected clusters could lead to problems during cluster connect
v3.5.2
Fixes:
- Fixed an issue, where
dev.selectorscould lead to a nil pointer panic
v3.5.1
New Features:
- Dependencies: You are now able to specify other devspace projects as dependencies, which will be built and deployed before the current project is deployed. Take a look at the examples for more information.
- Custom Builder: You are now able to build images with custom user-defined commands. See examples for an example. (#534)
- Parallel Image Building: As soon as there are 2 or more images defined in the devspace.yaml, devspace will build the images in parallel. You can still tell devspace to build sequentially with the flag
build-sequential(#533) - Hooks: You are now able to define custom commands that are executed at certain points during the devspace pipeline execution. Currently supported is before / after image building and deploying. In addition it is also possible to execute custom commands directly before or after a certain deployment. See examples for an example. (#535)
- New predefined variables: You are now able to use these predefined variables in your devspace.yaml:
DEVSPACE_RANDOM: A random string, that will be different every time the devspace.yaml is loaded (useful as tag for an image)
DEVSPACE_TIMESTAMP: The current unix timestamp in seconds when the config was loaded by devspace
DEVSPACE_GIT_COMMIT: The current git head short hash (useful as tag for an image)
- New flag
--deploymentsfordevspace deployanddevspace devto only deploy a specific deployment
Changes:
- If the docker daemon cannot be reached but builder is docker, devspace will fallback to building with kaniko instead. If you want devspace to fail instead, you can set the config option images.your_image.build.docker.disableFallback to true.
- New config version v1beta2, you can update your current config with
devspace update config devspace dev,devspace deployanddevspace purgehave an--namespaceflag that let's you redirect devspace to another kubectl namespace
Fixes & Improvements:
- Fixed an issue where the image name was not correctly replaced, if the image has never been built.
- Fixed an issue with internal caching mechanism which sometimes could lead to unnecessary redeploys
- Fixed an issue when you switched spaces the cached hashes where not erased (#527)
devspace initdoesn't write kube context anymoredevspace initnow always asks how you would like to initialize your project
v3.4.0
New functionality
devspace list/remove/connect cluster: you are now able to connect your own cluster to devspace cloud (see more at connect clusters)- kustomize is now supported as deployment method (you need the newest version of kubectl installed and set kustomize to true in
devspace.yaml) devspace syncopens a bidirectional sync connection to a specific pod and container and prints the sync log to the console- new flag dev.sync.waitInitialSync: you can now tell devspace to wait for initial sync before starting a terminal into a pod (#343)
Changes
- devspace login now takes --key as parameter instead of --token
- config version updated to v1beta1 (will be upgraded automatically)
- portMappings -> forward
- localPort -> port (if remotePort is empty value for port is used)
Fixes
- fixed an issue with deleting spaces where the kubecontext was not correctly deleted
v3.3.1
Fixes
- Fixed an issue where the wrong question was asked on
devspace init, when kubectl config was missing - Fixed a nil pointer panic, when docker was installed, but the docker daemon couldn't be reached
- Fixed an issue on linux with setting TILLER_NAMESPACE env variable during
devspace create spaceanddevspace use space
v3.3.0
Changes
- .devspace/config.yaml was renamed to devspace.yaml (devspace will automatically rename the file)
- .devspace/vars.yaml was renamed to devspace-vars.yaml (devspace will automatically rename the file)
- .devspace/configs.yaml was renamed to devspace-configs.yaml (devspace will automatically rename the file)
- Moved
devspace add componenttodevspace add deployment --component - Moved
devspace add packagetodevspace add deployment --chart - Moved
devspace status deploymentstodevspace list deployments - New config version v1alpha4 (Will be converted automatically)
New Features
- New deployment method component (Will deploy the devspace-component-chart and the component options are essentially the values of the chart. This makes it easier for us to convert the values in the future when updating the chart)
- New options during
devspace init: If no Dockerfile is found there are now 5 options how to initialize the project - Sync now works with relative paths & containerPath in sync config can be empty (Working directory of the container is used then)
- Added predefined config variables DEVSPACE_USERNAME (the devspace cloud username) and DEVSPACE_SPACE (the currently used space name) that can be used in the config
Fixes & Improvements
- Fixed an issue where config variables got lost after running
devspace add [option] - Fixed an issue where config variables had to be reentered on every devspace command
- Config variables now also work within a string (e.g. 'dscr.io/{my_user}/devspace')
- Improved the kaniko builder (should be several times faster now)
v3.2.1
Fixes:
devspace initnow correctly detects Dockerfile EXPOSE statementsdevspace analyzeonly considers container restarts important if they occured in the last 2 hours
v3.2.0
New features:
devspace containerizewill detect your programming language and create a Dockerfile for your application (was previously part of `devspace init, but can now be used separately)devspace initnow detects the application port based on the dockerfile
Fixes:
devspace remove space --allnow also removes the kube contexts correctly
v3.1.2
Fixes:
- set env vars in windows as REG_EXPAND_SZ not REG_SZ (issue with long PATH variables)
Improvements:
- add automatic setting of TILLER_NAMESPACE again
- print warning that PATH might not be updated for already opened terminals (devspace install on windows)
v3.1.1
Fixes:
- fix an issue during
devspace use spaceanddevspace create spacewhere setting environment variables took too long