v4.0.0-rc.1
4.0.0-rc.1 - 2024-10-30
Bug Fixes
-
(deployments) Deprecate v1 endpoint for listing deployments
(MEN-7543) (879b589) by @kjaskiewiczzWe deprecated GET v1 /deployments/deployments endpoint because of an
issue with "search" query parameter behavior. As a replacement we
introduce v2 version of the endpoint, where we replaced "search"
parameter with "id" and "name" parameters. -
(deviceconfig) Enable multiplatform build
(QA-673) (fbbe646) by @oldgiovaThe required TARGETOS and TARGETARCH variables were missing from the
Dockerfile. -
(gui) Fixed an issue that could prevent browsers from following programmatically triggered downloads
(f2b6189) by @mzedel- relative download addresses seem not to be followed, switched to absolute instead
-
(iot-core) Incosistent serialization format for device private key
(MEN-7478) (6deadef) by @alfrunesThe generated key is serialized using SEC 1 (RFC5915) ASN.1 encoding,
but encoded to PEM using PKCS8 (RFC5208) block header/trailer. -
Aligned identity attribute usage with scoped inventory data to prevent overriding custom naming attributes with name tags
(MEN-7218) (9d82ea1) by @mzedel -
Document the 409 return for creating deployment to a group
(MEN-7414) (5327dac) by @kjaskiewiczz -
Prevented commercial client components are only selected when plan/ addon accessible
(MEN-7458) (81e0b73) by @mzedel -
Fixed an issue that prevented retrieving group devices & related reports
(MEN-7461) (95ea85f) by @mzedel -
Fixed an issue that prevented showing PATs on page refresh
(bde80fe) by @mzedel -
Fixed an issue that prevented onboarding tips from showing
(c2ecfcf) by @mzedel
Documentation
- Update README.md with instructions on using the docker composition
(c9aa7dc) by @alfrunes - Add section about testing build artifacts
(5c7eaaa) by @alfrunes - Add snippet for starting a mender client to README
(a322b2d) by @alfrunes
Features
-
(deployments) Add filter field to deployment object
(MEN-7416) (fec5b91) by @kjaskiewiczzThe filter field contains information about devices targeted by the
deployment. -
(gui) Enabled webhook scope selection
(MEN-7455) (cec277d) by @mzedel -
(gui) Extended webhook event details
(MEN-7574) (0bfda40) by @mzedel -
(gui) Aligned webhook listing with updated design
(MEN-7573) (80e55d1) by @mzedel -
(inventory) Add support for "$in" operator in the device search API
(MEN-7667) (fd4eaf0) by @kjaskiewiczz -
Added option to limit deployments to a maximum number of devices in a dynamic group
(MEN-7403) (c04d736) by @mzedel -
Made search results reopen whenever the search field is clicked again and has a search term
(MEN-6894) (c36eb96) by @mzedel -
New endpoint for listing deployments
(MEN-7541) (afb1566) by @kjaskiewiczz -
Add
version
command to all Go binaries
(ff439c9) by @alfrunesThe
version
command will display the app version (linked at build
time) as well as runtime version and commit SHA1.
Build
-
(docker) Add build stage to Dockerfiles
(ba3692e) by @alfrunesThe Dockerfiles are now self-contained by moving the build stage into
the Dockerfile. -
(docker) Build images on BUILDPLATFORM
(44e5b7f) by @alfrunes -
(docker) Use make(1) when building inside docker images
(153269e) by @alfrunesFor consistent builds.
-
(make) Update
docker
targets to use updated Dockerfiles
(11f26d6) by @alfrunesRefactored common parts to parent directory.
-
(make) Change default target to
docker
and add variable TAGS
(92ac12a) by @alfrunesContainers are the primary build artifacts for this repo so it makes
sense to build them by default. -
(make) Fix acceptance test targets after refactor
(70919bd) by @alfrunesPut common acceptance test targets in Makefile.common and made
exceptions forcreate-artifact-worker
andreporting
. -
(make) Do not expand
go
shell commands unconditionally
(1c68b83) by @alfrunes -
(make) Run acceptance tests without rebuilding the containers
(ce241cc) by @alfrunesRemoved the dependency on
docker-acceptance
for the
test-acceptance-run
. -
(make)
test-unit
target runs in same environment as build
(141ea40) by @alfrunes -
(make) Change TAGS behavior to always include required build tags
(5bae608) by @alfrunes -
(make) Rename DOCKER_ARGS to DOCKER_BUILDARGS, TAGS to BUILDTAGS
(1a97891) by @alfrunesIt seems like Gitlab has a built in TAGS env variable which conflicts
with the Make environment. -
(make) Add
docker-pull
target for pulling images
(37f4391) by @alfrunes -
(make) Define DOCKER_PLATFORM template as multiline variable
(0db0c9a) by @alfrunes -
(make) Fix tag override for
docker-acceptance
(7f0b260) by @alfrunesMENDER_IMAGE_TAG_TEST should set the tag when building the target.
-
(make) Added target
docker-publish
for publishing images
(c400b04) by @alfrunes -
(make) Split MENDER_PUBLISH_REGISTRY into registry and repository
(e27c770) by @alfrunes -
(test) Force serialize unit tests for deviceauth
(a0ab55e) by @alfrunes
Check
-
Make
sed(1)
Linux compatible again
(1271396) by @alfrunesReplace flag
-i=''
with-i.bak
and removing the files.
Refac
-
(compose) Refactor SeaweedFS topology and optimize startup/shutdown time
(fe7ee2e) by @alfrunesInstead of running SeaweedFS as a monolith using the
server
command,
we explicitly launch all services in different containers. It appears
that theserver
command has some issues when initializing the master
and sometimes enter a deadlock the healthcheck interval is too low at
startup. Moreover, running the services in different containers makes it
easier to debug and interpret the logs. -
(iotcore) Break on errors instead of falling through
(733f8ab) by @alfrunesUsing long chains of fallthrough error conditions makes it very
difficult to read and error prone to extend. Refactoring to use common
coding patterns instead. -
Use an overlay directory to create Makefiles and Dockerfiles
(85e93e0) by @alfrunesAllows for easier individual customization required for accepatnce
tests.
Revert
-
(docker) Revert generate-delta-worker dockerfile
(d205b3e) by @alfrunesReverts the dockerfile to the upstream docker file with the two
exceptions of copying the binaries from this repositories rather than
relying on master docker images. -
Change docker entrypoint to launch workflows worker
(0d39c96) by @alfrunesThis was done by mistake when updating the Dockerfile for the monorepo.