Releases: dockersamples/labspace-infra
v0.21.0
What's Changed
- Support multiple setup scripts by using an init script directory by @mikesir87 in #157
- Add CLAUDE.md for agent-first development by @mikesir87 in #158
- Split socket proxy config into files to allow for easier overriding by @mikesir87 in #159
Bug fix
- Fix sectionId undefined error in fileLink component by @mikesir87 in #160
Full Changelog: v0.20.3...v0.21.0
v0.20.3
What's Changed
- Add cat into the interface image by @mikesir87 in #155
Full Changelog: v0.20.2...v0.20.3
v0.20.2
v0.20.1
What's Changed
- Add section index values to analytic events by @mikesir87 in #152
Full Changelog: v0.20.0...v0.20.1
v0.20.0
What's Changed
- Update docker-scout version in Dockerfile to 1.19.0 by @mathieu-benoit in #142
Migration to Docker Hardened Images
- Migrate components to DHI base images by @mathieu-benoit in #140
This change now requires all users that want to build the Labspace images to authenticated with dhi.io
Analytics support
- Add analytics support by @mikesir87 in a few different PRs
The first iteration is using Docker's analytics platform. In order to support this, an update was required for the labspace.yaml file to include a new metadata field.
metadata:
id: dockersamples/labspace-mcp-gateway # A unique identifier for this labspace
sourceRepo: github.com/dockersamples/labspace-mcp-gateway
contentVersion: abc1234 # The content revision for the Labspace (often is a short commit hash)
title: Labspace Demo
...There are two main types of events being published - lifecycle and user_action. The lifecycle event captures starts/stops and allows us to know which Labspaces are being used. The user_action event captures commands being executed, files being saved, and changes to the active section.
The analytics engine observes the user's setting in Docker Desktop to "Send usage statistics". In environments where this isn't available, analytics is disabled.
In local development, a new marlin-mock service is available at http://localhost:3030 to see all published events.
Self-contained Labspaces
- Add support for fully packaged Labspaces by @mikesir87 in #150
This feature provides the ability to inline the content of the Labspace project directly into the Compose file. Essentially, the content is a base64-encoded tarball that is loaded as a config file and injected into the configurator.
This opens scenarios where the content may not be publicly available or a single code repo may be used for multiple Labspaces.
To assist with this, a new dockersamples/publish-labspace-action has been created to streamline the GitHub Action workflow.
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Log in to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Publish Labspace
uses: dockersamples/publish-labspace-action@v1
with:
target_repo: dockersamples/labspace-mcp-gatewayNew Contributors
- @mathieu-benoit made their first contribution in #142
Full Changelog: v0.19.0...v0.20.0
v0.19.0
What's Changed
- Allow saving/opening of files outside of work directory by @mikesir87 in #138
- Bump to code-server:4.106.3 and few CLI version updates by @mikesir87 in #139
Full Changelog: v0.18.3...v0.19.0
v0.18.3
Bug fixes
- Use the correct field for the event ID in host port republisher by @mikesir87 in #136
Full Changelog: v0.18.2...v0.18.3
v0.18.2
Bug fixes
- Remove paste issues by removing keybindings for "normal" paste by @mikesir87 in #135
Full Changelog: v0.18.1...v0.18.2
v0.18.1
Bug fix
- Ensure the staging directory exists (broke development mode) by @mikesir87 in #134
Full Changelog: v0.18.0...v0.18.1
v0.18.0
What's Changed
- Add "local mode" to support locally defined content in a Labspace by @mikesir87 in #132
Bug fixes
- Update workspace cleaner to clean up stopped containers by @mikesir87 in #133
Full Changelog: v0.17.1...v0.18.0