diff --git a/CHANGELOG.md b/CHANGELOG.md index cf9e00a..9074121 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -### `1.2.0` (2020/??/??) +### `1.2.0` (2020/09/03) #### `core` diff --git a/README.md b/README.md index 63b085a..ae53a00 100644 --- a/README.md +++ b/README.md @@ -134,19 +134,22 @@ Contribution is fully welcome. Before submitting a Pull Request, please verify y ## Release History -### Latest Release: `1.1.0` (2020/08/24) +### Latest Release: `1.2.0` (2020/09/03) #### `core` - - Fix float and double forgeries (they sometimes returned values out of the requested range) - -#### `inject` +- Allow using the `@StringForgery` annotation to forge Strings based on Regex +- Allow setting a size in `@StringForgery` annotation - - Add default String type (i.e.: `ALPHABETICAL`) to the `@StringForgery` annotationy +#### `inject` -#### `spek` + - Allow injecting collections of primitives with `@BoolForgery`, `@IntForgery`, `@LongForgery`, `@FloatForgery`, `@DoubleForgery`, as well as `@StringForgery` and `RegexForgery` + - Allow advanced forgery injections using `@AdvancedForgery` and `@MapForgery` + +#### `junit5` - - Implement a `spekForge` helper method to add reproducibility in Spek tests + - Allow injecting collections of primitives with `@BoolForgery`, `@IntForgery`, `@LongForgery`, `@FloatForgery`, `@DoubleForgery`, as well as `@StringForgery` and `RegexForgery` + - Allow advanced forgery injections using `@AdvancedForgery` and `@MapForgery` ## Donate diff --git a/buildSrc/src/main/kotlin/fr/xgouchet/buildsrc/plugin/GithubWikiTask.kt b/buildSrc/src/main/kotlin/fr/xgouchet/buildsrc/plugin/GithubWikiTask.kt index 2a716f9..e0569be 100644 --- a/buildSrc/src/main/kotlin/fr/xgouchet/buildsrc/plugin/GithubWikiTask.kt +++ b/buildSrc/src/main/kotlin/fr/xgouchet/buildsrc/plugin/GithubWikiTask.kt @@ -13,6 +13,8 @@ open class GithubWikiTask : DefaultTask() { init { group = "documentation" description = "generates a Github compatible wiki reference" + + outputs.upToDateWhen { false } } internal var projectDokkaDir: File = File("./dokka") diff --git a/core/build.gradle.kts b/core/build.gradle.kts index 5afd0b7..985e686 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -40,12 +40,14 @@ githubWiki { "fr.xgouchet.elmyr.kotlin.FactoryProperty", "fr.xgouchet.elmyr.kotlin.FactoryListProperty", "fr.xgouchet.elmyr.kotlin.FactorySetProperty", + "fr.xgouchet.elmyr.annotation.AdvancedForgery", "fr.xgouchet.elmyr.annotation.BoolForgery", "fr.xgouchet.elmyr.annotation.DoubleForgery", "fr.xgouchet.elmyr.annotation.FloatForgery", "fr.xgouchet.elmyr.annotation.Forgery", "fr.xgouchet.elmyr.annotation.IntForgery", "fr.xgouchet.elmyr.annotation.LongForgery", + "fr.xgouchet.elmyr.annotation.MapForgery", "fr.xgouchet.elmyr.annotation.RegexForgery", "fr.xgouchet.elmyr.annotation.StringForgery", "fr.xgouchet.elmyr.annotation.StringForgeryType"