Releases: demisto/demisto-sdk
Releases · demisto/demisto-sdk
v1.29.2
v1.29.1
- 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
- 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
- Added the
validate-xsoar-config
pre-commit hook, replacingXC
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 topip
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
- 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
- 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
v1.27.2
- 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
- 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
v1.27.0
- Added the graph get-dependencies command. #3992
- Added a new command xsoar-lint and added it as a hook to pre-commit. #3962
- Fixed an issue where lint created containers with the same name leading the command to crash. #4019
- Fixed an issue where secrets command failed in case of detached head git state #4041
- Fixed an issue where a few USES relationships between playbooks were not collected by the playbook parser. #4032
- Fixed an issue where validate failed pre-processing rule id-set file validation. #4042
- Fixed an issue where validate would not mention the reason when failing to connect to MDX. #4048
- Fixed an issue where reading files from git could not be read when a commit did not exist locally. #4052
- Fixed an issue where the upload command failed when using the
DEMISTO_SDK_OFFLINE_ENV
environment variable. #4034 - Fixed an issue where setup-env crashed when trying to upload an instance of an integration into xsoar. #4044
- Fixed an issue where the init command sometimes failed in the dialogue when enter was pressed and not explicitly written false. #4058
- Fixed an issue where validate would state that it failed, even though it shouldn't, and then it would display an empty list of content items when running on specific validations. #4006
- Fixed an issue where reading files from git failed when sending file paths as absolute. #4060
- Code readability improvements in the error-code command. #3322
- Update
update_content_graph
function to create the graph from scratch ifDEMISTO_SDK_GRAPH_FORCE_CREATE
env is set to true. #4037 - Updated the path of the
neo4j
directory, generated & used by thegraph
commands, to project's directory ($HOME/.demisto-sdk
). #4010 - Added a
DEMISTO_SDK_NEO4J_VERSION
environment variable to set a custom Docker tag to pull for theneo4j
image instead of the default one. #4010 - Added
comment:marketplacev2
to the script schema. #4077 - Sped up the way validate checks for deprecated content items. #3578
- Sped up the way validate reads pack_metadata.json files. #3578
- Added support for SVG image files in the validate command. #4047
- Added support to set
deprecated
field for specific marketplaces in content items. #4078 - Added a new step in the validate-changelog to comment the changelog description in PR comments. #4040
- Added support to query the pull request number automatically when running sdk-changelog --init command. #4040
- Modified the logging level of a few messages accross the SDK. #3301