Skip to main content

Dynatrace App Toolkit

0.133.0

Bugfixes

  • Remove app.config.* from being ignored when watching appconfig
  • Fixed getEnvironmentId from @dynatrace-sdk/app-environment returning null when running functions in local development
  • Update dependencies to remove cookie vulnerability
  • Hardened local development environment through better input validation

0.132.0

Features

  • Add incremental builds for widgets
  • New typechecker for the UI

Bugfixes

  • Don't generate .map and .d.ts files next to the source files
  • Add skipLibCheck to app function tsconfig template
  • Migrate test files to use the new runtime context if the typescript is already defined in the app's package.json

0.131.0

Features

  • Bump dependencies
  • Unify the build platform target to browser

Bugfixes

  • Fix typescript import scope
  • Fix esbuild not bundling .node files properly when symlinked
  • Fix forbidden error when deploying
  • Remove empty table log if there is no breaking changes
  • Correct the typescript version range
  • Fix fastify vulnerability
  • Improve misleading authentication error message
  • Fix broken build after generating an action
  • Fix a bug where peer dependencies have not been installed

0.130.0

Features

  • Make typescript a peerDependency

Bugfixes

  • Fix a bug where ignored platform dependencies were not ignored in the app manifest and where platform dependencies were missing when deploying without building the app
  • Fix a bug where app deployment failed once an invalid dynatrace-metadata.json was read

0.129.0

Features

  • Show breaking changes before updating the dynatrace packages

Bugfixes

  • Fix a bug where not all dynatrace dependencies have been detected when deploying an app
  • Improve the documentation for no-live-reload flag

0.128.0

Minor Changes

  • Enable app functions minification

Patch Changes

  • Fix axios vulnerability
  • Add incremental build for actions

0.127.0

Patch Changes

  • Fix create command dependency installation on Windows
  • Skip dependencies property inside manifest to be built during dev command
  • Validate proper esbuild dependency in project
  • Fix app documents bundling on Windows

0.126.0

Minor Changes

  • Exclude node_modules when loading templates

Patch Changes

  • Use the correct glob when type checking functions
  • Align getEnvironmentId error handling with sdk

0.125.0

Patch Changes

  • Add locationAppIds param to the widget dev helper url in the terminal

0.124.0

Minor Changes

  • Improve typechecking performance for app functions
  • Adjust settings template for connections of automation actions (name must be unique, objects not ordered)

Patch Changes

  • Fix building generated actions
  • Make widgets use react 18
  • Fix a bug where the validation for resumable actions showed an error for a missing UI or functions implementation even when both were present
  • Fix broken sdkShim getEnvironmentId method
  • Fix a bug where the information of the app token scopes was missing in the token cache
  • Fix ws vulnerability
  • Fix creation of manifest function property for app functions without default input dir
  • Fix a bug where an invalid app document name did not throw an error on build

0.123.0

Minor Changes

  • Fix a problem with runtime-simulator node typings
  • Display message to remind user to restart dev server when app.config was modified

Patch Changes

  • Fix automatic rebuild not working for ts files in widgets actions
  • Fix type aliases in dev server and typechecker
  • Fix a bug where an app could be deployed while containing type errors
  • Fix deploy command not stopping after override has been declined
  • Fix getRegionalFormat sdk mock
  • Fix a bug where the app status was not correctly shown when deploying an app
  • Fix a bug where headers were tried to be appended after a request has been sent
  • Fixes a bug that caused the generated action widget to not compile
  • Fix micromatch vulnerability

0.122.0

Minor Changes

  • Warn user about potential unexpected behaviors when not having package.json in a template

Patch Changes

  • Display appropriate error when user cannot fetch github templates
  • Improve output when function is generated
  • Fix app functions sub-workspace imports
  • Fix a bug where the moduleResolution for actions/widgets typechecking was overwritten

0.121.0

Minor Changes

  • Fix creation of manifest function property for app functions in subdirectories
  • Add an incremental type-checker for widgets and actions and improve build performance
  • Make UI optional for the hidden apps
  • Show spinner when generating functions

Patch Changes

  • Mark internal exports
  • Fix a bug where mistakenly an error has been thrown because of a missing action ui
  • Improve missing scopes message
  • Fix a bug where npx dt-app help did not show the deploy command

0.120.0

Minor Changes

  • Don't deploy when there are no entrypoints compiled
  • Don't configure app to be hidden in the launcher when generating a workflow action

Patch Changes

  • Fix a bug where the path to the functions tsconfig.json file could not be resolved
  • Fix a bug where the default tsconfig.json files for widgets and actions could not have been read regarding to lifecycle issues
  • Fix information exposure vulnerability
  • Fix dql highlighting and dql unique annotations bug
  • Show more error details when deploying an app

0.119.0

Minor Changes

  • Improve workflow actions name generation
  • Add a loading spinner when building widgets

Patch Changes

  • Fix a bug where the --yes flag has been ignored when executing the update command
  • Fix a bug where we could not deploy an app with the selfMonitoringAgent property set in the app.config.json
  • Fix typescript checker

0.118.0

Patch Changes

  • Fix warning log for deprecated actions
  • Use the latest runtime-simulator
  • Fix typescript path aliases
  • Fix dev server not returning isolatedUri appInfo

0.117.0

Patch Changes

  • Fix a bug where you could not create a new project with a local template

0.116.0

Minor Changes

  • Move dt-app templates to a publicly available github repo: https://github.com/Dynatrace/dt-app-templates
  • Add link to connectivity issues troubleshooting guide
  • Log Dynatrace dependencies and their endpoints to the debug logs
  • Add support for platform tokens
  • Keep indentation for the user's package.json when updating dependencies

Patch Changes

  • Fix a bug where the payload always has been sent as a string when using the --legacy-runtime-simulator flag
  • Fix the migration for updating the type references in the tsconfig.json file
  • Improve file type detection
  • Fix multiple reloads on save
  • Do not print available app functions if none are present
  • Do not bundle css into app functions
  • Build now fails if there are type errors

0.115.0

Minor Changes

  • Add a migration that updates the type reference inside the tsconfig.json files of the app functions and the actions
  • Add the --legacy-runtime-simulator flag to the dev command to be able to switch back to the old runtime-simulator
  • Sort commands alphabetically inside help menu

Patch Changes

  • Reduce RAM usage during the build process
  • Fix action components located outside root folder are not working
  • Improve validation of the app id

0.114.0

Minor Changes

  • Fix custom app function path in app config breaks actions debug breakpoints
  • Change officially supported node version to 20

Patch Changes

  • Update axios to mitigate the security vulnarability components
  • Upgrades cli docs to support new mdx v3

0.113.0

Minor Changes

  • Update app templates

Patch Changes

  • Fix rebuilding action if imported module changes
  • Fix a bug in a development server utility, where passed working directory was not appropriately applied
  • Fix removing non existing tmp directory if multiple deployments are run at the same time
  • Fix wrong path to example tsconfig when building functions
  • Fix a bug where the platform response consistently returned to port 3000 instead of reflecting the actual port utilized by the dev server

0.112.0

Minor Changes

  • Update app templates
  • Mitigate semver dependency redos vulnerability
  • Increase size of autogenerated app icons

Patch Changes

  • Fixed a bug where the SSO-URL would not open, when using the CLI on Gitpod
  • Added auto reload functionality to multi component widgets
  • Fix injection of stylesheets to the widget html
  • Add CSP rule to allow for secure web socket connections
  • Fix too many redirects when doing a service request on gitpod
  • Show error details when the app installation fails
  • Injection of the css bundle no longer needs to match main.css entrypoint
  • Bump esbuild to version 0.19.4
  • Fixed overwriting runtime types by removing obsolete node types

0.111.0

Minor Changes

  • Allow override of dynatrace dependencies from app config
  • Update app templates
  • Add dynatrace transitive dependencies into the manifest
  • Switch app's build target from ES2017 to ES2021
  • Update generated tsconfig files for widgets and actions

Patch Changes

  • Improve the error message in case of a deployment failure from the backend side
  • Fix injection of sdkShimScript
  • Fix fetching of the token with incorrect scopes when deploying the app

0.110.2

Patch Changes

  • Update openkit to fix a vulnerability

0.110.0

Patch Changes

  • Impove error message in case of misconfigured self monitoring url
  • Fix a bug where live reloading of widgets did not work
  • Fix watch.ready being triggered multiple times on some Linux distros
  • Fix a bug where main.css was not injected when a custom distDir was configured
  • Fix npm dependency issue when creating app functions
  • Fix a bug where the deprecation warning for "DTP*" env variables also showed up for variables that did not start with "DTP*"
  • Added warning when unsupported node version is being used with dt-app cli

0.109.0

Minor Changes

  • Fix transpilation problems by updating esbuild to 0.19.4
  • Update app templates
  • Display csp violations in the terminal

Patch Changes

  • Increase payload size from 1MB to 50MB
  • Add missing functions getTheme, getLanguage and getTimezone to the runtime sdk shim
  • Improved error message when self monitoring url is invalid
  • Improve the console output of the deploy command
  • Set additionalEntryPoints deprecated

0.108.0

Minor Changes

  • Update app templates

Patch Changes

  • Improve terminal output in the welcome message
  • Generate app.config.json instead of app.config.ts when creating the app
  • Improve app icons generation
  • Fix zod cve vulnerability
  • Improved error message when self monitoring url is invalid
  • Fix local dev server timeout issues in node versions greater than 18
  • Add warning about peer dependencies if yarn is used as package manager
  • Improve error message when app schema validation can't be fetched

0.107.4

  • Fix regression in simulator types

0.107.3

Patch Changes

  • Fix a bug where main.css was not injected properly

0.107.2

Patch Changes

  • Fix a bug where a nested ui entry path broke the dev server

0.107.1

Patch Changes

  • Fix a bug where the runtime loader was not injected correctly

0.107.0

Minor Changes

  • Add self-monitoring feature

Patch Changes

  • Fix live reload service worker failing to register

0.106.0

Minor Changes

  • Update app templates dependencies
  • Update template dependencies

Patch Changes

  • Prevent cli create command from overwriting existing folders
  • Improve spinner when building actions and widgets
  • Improve indentation inside the terminal output
  • Fix esbuild issue for windows users that sometimes happens when updating app
  • Rename serverless to app function
  • Mocks services from inside the serverless functions
  • Correct the usage hint after the function got generated
  • Improve documentation
  • Generate app icon when deploying with --dry-run flag

0.105.0

Minor Changes

  • Add source maps support for new widgets and actions

Patch Changes

  • Prevent the cli create command from overwriting existing folders
  • Fix esbuild permission problems when updating it
  • Correct the quickstart hint for the new functions
  • Improve actions and widgets plugins configuration

0.104.0

Minor Changes

  • Add the possibility to specify esbuild plugins for the widget
  • Update app templates dependencies

Patch Changes

  • Fix problemMatcher in vscode debugging tasks
  • Improve deploy status messages
  • Improve package manager warning when creating the app
  • Correct environmentUrl in the example for app.config.json

0.103.0

Minor Changes

  • Fix passing of the cwd flag when generating function
  • Fix peer dependencies mismatch when executing migrations

0.102.1

Minor Changes

  • BREAKING CHANGE: The package.json was removed as a fallback to retrieve app metadata like the app's name, description, and version. Please make sure you provide this information in the app's configuration file

Patch Changes

  • Remove migration to resolve bug in update command

0.101.1

Patch Changes

  • Fix function and UI debugging
  • Fix missing app metadata in detached mode
  • Intents warning can now be closed
  • Fix a bug where the deployment failed caused by a non-resolvable dependency

0.101.0

Minor Changes

  • Update dependencies of app templates
  • Update esbuild to 0.17.18

0.100.0

Minor Changes

  • Limit app name to 40 and app id to 50 characters

Patch Changes

  • Fix a bug where plugins that have esbuild as a direct dependency did not work properly
  • Fix missing tsconfig.json message
  • Add missing query-param to the app registry call

0.99.3

  • Initial public release
Still have questions?
Find answers in the Dynatrace Community