diff --git a/.changeset/VERSION b/.changeset/VERSION index 6c6aa7c..341cf11 100644 --- a/.changeset/VERSION +++ b/.changeset/VERSION @@ -1 +1 @@ -0.1.0 \ No newline at end of file +0.2.0 \ No newline at end of file diff --git a/.changeset/cyan-sloths-unite.md b/.changeset/cyan-sloths-unite.md deleted file mode 100644 index f2f96ef..0000000 --- a/.changeset/cyan-sloths-unite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changesets": minor ---- - -This change introduces a version policy (`ChangesetsVersionPolicy`) compatible with the Release Maven plugin, together with a flag `useReleasePluginIntegration` (default `false`) on the `prepare` goal. Enabling this flag will disable updating POM versions in `prepare` and only perform changeset processing. Updating versions in POMs can then be delegated to the Release plugin, together with all the other facilities that plugin provides. diff --git a/.changeset/few-coins-pump.md b/.changeset/few-coins-pump.md deleted file mode 100644 index 668bfdd..0000000 --- a/.changeset/few-coins-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"changesets": patch ---- - -Adapt for breaking changes of versions-common (introduced in #47). diff --git a/.changeset/fresh-coats-jog.md b/.changeset/fresh-coats-jog.md deleted file mode 100644 index f45960f..0000000 --- a/.changeset/fresh-coats-jog.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"changesets": minor ---- - -Introduced more parameters for generating more flexible changesets using the add goal. - -You can now create changesets with more prefilled info and with predictable names (useful for testing and dependabot). - -The new parameters are `changesetLevel` and `changesetFile` (`changesetContent` was already available). -``` -mvn changesets:add -DchangesetLevel=patch -DchangesetContent="My change" -DchangesetFile=magic.md -``` - diff --git a/.changeset/red-poets-heal.md b/.changeset/red-poets-heal.md deleted file mode 100644 index 7a48c57..0000000 --- a/.changeset/red-poets-heal.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"changesets": minor ---- - -Improved handling of multiline changesets, which previously would produce invalid bullet points. - -This change also introduces a Markdown formatter function to clean up any easily fixed formatting issues. diff --git a/CHANGELOG.md b/CHANGELOG.md index d3b0cfb..e37072c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,31 @@ # changesets +## 0.2.0 + +### Minor Changes + +- Improved handling of multiline changesets, which previously would produce invalid bullet points. + + This change also introduces a Markdown formatter function to clean up any easily fixed formatting issues. +- Introduced more parameters for generating more flexible changesets using the add goal. + + You can now create changesets with more prefilled info and with predictable names (useful for testing and dependabot). + + The new parameters are `changesetLevel` and `changesetFile` (`changesetContent` was already available). + + ``` + mvn changesets:add -DchangesetLevel=patch -DchangesetContent="My change" -DchangesetFile=magic.md + ``` +- This change introduces a version policy (`ChangesetsVersionPolicy`) compatible with the Release Maven plugin, together + with a flag `useReleasePluginIntegration` (default `false`) on the `prepare` goal. Enabling this flag will disable + updating POM versions in `prepare` and only perform changeset processing. Updating versions in POMs can then be + delegated to the Release plugin, together with all the other facilities that plugin provides. + +### Patch Changes + +- Adapt for breaking changes of versions-common (introduced in #47). + + ## 0.1.0 ### Minor Changes diff --git a/README.md b/README.md index 745ac88..e4ec985 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ users recognize the ways of working and feel at home. This is it, at the moment. Stay tuned for more docs later on, thanks! -# Release Maven Plugin Integration +## Release Maven Plugin Integration To delegate versioning to the Release Maven Plugin, you can use the `ChangesetsVersionPolicy` together with the `useReleasePluginIntegration` flag: diff --git a/changesets-java/pom.xml b/changesets-java/pom.xml index 0f049bf..ef40bbd 100644 --- a/changesets-java/pom.xml +++ b/changesets-java/pom.xml @@ -6,7 +6,7 @@ se.fortnox.changesets changesets - 0.1.1-SNAPSHOT + 0.2.1-SNAPSHOT changesets-java diff --git a/changesets-maven-plugin/pom.xml b/changesets-maven-plugin/pom.xml index 25b6c56..94eb282 100644 --- a/changesets-maven-plugin/pom.xml +++ b/changesets-maven-plugin/pom.xml @@ -6,7 +6,7 @@ se.fortnox.changesets changesets - 0.1.1-SNAPSHOT + 0.2.1-SNAPSHOT changesets-maven-plugin diff --git a/pom.xml b/pom.xml index d7b5ef9..b0f0842 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ se.fortnox.changesets changesets - 0.1.1-SNAPSHOT + 0.2.1-SNAPSHOT pom Changesets Java