Skip to content

Latest commit

 

History

History
306 lines (240 loc) · 15.9 KB

CHANGELOG.md

File metadata and controls

306 lines (240 loc) · 15.9 KB

Changelog

5.1.0

Task 6.1.0

  • Add useAdditionalVariablesOnly parameter (#29).

Task 5.4.0

  • Add useAdditionalVariablesOnly parameter (#29).

5.0.8

  • Add links in README to migration documentation.

Task 3.12.4

  • Add explicit deprecation warning.

Task 4.4.4

  • Add explicit deprecation warning.

5.0.7

Task 6.0.6

  • Fix default case sensitivity in sources and additional variables matching (#29).
  • Fix default directories and files starting with a dot in sources and additional variables matching (#29).

5.0.6

Task 6.0.5

  • Fix normalized variable names not supported as token name (#15) (#20).

5.0.5

Task 5.3.3

  • Fix telemetry account hash.

Task 4.4.3

  • Fix telemetry account hash.

Task 3.12.3

  • Fix telemetry account hash.

5.0.4

Task 6.0.4

  • Update @qetza/replacetokens to 1.4.0.
  • Change telemetry provider.

Task 5.3.2

  • Change telemetry provider.

Task 4.4.2

  • Change telemetry provider.

Task 3.12.2

  • Change telemetry provider.

5.0.3

Task 6.0.3

  • Fix minimum agent requirement to 2.206.1 (#13).
  • Fix paths in sources incompatible with fast-glob syntax on win32 (#16).
  • Add agent OS in telemetry (#5).

Task 5.3.1

  • Add agent OS in telemetry (#5).

Task 4.4.1

  • Add agent OS in telemetry (#5).

Task 3.12.1

  • Add agent OS in telemetry (#5).

5.0.2

Task 6.0.2

  • Add aliases for renamed inputs to ease upgrade (#11).

5.0.1

Task 6.0.1

  • Fix missing default variables due to case-sensitivity (#8).

5.0.0

Task 6.0.0

  • Breaking changes: the task was completely rewritten to use the npm package @qetza/replacetokens and be more similar with the new ReplaceTokens GitHub Actions:
    • support only node 16
    • updated to fast-glob for glob pattern
    • renamed input targetFiles to sources
    • removed support for comma-separated paths in targetFiles
    • renamed encoding value win1252 to windows1252
    • merged inputs variableFiles and inlineVariables in additionalVariables
    • renamed input variableSeparator to separator
    • renamed input enableRecursion to recursive
    • renamed input rootDirectory to root
    • renamed tokenPattern value rm to doubleunderscores
    • renamed input writeBOM to addBOM
    • changed writeBOM default value to false
    • renamed input verbosity to logLevel
      • renamed verbosity value detailed to debug
      • renamed verbosity value normal to info
      • removed verbosity value off (see new supported values for replacement)
    • renamed input actionOnMissing to missingVarLog
      • renamed actionOnMissing value continue to off
      • renamed actionOnMissing value fail to error
    • replaced keepToken with missingVarAction with value keep
    • renamed input actionOnNoFiles to ifNoFilesFound
      • renamed actionOnNoFiles value continue to ignore
      • renamed actionOnNoFiles value fail to error
    • renamed input enableTransforms to transforms
      • renamed transform noescape to raw
    • renamed input transformPrefix to transformsPrefix
    • renamed input transformSuffix to transformsSuffix
    • removed input useLegacyPattern
    • removed input useLegacyEmptyFeature
    • replaced input useDefaultValue with missingVarAction with value replace
    • removed input emptyValue
    • renamed input defaultValue to missingVarDefault
    • removed input enableTelemetry to telemetryOptout and inverse meaning
    • renamed output tokenReplacedCount to replaced
    • renamed output tokenFoundCount to tokens
    • renamed output fileProcessedCount to files
    • renamed output transformExecutedCount to transforms
    • renamed output defaultValueCount to defaults
  • Add new token pattern githubactions.
  • Add new log levels warn and error.
  • Add support in additionalVariables for JSON encoded environment variables.
  • Add support for REPLACETOKENS_TELEMETRY_OPTOUT environment variable.

Task 5.3.0

  • Add support for indent transformation with indent size and indent first line parameters (326).
  • Add support for REPLACETOKENS_TELEMETRY_OPTOUT environment variable.

Task 4.4.0

  • Add support for indent transformation with indent size and indent first line parameters (326).
  • Add support for REPLACETOKENS_TELEMETRY_OPTOUT environment variable.

Task 3.12.0

  • Add support for indent transformation with indent size and indent first line parameters (326).
  • Add support for REPLACETOKENS_TELEMETRY_OPTOUT environment variable.

4.5.0

Task 5.2.0

  • Fix recursion cycle detection (#308) (contributed by Chad Smith).
  • Add support for YAML multiple document files in variable files and inline variables (#287).
  • Add support for JSON with comments variable files (#299).
  • Add support for Node16 execution handler.

Task 4.3.0

  • Fix recursion cycle detection (#308) (contributed by Chad Smith).
  • Add support for YAML multiple document files in variable files and inline variables (#287).
  • Add support for JSON with comments variable files (#299).

Task 3.11.0

  • Fix recursion cycle detection (#308) (contributed by Chad Smith).
  • Add support for YAML multiple document files in variable files and inline variables (#287).
  • Add support for JSON with comments variable files (#299).

4.4.1

Task 4.2.1

  • Fix compatibility with node 5.10.1 (#277).

Task 3.10.1

  • Fix compatibility with node 5.10.1 (#277).

4.4.0

Task 5.1.0

  • Add support for inline variables (#252).
  • Add support for recursive token replacement in values (#201).
  • Add optional reworked feature to simplify empty and default values (this is a breaking change if enabled as the old Empty value is not used anymore but replaced by an empty variable declaration).

Task 4.2.0

  • Add support for inline variables (#252).
  • Add support for recursive token replacement in values (#201).
  • Add optional reworked feature to simplify empty and default values (this is a breaking change if enabled as the old Empty value is not used anymore but replaced by an empty variable declaration).

Task 3.10.0

  • Add support for inline variables (#252).
  • Add support for recursive token replacement in values (#201).
  • Add optional reworked feature to simplify empty and default values (this is a breaking change if enabled as the old Empty value is not used anymore but replaced by an empty variable declaration).

4.3.0

Task 5.0.0

  • Breaking change: Migrate task to Node10 execution handler needing agent 2.144.0 minimum (#228, #230).

4.2.1

Task 4.1.1

  • Revert migrate tasks to Node10 execution handler (#233).

Task 3.9.1

  • Revert migrate tasks to Node10 execution handler (#233).

4.2.0

Task 4.1.0

  • Migrate tasks to Node10 execution handler (#228, #230).

Task 3.9.0

  • Migrate tasks to Node10 execution handler (#228, #230).

4.1.0

Task 4.0.1

  • Promoted to release.
  • Add base64 transform (#163).
  • Add action on no file processed (#210).

Task 3.8.0

  • Add base64 transform (#163).
  • Add action on no file processed (#210).

4.0.0

  • Add support for multiple task versions.

  • Task 4.x (preview)

    • Breaking change: Add output variables (#160). (some older version of TFS/Azure Pipelines doesn't support output variables when used in release pipelines)
    • Breaking change: Add dropdown parameter Token pattern to select token pattern (#131). (users with customized token pattern will need to manually select one or custom)

3.7.1

  • Fix issue on binary files (#193).
  • Rollback output variables (#196).

3.7.0

  • Add output variables tokenReplacedCount, tokenFoundCount and fileProcessedCount (#160).
  • Add support for variable transformations with Enable tranformations (#96).
  • Add default value for tokens not found with Default value (contribution from ClemensSutor).
  • Group log outputs in Azure Pipelines output.
  • Add support for variables in external YAML files with .yml or .yaml extension (#177).

3.6.0

  • Add parameter Use legacy pattern with default value to false.

3.5.2

  • Fix issue when token prefix present but not as a token prefix (#149).

3.5.1

  • Fix issue when variable System.ServerType is not defined (#147).

3.5.0

  • Add anonymous usage telemetry.
  • Ignore spaces between token prefix/suffix and variable name (#143).

3.4.1

  • Fix JSON escaping of slash / (#138)

3.4.0

  • Add summary in logs with number of tokens found and replaced (#126).
  • Add support for variables in external JSON files (#113).

3.3.1

  • Breaking change: If you were using negative pattern you need to use the semi colon ; as a separator instead of new-line in Target files.
  • Fix negative pattern support (#127).

3.3.0

  • Add support for custom output file and wildcard support (#114).

3.2.2

  • Fix matching issue with directory (#122).

3.2.1

  • Fix log issue with escaped secret values.

3.2.0

  • Switch to jschardet for encoding detection when selecting auto in File encoding (#99).
  • Switch to azure-pipelines-task-lib v2.8.0.
  • Add auto to Escape type and set it as default value.
  • Move Escape type, Escape character and Characters to escape to the main paramters section for easier discoverability.

3.1.0

  • Add Verbosity parameter to allow detail logs without using system.debug.

3.0.0

  • Breaking change: If you were using the character escaping feature you need to select custom in Escape values type parameter.
  • Add support to escape JSON in variable values (contributed by Justin Gould)
  • Add support to escape XML in variable values (contributed by Justin Gould)
  • Add Windows 1252 and ISO 8859-1 encoding to File encoding (#67)

2.3.0

  • Add support to escape characters in variable values (#52)

2.2.1

  • Fix issue with backslash in default target files value on mac (#50)

2.2.0

  • Fix issue on file not found when using network paths (#40, #41).

2.1.0

  • Add support for comma-separator in Target files (#35).
  • Add Empty value parameter to allow token replacement with an empty string (#32).

2.0.2

  • Fix invalid file permissions after saving files.

2.0.0

  • Breaking change: Migrated code to typescript to support cross-platform agent. This change requires the use of an agent at least in version 2.105.0 which is not compatible with TFS 2015. If you need to install the task on TFS 2015, download the vsix from the repository: https://github.com/qetza/vsts-replacetokens-task/releases/download/v1.4.1/qetza.replacetokens-1.4.1.vsix
  • Breaking change: File encoding parameter is now used when reading and writing files. Previously it was only used when writing.
  • Breaking change: File encoding doesn't support 'utf-32' and 'utf-32 (big endian)' anymore.
  • Breaking change: Target files parameter now only uses the new line as a separator for multi-values (previously it used new-line and semi-colon).
  • Removed required Root directory, an empty value is equivalent to $(System.DefaultWorkingDirectory).

1.4.1

  • Fix missing method issue with new xplat agent (2.104.1)

1.4.0

  • Add variables expansion in variable values.
  • Escape token prefix and suffix in regex pattern.

1.3.1

  • Fix wrong encoding constructors parameters.

1.3.0

  • Replaced parameter Fail on missing with Action in Missing variables group.
  • Add Keep token parameter in 'Missing variables' group.
  • Fix issue on empty file.

1.2.0

  • Add Root directory task parameter to configure file search root directory (contributed by Jesse Houwing).
  • Update Target files task parameter to support newline-separator (contributed by Jesse Houwing).