Releases: Dynatrace/dynatrace-configuration-as-code
Releases · Dynatrace/dynatrace-configuration-as-code
2.24.1
What's Changed
🐛 Bug fixes
- Account UUIDs specified using environment variables are not resolved when other environment variables in the manifest are not resolved #1981
- Warnings for undefined environments used in environment overrides in configs are generated correctly #1984
- Logs are written to
Stdout
rather thanStdErr
, and the error log file only contains errors #1986
Full Changelog: v2.24.0...v2.24.1
2.24.0
Warning
Known issue: A warning may be generated for each environment override stating that the environment is undefined despite it being defined in the manifest. This is fixed with Monaco 2.24.1.
What's Changed
✨ New features
- Manifests and direct downloads now support platform tokens #1919 #1938 #1928
- For direct downloads, use the
--platform-token
flag - In manifests, specify
platformToken
within theauth
section of an environment, for example:
- For direct downloads, use the
manifestVersion: "1.0"
projects:
- name: project
environmentGroups:
- name: default
environments:
- name: environment1
url:
type: environment
value: DYNATRACE_API_URL
auth:
token:
type: environment
name: DYNATRACE_ACCESS_TOKEN
platformToken:
type: environment
name: DYNATRACE_PLATFORM_TOKEN
🐛 Bug fixes
- Increased the maximum number of retries when creating or updating a settings object that has a bucket reference #1878
- Correctly close request and response log files in support archives #1907
- Deployment summaries have a correct end time and duration even if no reports were made #1953
🧹 Miscellaneous
- Reports now include records detailing the caching performed during deployment #1899
- Logs are now created using the go
slog
package #1898 - Optionally logs can be emitted in color by setting the
MONACO_LOG_FORMAT
environment variable tocolor
#1905 - Various log and error messages have been improved #1891
- HTTP requests made by Monaco can include custom headers by setting the
MONACO_ADDITIONAL_HTTP_HEADERS
environment variable #1906 - A warning is emitted when undefined environments or groups are used in overrides #1880
- Performance improvements when getting owner-based access control information for schemas #1890
- If Monaco download is used with Dynatrace lower than version 1.262, a warning is no longer emitted #1901
Full Changelog: v2.23.1...v2.24.0
2.23.1
What's Changed
🐛 Bug fixes
- Bucket configurations with display names set are no longer incorrectly escaped during download #1847
- It is now possible to update service users that currently have no group UUID set #1855
🧹 Miscellaneous
- Dashboard payloads are now validated before deployment: a better error message indicates if the wrong payload (classic vs platform) was used #1836
- Several
--only...
flags may be specified at once to allow for example just segments and SLOs to be downloaded together #1850 - Improved error and log messages when deploying accounts make it easier to identify failing configurations #1861
Full Changelog: v2.23.0...v2.23.1
2.23.0
✨ New features
- Account management: service users are now supported in Monaco.
serviceUsers:
- name: Monaco service user
description: Description of service user
groups:
- Log viewer
- type: reference
id: my-group
- Settings: managing permissions of settings objects of schemas that feature owner-based access control is now supported. The owner always has full access to the settings object. Managing the access of other users is done via the
allUsers
property. This property can have the valuenone
,read
, orwrite
, giving other users no access, read access or full access, respectively.
type:
settings:
schemaId: app:my-settings-schema
scope: environment
permissions:
allUsers: read
- Download: added an
only-buckets
parameter for themonaco download
command. #1846
🧹 Miscellaneous
- No retry when 404 is returned when trying to fetch a settings schema #1820
Full Changelog: v2.22.1...v2.23.0
2.22.1
🐛 Bug fixes
- Fixed an issue where pre-deploy validation would not fail on non-unique config names, if the configs were defined for different scopes. #1807
- Invalid characters are now stripped from bucket names. #1815
\n
,\t
,\r
are no longer included in extracted monitored entity IDs. #1810
🧹 Miscellaneous
- Do not retry on permission error. #1797
- Deprecated APIs are only logged once. #1804
- For the
download
command, if the environment URL is defined via an environment variable in the original manifest, this is now also used in the manifest file saved alongside the downloaded data. #1798 - Don't print version warning when using OAuth credentials. #1819
- Fixed broken links in CONTRIBUTING.md. #1789
- Updated dependencies: #1802
Full Changelog: v2.22.0...v2.22.1
2.22.0
What's Changed
✨ New features
- Support for service-level objectives leveraging Grail using
type: slo-v2
. Some examples can be found here.
🧹 Miscellaneous
Full Changelog: v2.21.0...v2.22.0
2.21.0
✨ New features
- Settings: The
insertAfter
parameter now supports references, hard-coded IDs, and the magic valuesfront
andback
to insert an object at the very front or back of the list.type: settings: schemaId: app:my-settings-schema scope: environment insertAfter: `front` # or `back` or a hard-coded ID
- File parameter: While the content is still escaped by default so that it is easy to use in JSON strings, the behavior can now be disabled by setting the
escape
flag tofalse
. This makes it possible to place common snippets of JSON in separate files. #1734... # rest of the config parameters: my_content: type: file path: my-file-to-include.json escape: false # default 'true'
🐛Bug fixes
- Memory statistics are now only attached to the support archive if the feature flag
MONACO_LOG_MEM_STATS
is enabled. #1752 - File parameter: We're now printing an error if references are used without defining them. #1760
- File parameter: We're now allowing relative paths. #1756
- Compound parameter: We're now printing an error if a parameter is referenced that has not been defined. #1761
Full changelog: v2.20.0...v2.21.0
2.20.0
What's Changed
✨ New features
- Settings:
insertAfter
now supports defining plain values and environment variables. #1714
🐛Bug fixes
- Fixed a rare occurrence of configs being duplicated during download. #1693
- Settings: Downloading settings configs of different scopes now sets
insertAfter
correctly. #1699
🧹 Miscellaneous
- Updated dependencies: #1691 #1697 #1702 #1705 #1709 #1737 #1738 #1741
- And many more small improvements 🥳
💥 Breaking changes
- We removed
monaco convert
to convert a Monaco v1 to a Monaco v2 project.
The last version to support this feature is Monaco v2.19.0. #1680
Full Changelog: v2.19.0...v2.20.0
2.19.0
What's Changed
✨ New features
- Support for Dynatrace Segments using
type: segment
.
🐛Bug fixes
- Ready-made documents from apps are no longer downloaded #1674
🧹 Miscellaneous
- When downloading,
{{
and}}
are now automatically converted to valid Go templates for all configuration types #1677 - Updated dependencies #1675 #1679 #1683 #1667 #1668
- And many more small improvements 🥳
Full Changelog: v2.18.0...v2.19.0
2.18.0
What's Changed
✨ New feature: Dynatrace Launchpads
- Dynatrace Launchpads are now supported in Monaco using the document
kind
launchpad
. For more information, please have a look at our documentation.
🐛Bug fixes
- We're no longer creating references if a parameter is not used in the template #1673
🧹 Miscellaneous
- Improved errors while loading account resources #1669
- Updated dependencies #1658 #1662 #1663 #1667 #1668
- And many more small improvements 🥳
Full Changelog: v2.17.4...v2.18.0