Releases: demisto/demisto-sdk
Releases · demisto/demisto-sdk
v1.35.1
Breaking
- Removed DS106 (is valid description name) since it was duplicated by DS104 (no description file) from the new validate. #4774
Feature
- Locked the MyPy version to 1.14.1 in the mypy-in-docker pre-commit hook to ensure consistent type checking. #4812
- Added support for platform marketplace. #4815
- Improved implementation of BC107 validation to allow adding toversion field to a content item as long as a new content item is added to replace it in the next version. #4766
- Added LO100 validation. The validation verify of script names when used in the dynamic section of the layout. #4792
- Updated the message string of the new validate failures summary. #4818
- Added a "Mirroring" section to "SectionOrderValues" in order to support the new golden standard effort. #4799
- Improved implementation of the help message for the --input flag in the update-release-notes command. #4784
- Update the Graph parsers to support the new marketplace properties. #4823
Fix
- Improved handling of mirroring when preparing content for marketplaces where the feature is unsupported by the platform. #4795
- Improved implementation of regex in prepare-content command to remove XSOAR unrelated version references, except in unique documentation cases. #4798
- Fixed an issue where info-logging in run command failed. #4802
- Fixed an issue where setting the marketplace entry to xsoar_on_prem in the configuration also caused the test to run on xsoar_saas. #4803
- Fixed a typo in the force merge message during content build regarding validations. #4801
- Fixed an issue where the RN107 validation failed when releasing an update on case layouts. #4814
- Fixed an issue where PB130 was running on unnecessary files. #4793
- Fixed an issue where PB131 was not validating correctly in certain cases. #4793
- Fixed an issue where PA114 falsely failed on new packs. #4818
- Fixed an issue where several validations git statuses were incorrect. #4818
- Fixed an issue where running format on a pre-processing rule would delete the script ID field, it is now retained. #4805
- Improved the visibility and formatting of error messages for the generate-docs, split and the update-release-notes commands. #4817
- Fixed a typo in RN116 error message. #4809
- Fixed an issue in BA102 where Invalid content items would mistakenly fail for integration or script nested folders. #4774
- Fixed an issue where some validations would fail with the wrong file path in the error message. #4774
- Fixed an issue where pushing a Docker image to a Docker registry incorrectly returned a success message despite the operation failing. #4825
- Fixed an issue in pre-commit where debug level logs were not appearing in the log file. #4822
Internal
v1.35.0
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
Feature
- Added support for
command_examples
paths to thevalidate-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
v1.34.0
v1.33.6
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
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
v1.33.4
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
v1.33.3
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 thesilent-
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
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
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 thetest-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