Releases: qdm12/godevcontainer
Releases · qdm12/godevcontainer
v0.21.0
Features
- Breaking changes:
golangci-linthas been upgraded to v2.4.0, which includes breaking changes in its configuration and behavior.mockeryhas been upgraded to v3.5.2, which may require updates to your mock generation commands.
- Container images available at
ghcr.io/qdm12/godevcontainer - Go upgraded from 1.23 to 1.25
- gopls v0.20.0
- disable package comment requirement by default in .devcontainer/devcontainer.json settings
- gofumpt v0.8.0
- stern v1.32.0
- kubectl v1.33.4
- helm v3.18.5
- dlv v1.25.1
- basedevcontainer upgraded from v0.26.0 to v0.28.0
- Alpine upgraded from 3.20 to 3.22
- docker upgraded from v27.3.1 to v28.2.2
- compose upgraded from v2.29.7 to v2.39.2
- buildx upgraded from v0.17.1 to v0.26.1
- gh upgraded from v2.58.0 to v2.76.2
Documentation
.devcontainer/README.mdhas minor changes and fixes
Maintenance
- Pull container images from ghcr.io when possible to reduce rate limiting events with docker hub
- bump actions/checkout from 4 to 5
v0.20.0
Features
- Go upgraded from 1.20 to 1.23
- Add
gofumptv0.7.0 and make it the default gopls formatting goplsupgraded from v0.11.0 to v0.16.2golangci-lintupgraded from v1.53.3 to v1.61.0dlvupgraded from v1.20.2 to v1.23.1gomodifytagsupgraded from v1.16.0 to v1.17.0mockeryupgraded from v2.27.1 to v2.46.2kubectlupgraded from v1.27.4 to v1.31.1helmupgraded from v3.12.3 to v3.16.2sternupgraded from v1.25.0 to v1.31.0- Base dev image upgraded from v0.23.0 to v0.26.0
- Alpine upgraded from 3.18 to 3.20
- Debian upgraded from 11-slim to 12-slim
buildxupgraded from v0.10.4 to v0.17.1composeupgraded from v2.18.1 to v2.29.7dockerupgraded from v24.0.1 to v27.3.1ghupgraded from v2.29.0 to v2.58.0
Fixes
devcontainer.json: fix settings- organizeImports changed from
trueto"always" vulncheckremoved since it is falsely detected as duplicate
- organizeImports changed from
- Works with custom shells (i.e. Nushell) where
$HOMEis not available to VSCode (due to migrating docker-compose.yml settings to devcontainer.json and use${localEnv:HOME}) - SSH script: redirect mountpoint stderr to stdout to hide the error logged previously
Minor changes
.devcontainer: run all services indocker-compose.ymlby default- Container bind mount sources must be present for container setup to succeed
- Removed Debian linux/arm/v6 (no corresponding Go Docker Hub image)
Documentation
- Remove Windows without WSL step
- Update 'remote containers extension' to 'dev containers extension'
- Remove no longer valid warning on
~/.dockerdirectory creation - Simplify customization section
- remove "publish a port" since it can be done at runtime now
- expand documentation on custom welcome script and where to specify the bind mount
- use bullet points instead of subsections headings
- Readme: update docker image sizes
Maintenance
CI
- Use
docker/metadata-actionto determine image tags - Stop building images for
ppc64learchitecture actions/checkoutupgraded from v3.2.0 to v4crazy-max/ghaction-github-labelerupgraded from v4 to v5docker/build-push-actionupgraded from v3 to v6docker/login-actionupgraded from v2 to v3docker/setup-buildx-actionupgraded from v2 to v3docker/setup-qemu-actionupgraded from v2 to v3peter-evans/dockerhub-descriptionupgraded from v3.3.0 to v4- update step output writing to new form
v0.19.0
Features
.devcontainer/devcontainer.json:- add
vulncheckimports diagnostic - add Github copilot as default extension
- add
devcontainer/docker-compose.yml:- Bind mount
~/.gitconfig - Do not bind mount
~/.docker
- Bind mount
golangci-lintupgraded from v1.52.2 to v1.53.3mockeryupgraded from v2.24.0 to v2.27.1helmupgraded from v3.11.2 to v3.12.3sternugpraded from v1.24.0 to v1.25.0kubectlupgraded from v1.26.1 to v1.27.4- basedevcontainer upgraded from v0.22.0 to v0.23.0
Alpineupgraded from 3.17 to 3.18dockerupgraded from v23.0.0 to v24.0.1composeupgraded from v2.17.2 to v2.18.1ghupgraded from v2.27.0 to v2.29.0- Do not bind mount gitconfig (use vscode to copy over)
Fixes
.devcontainer/devcontainer.json:- set
CGO_ENABLED=1for race tests
- set
kubectxandkubensupgraded from v0.9.4 to v0.9.5
Breaking changes
.devcontainer/devcontainer.json: do not bind mount Kubernetes directory by default
Documentation
.devcontainer/readme.md: fix welcome script link
Maintenance
.devcontainer/devcontainer.json:- upgrade to newer format
- reorganize settings order
- remove
[go.mod]unused section - replace
gopls'sbuild.buildFlagswithgo.buildTags - fix linting errors
- Go files taken from Alpine 3.18 based Docker image
- do not bind mount with
:zflag - Bump peter-evans/dockerhub-description from 3.1.2 to 3.3.0 (#29)
v0.18.0
Features
golangci-lintupgraded from v1.51.1 to v1.52.2mockeryupgraded from v2.20.0 to v2.24.0ghupgraded from v2.23.0 to v2.27.0composeupgraded from v2.16.0 to v2.17.2sternupgraded from v1.23.0 to v1.24.0
Fixes
buildxupgraded from v0.10.0 to v0.10.4helmupgraded from v3.11.0 to v3.11.2dlvupgraded from v1.20.1 to v1.20.2
v0.17.0
Features
- Go upgraded from 1.19 to 1.20
golangci-lintupgraded from v1.50.1 to v1.51.1mockeryupgraded from v2.16.0 to v2.20.0- Base development container upgraded from v0.20.1 to v0.21.0
alpineupgraded from v3.16 to v3.17dockerupgraded from v20.10.22 to v23.0.0composeupgraded from v2.14.2 to v2.16.0buildxupgraded from v0.9.1 to v0.10.0ghupgraded from v2.21.1 to v2.23.0
implupgraded from v1.1.0 to v1.2.0sternupgraded from v1.22.0 to v1.23.0helmupgraded from v3.10.3 to v3.11.0
Fixes
kubectlupgraded from v1.26.0 to v1.26.1
v0.16.0
Features
- basedevcontainer upgraded from v0.18.0 to v0.20.1
ghupgraded from v2.16.1 to v2.21.1composeupgraded from v2.11.2 to v2.14.2dockerupgraded from v20.10.18 to v20.10.22
goplsupgraded from v0.9.5 to v0.11.0dlvupgraded from v1.9.1 to v1.20.1helmupgraded from v3.9.3 to 3.10.3golangci-lintupgraded from v1.49.0 to 1.50.1mockeryupgraded from v2.14.1 to v2.16.0kubectlupgraded from v1.25.3 to v1.26.0- SSH: change bind mount mechanism to be the same for all host platforms
- Copies content of /mnt/ssh to ~/.ssh if Windows is detected\
- Symlinks /mnt/ssh to ~/.ssh if Unix is detected
Fixes
- .devcontainer.json
CGO_ENABLEDstring value to fix debug launch (#25) kubectlupgraded from v1.25.2 to v1.25.3mockeryupgraded from v2.14.0 to v2.14.1
Documentation
- Readme: minor docker directory sharing fix
Maintenance
v0.15.0
Features
- Debian has git > 2.34 to sign commits
composeupgraded from v2.10.1 to v2.11.2ghupgraded from v2.14.6 to v2.16.1sternupgraded from v1.21.0 to v1.22.0
Fixes
goplsupgraded from v0.9.4 to v0.9.5dockerupgraded from v20.10.17 to v20.10.18kubectlupgraded from v1.25.0 to v1.25.2
v0.14.0
Features
golangci-lintupgraded from v1.48.0 to v1.49.0- Base dev container upgraded from v0.16.1 to v0.17.0
composeupgraded from v2.9.0 to v2.10.1buildxupgraded from v0.8.2 to v0.9.1
kubectlupgraded from v1.24.2 to v1.25.0
Fixes
dlvupgraded from v1.9.0 to v1.9.1ghupgraded from v2.14.4 to v2.14.6
v0.13.0
Features
- Go upgraded from 1.18 to 1.19
golangci-lintv1.47.2 -> v1.48.0composeupgraded from v2.7.0 to v2.9.0- basedevcontainer v0.15.0 -> v0.16.1
Fixes
goplsupgraded from v0.9.1 to v0.9.4ghupgrade from v2.14.1 to v2.14.4helmupgraded from v3.9.2 to v3.9.3