- Added support for K2 mode
- Removed support for K1 mode
- Added extension function on
Gitto get the diff lines of a specific file - Fixed caching bug when running a Dangerfile inside the IDE via the plugin
- Disable SLF4J logging during dependency resolution
- Fix an edge case where DangerContext can be installed before plugins are registered
- Added
DangerContextas part of the receiver context for bothdanger()andrule()blocks. - Added
ENABLE_DANGER_MAVEN_PROXYenvar check to proxy filter for an additional way to enable the proxy filter.
- Refactoring how the
danger-kotlin-sdkintegrates with the main library - Simplified test plugin setup in the project
- Added test fixtures for
danger-kotlin-sdk - Add new
@file:ImportDirectorykscript annotation for importing entire directories of scripts - Disabled all
@Importand@ImportDirectoryannotations when loading the script in an IDE context. See https://youtrack.jetbrains.com/issue/KTIJ-16352. - Adding support for
http_proxyso that maven repositories/dependencies can be resolved in certain CI setups.
- Fixed ANR when project is loading in the IDE
- Fixed IJ run actions not working on production IDE builds.
- Fixed IJ plugin not updating run actions when branches change
- Added a new
Rulesfeature that allows you to write multiple danger rules for a single run in a graphable order. - Added IntelliJ Plugin settings panel for displaying current information and allow custom source jar for scripts
- Fixed how IJ Plugin searches PR urls for
danger-kotlin prruns. - IJ Plugin will now auto-hydrate the run environment for GH tokens, base, api urls
- Added Run Configuration to IntelliJ Plugin so Dangerfiles can be run directly in the IDE
- Fixing how clikt parses arguments to prevent it from choking
- Setup publishing for IntelliJ Plugin
- More repo maintenance.
- Forked repository to make substantial improvements to build configurations
- Fixed bug in ScriptDefinition not loading jvm classpath correctly
- Added IntelliJ Plugin that autoloads the script definition into IDEA/AS
- Added GitHub client to script library that is hydrated based on the same env vars as danger-js
- Update README.md with guidance to enable auto-complete in Android Studio @gianluz - #242
- Update install script with Kotlin compiler 1.7.0 @gianluz - #241
- Add accessors for Danger reports @417-72KI - #245
- Update
Kotlinto1.7.0and added support for Apple Silicon Chipset @gianluz - #231 - Make user property nullable for cases when non BB user did a commit [@vchernyshov]
- Make GitLab approvals_before_merge variable nullable #227
- Add support of BitBucketCloud [@vchernyshov] - #214
- Make
force_remove_source_branchnullable in GitLab Merge request entity @davidbilik - #197 - Make
lastReviewedCommitnullable on BitBucket Server @f-meloni - #211 - Update
GitLabMergeRequestmodel: addsquashfield [@sonulen] - #212 - Add Gitlab extensions for url's: to project, to file diff, to current version of file [@sonulen] - #212
- Upgrade action to use node14 @eygraber - #215
- Coroutines compatibility @gianluz - #177
- Improving error message for when a DangerPlugin was not registered @rojanthomas - #181
- Fix body parameter in github models @tegorov - #175
- Update kotlinx-datetime to 0.1.1 @f-meloni - @gianluz - #167
- Support GitLab different time zones on the JSON @f-meloni - #169
- Update Kotlin to 1.5.0 @gianluz - #171
- Support --help parameter @f-meloni - #153
- Update Kotlin to 1.4.10 @gianluz - #140
- Migrate from moshi to kotlinx serialization @gianluz - #141
- Fix incorrect url in install.sh script and in Dockerfile @davidbilik - #144
- Road to 1.0 - Refactor project structure @gianluz - #142
- Handle danger-js custom paths with parameter
--danger-js-path@f-meloni - #153 - Update Kotlin to 1.4.20 @gianluz - #148
- Fix gitlab defaults following kotlinx serialisation @gianluz - #146
- Road to 1.0 - Migrate from java.util.Date to kotlinx.datetime @gianluz - #147
- Fix typo in Github Milestone serialization [@doodeec] - #151
- Use fixed commit of danger/kotlin repository in install.sh script @davidbilik- #152
- Update Kotlin to 1.4.31 @gianluz - #160
- Library resolver and plugin installer gradle plugin @gianluz - #158
- Make milestone description optional @f-meloni - #136
- Optimise Dockerfile layers to make Danger-Kotlin faster when the image is pulled on CI @f-meloni - #129
- Add action.yml to make it possible to run locally through act @mariusgreve - #135
- Add logger @f-meloni - #126
- Fix DangerKotlinScriptDefinition @gianluz - #121
- Update Kotlin to 1.4.0 @uzzu - #116
- Fix crash at milestone.dueOn @anton46 - #108
- Fix crash on milestone.closedAt @anton46 - #108
- Add abstraction for executing shell commands via
ShellExecutor@davidbilik - #105
- Fix to allow for large GitHub id values @brentwatson - #108
- Fix invalid parsing of changes in diff @davidbilik - #106
- Add extensions for changed lines in Git @davidbilik - #102
- Add exec function @f-meloni - #97
- Add readFile function @f-meloni - #93
- Github exposing user avatar @gianluz - #96