Skip to content

Releases: demisto/demisto-sdk

v1.30.0

28 May 16:51
Compare
Choose a tag to compare
  • Started adaption for demisto-sdk lint command. The command will be fully removed soon Use demisto-sdk pre-commit instead. #4286
  • Added validation for image files in doc_files folder. #4249
  • Refactored PB101 and PB123 valildations. #4273
  • Refactored validation IF116, Check whether a selectValue key in an incidentField of type multiSelect contains empty options. #4278
  • Added support for IT valildations in the new validation command. #4264
  • ֹ"Converted the RM106 validation to the new format. The validation verifies that README doesn't contain the word 'demisto'". #4295
  • Added XSIAM prefix for the defaultDataSource integration README. #4305
  • When updating an existing graph, the list of updated packs is now sorted. #4261
  • Refactored all DA valildations. #4264
  • Updated validation BC106, Verify that the fromVersion key in an incident field has not been changed. #4276
  • ֹConverted the DS107 validation to the new format. The validation verifies the integration description doesn't contain the word 'demisto'. #4296
  • Refactored validation DS100, check whether a description file exists for a beta integration. #4274
  • Removed support for the defaultDataSource field in the pack metadata for hybrid packs. #4302
  • Added support for Python 3.11 #2801
  • Refactored validation IM111, Verify the integration image is within the allowed dimensions. #4255
  • Added the defaultDataSource field to the pack metadata. #4139
  • Change the default fromversion of XSIAM content items to 8.0.0 #4243
  • Fixed an issue where .demisto-sdk-conf did not take into consideration command arguments setting to false. #4253
  • Fixed an issue where format did not take .demisto-sdk-conf into consideration. #4253
  • More detailed error message with action items for validation RM108. #4269
  • Removed lint step from all sdk build steps. #4286

v1.29.3

07 May 13:06
Compare
Choose a tag to compare
  • Fixed an issue where validate ran from-version validation on trigger content items which do not have from_version field. #4235
  • Fixed an issue where requests to dockerhub failed on rate-limits when authenticating with username and password. #4227
  • Fixed an issue where reading pre-commit config templates would not handle cases with key=false and key:mode=true. #4238
  • Improved printing of file paths in the internal gitutil. #4251

v1.29.2

16 Apr 06:58
Compare
Choose a tag to compare
  • Added the --docker_image and --image_ref flags to *pre-commit to override values from configuration files. #4223
  • Removed the update-additional-dependencies script and pre-commit hook. #4225

v1.29.1

14 Apr 12:48
Compare
Choose a tag to compare
  • Fix metadata (i.e. description) for XSOAR6 marketplace. #4208
  • Fixed an issue where xsoar_on_prem tag, was not removed as part of the parsing process. #4218
  • Added support to delete packs in graph update #4205
  • Added a default .pre-commit-config_template.yaml file that will be used by pre-commit command in case such does not exist in the target repository. #4194
  • Fixed an issue where the graph was not fully cleaned before import in graph update #4215
  • Fixed an issue where tests were not collected in VSCode after setup-env #4219
  • Fixed an issue where validate spammed logs when running. #4203
  • Added the dump-api command to dump the demisto-sdk API to a JSON file. #4214

v1.29.0

01 Apr 13:39
Compare
Choose a tag to compare
  • The new validate flow is enabled by default while the old one is disabled. If you want to change this behavior, use the --run-old-validate and --skip-new-validate flags or the RUN_OLD_VALIDATE and SKIP_NEW_VALIDATE environment variables. #4114
  • A new version of validate is available. For more information, refer to the readme. (a docs web page with further information about each validation will be added soon). Note that the old validate flow is beginning to go under a deprecation process and will eventually be removed. #4114
  • Added the --template-path argument to the pre-commit command. #4184
  • Added support for a new argument *parallel for each hook to determine whether a hook run in parallel or not. #4130
  • Added handling for API Modules in pre-commit. #4175
  • Fixed an issue in pre-commit when using --all-files it crashed with memory error. #4196
  • Fixed an issue in graph update where all content packs were being parsed. #4186
  • Fixed an issue in graph update to create the graph from scratch if changed packs can not be determined. #4186
  • Fixed an issue in graph update where the graph failed to update in external repositories. #4190
  • Fixed an issue where pre-commit command showed wrong hooks failing. #4130
  • Fixes an issue where Fetch Events and Fetch Assets checkboxes appeared in Xsoar Machines. #4160
  • Added an implicit validation for the graph's relationship object by converting it to utilize Pydantic. #4142

v1.28.0

27 Mar 15:17
Compare
Choose a tag to compare
  • Added the validate-xsoar-config pre-commit hook, replacing XC validations. #4150
  • Add --prev-version argument to pre-commit command. #4177
  • Installing virtual environment in setup-env command will use uv and will fall back to pip to install requirements. #4065
  • Fixed an issue where pre-commit failed when called from an inner directory of a content repo. #4182
  • Fixed an issue where generate-docs command didn't work on newly-created integrations in existing Packs. #4162
  • Fixed an issue in setup-env where the pack was not uploaded correctly to XSOAR/XSIAM. #4166
  • Fixed an issue in setup-env where debug failed when running locally and not with docker. #4166
  • Added a script for generating validation docs #4103

v1.27.5

24 Mar 12:11
Compare
Choose a tag to compare
  • Added the validate-content-path pre-commit hook #4084
  • Fixed an issue where setup-env command failed when demistomock.py file does not exist locally. #4094
  • Fixed an issue where prepare-content command didn't add contribution section to description files when support level of pack-metadata was developer support. #4151
  • Fixes an issue in graph commands where empty pack folders were not being ignored. #4154
  • Update file paths in test_content from ec2-user to gcp-user. #3828

v1.27.4

18 Mar 14:22
Compare
Choose a tag to compare
  • Added support for run_isolated field to the pre-commit configuration file. #3952
  • Added support for pass_docker_extra_args field to the pre-commit configuration file. #3952
  • Added the auto_update_docker_image field to the content-graph for scripts and integrations. #4133
  • Fixed an issue in validate where several failed silently when the readme was malformed and the validation was ignored in the pack ignore errors. #4129

v1.27.3

12 Mar 15:00
Compare
Choose a tag to compare
  • Fixed an issue in lint and pre-commit with custom container registry #4039

v1.27.2

11 Mar 10:21
Compare
Choose a tag to compare
  • Updated the DO106 error code in the validate command to not fail when a docker image is younger than 3 months instead of 3 days. #4119
  • Fixed an issue where lint crashed when collecting invalid logs. #4072
  • Adds auto-update to existing integration README and fixes README generation for existing Packs in contribution flow. #3820
  • Fixed an issue where new release notes were generated without marketplace specific tags when needed. #4118
  • Improved reviewer instructions on outdated pack submissions. #4113