Skip to content

Releases: demisto/demisto-sdk

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

v1.27.1

03 Mar 10:15
Compare
Choose a tag to compare
  • Updated the validate command (PA114) to verify the "currentVersion" field was raised in the pack_metadata when changing specific fields in the pack_metadata file. #3972
  • Added support for update-release-notes command to update release notes when changing specific fields in the pack_metadata file. #3972
  • Added support to load the correct file content when reading remote files according to its URL. #4050
  • Added to the pre-commit command a new hook validate-deleted-files which validates it is not possible to delete certain files. #4050
  • Added support for hybrid field in pack_metadata.json and the integration YAML. #4087
  • Improved error handling when reading files locally, remotely or from git. #4081
  • Added README to the xsoar-lint command #4043
  • Fixed an issue where SDK would crash when running on repoitories which do not have git configured. #4088
  • Fixed an issue where reading files on repositories which are not git repositories failed when the path provided was relative path. #4088
  • Fixed an issue where lint would crash without internet connectivity. #4098
  • Fixed an issue where SDK would crash when trying to read files which are not encoded with utf-8 directly from memory. #4081
  • Added description field to Assets Modeling Rules content item. #4005
  • Added the validate-conf-json pre-commit hook, checking for structure and linked content. #4051