Skip to content

Releases: demisto/demisto-sdk

v1.35.0

03 Feb 15:59
ac59b02
Compare
Choose a tag to compare

Fix

  • Fixed an issue where the demisto-sdk setup-env command failed when no file_paths argument was provided. #4791
  • Fixed an issue where the demisto-sdk validate command ran on the remote branch instead of the local current branch by default. #4778

Internal

  • Added support for setting the dependency minimum version in the pack metadata. #4786
  • Added new VC100 validation. Validates that version_config file schema is valid. #4769
  • Added new VC101 validation. Validates that versions in version_config file are continuous. #4769
  • Added the VERSION_CONFIG field type. #4794
  • Added the test-use-case command to test use-case flows on cloud machines. #4658

v1.34.1

28 Jan 06:05
e95dbd3
Compare
Choose a tag to compare

Feature

  • Added support for command_examples paths to the validate-content-paths in the demisto-sdk pre-commit hook. #4775
  • Added shorter flags -i for the --input option and -o for the --output option in the demisto-sdk split command to enhance usability. #4785

Fix

  • Fixed ST111 validation error message. #4779
  • Fixed an issue in RN114 validation where the validation's error will no longer be raised when the latest playbook release notes format is used. #4782
  • Fixed an issue where RN111 validation would fail when a docker entry message was missing. #4781

Internal

  • Fixed an issue in the Docker proxy mechanism where ISO 8601 timestamps with nanosecond precision were not properly parsed. #4783
  • The mocking mechanism in the demisto-sdk test-content command will be removed in upcoming versions of the demisto-sdk. #4772

v1.34.0

21 Jan 20:55
b717568
Compare
Choose a tag to compare

Internal

  • Reintroduce support for GAR DockerHub proxy when running in a Gitlab CI environment. #4655
  • Updated RM108 validation to allow absolute paths if the files are a part of content-assets. #4683

v1.33.6

20 Jan 15:07
06f21c4
Compare
Choose a tag to compare

Feature

  • Updated the update-release-notes command to handle changes in scripts and integration (using the objects under content_graph). #4562
  • Updated the RN103 validation to validate the new fill in templates: "%%UPDATE_CONTENT_ITEM_CHANGE_DESCRIPTION%%", "%%UPDATE_CONTENT_ITEM_DESCRIPTION%%", "%%UPDATE_CONTENT_ITEM_NAME%%", "%%UPDATE_CONTENT_ITEM_TYPE%%". #4562
  • Added a summary to the validate command that informs the user for each validation error whether it’s forcemergeable, ignorable, or must be handled. #4773

Fix

  • Fixed an issue where some demisto-sdk command exception stack-traces were excessively long. #4776

v1.33.5

15 Jan 09:27
dd55754
Compare
Choose a tag to compare

Feature

  • Modified the pre-commit command tests collections flow to collect all tests files in the same directory as a changed script for improved robustness. #4761
  • Reduced commands startup time. #4752
  • RN111 will now fail when unnecessarily updating a docker image. #4741
  • Added IF109 to the new validation format. Checks whether an incident or indicator field has a valid required field value. #4753
  • Added IF117 to the new validation format. Checks whether an incident or indicator field aliases have a valid marketplaces field value. #4753

Fix

  • Fixed an issue in update-release-notes command will fail when handling special characters in the --text argument. #4751
  • Fixed an issue where in some cases, parsing playbook related files would fail due to naming discrepancy. #4758
  • Fixed an issue where the update-release-notes command would delete the version from the pack metadata when using the -u flag with an invalid value. #4765
  • Locked poetry v1.8.5 version. #4756
  • Fixed an issue where the ST110 validation failed when adding the marketplaces key to the CaseLayout content item. #4763
  • Updated pre-commit command Ruff Hook to use the output-format argument. #4767

Internal

  • Added IF118 to the new validation format. Checks if an alias of an incident field has it's own alias. #4748
  • Added PB121 to the new validation format. Checks if the inputs of a playbook that are intended to be fetched from the context are in the correct format. #4702

v1.33.4

06 Jan 11:36
c35779f
Compare
Choose a tag to compare

Breaking

  • Started deprecation process for old validate. This flow will be deprecated and removed in the near future. Please use the new validate flow. #4750

Feature

  • Added support for validating CaseLayout content items in the RN114 validation. #4755
  • Updated the ST110 validation to validate the "sectionOrder" and individual sections. Added new validation ST111 which validates the existence of the same fields. #4739
    #4735

Fix

  • Fixed an issue where the build-Devcontainer Github action failed due to file_path being None in setup-environment command. #4747
  • Fixed an issue where an incorrect marketplace reference was not properly removed from the code. #4745

v1.33.3

01 Jan 07:48
314784a
Compare
Choose a tag to compare

Breaking

  • The demisto-sdk convert command has been deprecated and is no longer available for use. #4743

Feature

  • Added TR100 and PB130 validations. Ensures that all silent Playbooks/Triggers have is_silent = True, and name/trigger_name, ID and file_name start with the silent- prefix. #4740
  • Added BA128 validation. Ensures script and integration command names don't start with a digit. #4722

Internal

  • Upgraded pylint library version to 3.3.2. #4709

v1.33.2

29 Dec 18:20
e552b84
Compare
Choose a tag to compare

Breaking

  • Removed support for DS107 and RM106 validations. Ensures no "demisto" word in description and readme files for both new & old validate formats. #4712
  • Changed the code of RM116 - Validate that the readme file is not to short to RM117 due to error code duplication. #4712

Feature

  • Excluded silent items from release notes validation. #4720
  • Added PB131 validation. Ensures every silent trigger points to a silent playbook, and vice versa. #4670
  • Excluded silent-Playbooks/Triggers from the metadata. #4692
  • Added support for Silent-Playbooks in the old-validate. #4726
  • Added support for CaseLayouts and CaseFields content items paths to the validate-content-paths demisto-sdk pre-commit hook. #4706
  • Added PB132 validation. Ensures that silent playbooks do not have a README file. #4723
  • Updated validation rules to allow the deletion of silent Playbooks and silent Triggers. #4715
  • Added support for writing demisto-sdk pre-commit command results to files. #4697
  • Moved the CR101 validation to the new validation format. Checks if "Correlation Rule" files match standards to validate_content_path. #4569
  • Added PB130 validation. Checks whether the silent playbook name id and the isSilent key are set correctly. #4662

Fix

  • Fixed an issue where YmlSplitter attributes were being unintentionally updated. #4713
  • Fixed an issue where ST110 would incorrectly fail when adding the isSilent field. #4716
  • Fixed an issue where the error message wasn't clear when attempting to upload a content item to an unsupported marketplace. #4727
  • Changed the isSilent key to lower case. #4728
  • Fixed an issue in the demisto-sdk modeling-rules command where colored logs were not printed properly. #4733
  • Fixed an issue where RM114 falsely failed when it concatenated "Packs/" twice to the file path. #4717
  • Fixed an issue where RN106 and PA114 validations would fail on new packs. #4710
  • Fixed an issue where YmlSplitter attributes were being unintentionally updated. #4696
  • Fixed an issue where RN111 would fail when it should not when the docker entry message was missing. #4714
  • Fixed an issue where the "incident to alert" conversion was not applied to the metadata file during the execution of the prepare-content command. #4736
  • Fixed an issue where RN107 validation would fail on new content items and specific content types. #4711

Internal

  • Added the generate-command-docs script and a pre-commit hook to generate commands documentation. #4664

v1.33.0

09 Dec 10:56
27378c9
Compare
Choose a tag to compare

Feature

  • Modified the demisto-sdk --release-notes command to print a markdown representation of the currently installed demisto-sdk changelog. #4687
  • Added support for a new pack version_config.json file. #4699
  • Updated the prepare-content command to replace all occurrences of an incorrect marketplace reference in the content. #4659
  • The Demisto-SDK CLI has been upgraded to use Typer for command-line interface (CLI) management. #4637
  • Added an isSilent key to the Playbook and Trigger schemas. #4689
  • Updated the GR107 validation to fail once on each item, and the message will contain all deprecated items in use instead of failing multiple times. #4667

Fix

  • Fixed an issue where YmlSplitter attributes were being unintentionally updated. #4695
  • Fixed an issue where -t flag was missing from update-release-notes command setup. #4691
  • Fixed an issue where RN108 validation raised an exception when executed on a new pack. #4700
  • Fixed an issue in the validate command where new files could not be parsed. #4700
  • Fixed an issue in the validate command where .pack-ignore files could not be parsed. #4700
  • Fixed an issue where using the -i flag with setup-env command would fail. #4690
  • Fixed an issue where the generate-docs command failed to ignore hidden parameters. #4589
  • Fixed an issue where logger was not initialized properly. #4695
  • Fixed an issue where validate GR107 was failing on unrelated content-item when running on deprecated content-items. #4667

Internal

  • Fixed the demisto-sdk nightly's run-end-to-end-tests-xsoar step, and updated the test-content missing flags. #4686
  • Added the deprecated merge-id-sets command to Typer app. #4680
  • Update demisto-sdk commands documentation. #4685
  • Fixed an issue where setup-env command would fail when FILE_PATHS argument was missing. #4694
  • NOTICE: Demisto-SDK will soon stop supporting Python 3.9 #4698

v1.32.5

25 Nov 07:13
87bc123
Compare
Choose a tag to compare

Breaking

  • Removed PA134 from the old validate. The validation ensures that the pack has exactly one category and that this category is valid. #4673

Feature

  • Modified PA103 validation (validate pack categories). The validation will now allow multiple categories for a single pack. #4673
  • Modified the configuration section generated by the generate-docs command by removing navigation steps and generalizing the code to accommodate different Cortex platforms. #4585
  • Added support for non-default registry ports when using custom docker images. i.e: 'registry:5000/repository/image:main' #4674
  • Added support for utilizing content_status.json within content pipelines. #4656

Fix

  • Fixed an issue where demisto-sdk pre-commit inadvertently skipped all files when executed with the --all-files flag. #4668
  • Fixed an issue where demisto-sdk commands would fail in some system setups. #4666
  • Fixed an issue where logging would fail when linking PR to Jira issue in the GitHub workflow step. #4649
  • Fixed an issue where logger crashed when imported as library. #4657
  • Fixed an issue where logging would fail when creating a Docker image. #4648

Internal

  • Moved RN106 and RN107 to the new validate format. These validations ensure there are no missing release notes. #4643
  • Fixed an issue where the git statuses of content objects related files were not calculated correctly. #4643