Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .changeset/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0
0.2.0
5 changes: 0 additions & 5 deletions .changeset/cyan-sloths-unite.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/few-coins-pump.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/fresh-coats-jog.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/red-poets-heal.md

This file was deleted.

26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion changesets-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>se.fortnox.changesets</groupId>
<artifactId>changesets</artifactId>
<version>0.1.1-SNAPSHOT</version>
<version>0.2.1-SNAPSHOT</version>
</parent>

<artifactId>changesets-java</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion changesets-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>se.fortnox.changesets</groupId>
<artifactId>changesets</artifactId>
<version>0.1.1-SNAPSHOT</version>
<version>0.2.1-SNAPSHOT</version>
</parent>

<artifactId>changesets-maven-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>se.fortnox.changesets</groupId>
<artifactId>changesets</artifactId>
<version>0.1.1-SNAPSHOT</version>
<version>0.2.1-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Changesets Java</name>
Expand Down
Loading