Skip to content

Commit 28cf7fb

Browse files
committed
Add changelog
1 parent cfea3e8 commit 28cf7fb

6 files changed

Lines changed: 99 additions & 68 deletions

File tree

CHANGELOG.md

Lines changed: 93 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,35 @@
11

2+
# Version 1.4.0
3+
4+
Nmcp can now be 100% configured from `settings.gradle[.kts]`:
5+
6+
```kotlin
7+
// settings.gradle.kts
8+
plugins {
9+
id("com.gradleup.nmcp.setting").version("1.4.0")
10+
}
11+
12+
nmcpAggregation {
13+
centralPortal {
14+
username = TODO()
15+
password = TODO()
16+
// ...
17+
}
18+
}
19+
```
20+
21+
This version also contains a few quality of life improvements courtesy of @SimonMarquis and fixes an issue that could sometimes cause maven-metadata.xml to be out of sync.
22+
23+
## What's Changed
24+
* Clamp remaining time to seconds https://github.com/GradleUp/nmcp/pull/213
25+
* maven-metadata.xml: make sure the base version is always added to the list of versions https://github.com/GradleUp/nmcp/pull/214, https://github.com/GradleUp/nmcp/pull/222
26+
* Set an explicit configuration name to load nmcp-tasks nmcp https://github.com/GradleUp/nmcp/pull/215
27+
* Register tasks earlier so that they are generated as typesafe tasks accessors https://github.com/GradleUp/nmcp/pull/219
28+
* Expand the zip files when passing it to `allFiles` nmcp https://github.com/GradleUp/nmcp/pull/218
29+
* Publish to nmcp repo tasks should never be up-to-date nmcp https://github.com/GradleUp/nmcp/pull/221
30+
* Allow to configure the whole build from the settings script nmcp https://github.com/GradleUp/nmcp/pull/223
31+
32+
233
# Version 1.3.0
334

435
Enable [classloader isolation](https://github.com/GradleUp/gratatouille?tab=readme-ov-file#classloader-isolation-optional) to fix issues such as #210.
@@ -8,23 +39,23 @@ Enable [classloader isolation](https://github.com/GradleUp/gratatouille?tab=read
839
A few fixes mostly around the settings plugin + fixed the publishing timeout.
940

1041
## All Changes
11-
* Settings plugin: only apply to subprojects if the maven-publish plugin is applied by @martinbonnin in https://github.com/GradleUp/nmcp/pull/196
12-
* Settings plugin: allow the root project to apply both the regular and aggregation plugins by @martinbonnin in https://github.com/GradleUp/nmcp/pull/198
13-
* Use allprojects {} instead of subprojects {} by @martinbonnin in https://github.com/GradleUp/nmcp/pull/199
14-
* Fix publishing timeout by @martinbonnin in https://github.com/GradleUp/nmcp/pull/201
15-
* Add publishFileByFile(File, File) helper function by @martinbonnin in https://github.com/GradleUp/nmcp/pull/207
42+
* Settings plugin: only apply to subprojects if the maven-publish plugin is applied nmcp in https://github.com/GradleUp/nmcp/pull/196
43+
* Settings plugin: allow the root project to apply both the regular and aggregation plugins nmcp in https://github.com/GradleUp/nmcp/pull/198
44+
* Use allprojects {} instead of subprojects {} nmcp in https://github.com/GradleUp/nmcp/pull/199
45+
* Fix publishing timeout nmcp in https://github.com/GradleUp/nmcp/pull/201
46+
* Add publishFileByFile(File, File) helper function nmcp in https://github.com/GradleUp/nmcp/pull/207
1647

1748
# Version 1.2.0
1849

1950
Bunch of fixes + you can now call `nmcpPublishAggregationToMavenLocal` to verify your publishing process and/or test locally.
2051

2152
## All Changes
22-
* Add plugin marker for the settings plugin by @martinbonnin in https://github.com/GradleUp/nmcp/pull/184
23-
* Update to gratatouille 0.1.1 and use @GPlugin for the settings plugin by @martinbonnin in https://github.com/GradleUp/nmcp/pull/185
24-
* Use the snapshot version of the gratatouille plugin by @martinbonnin in https://github.com/GradleUp/nmcp/pull/187
25-
* Add nmcpPublishAggregationToMavenLocal by @martinbonnin in https://github.com/GradleUp/nmcp/pull/192
26-
* Always populate snapshotVersions manually by @martinbonnin in https://github.com/GradleUp/nmcp/pull/193
27-
* Bump bootstrapped version by @martinbonnin in https://github.com/GradleUp/nmcp/pull/194
53+
* Add plugin marker for the settings plugin nmcp in https://github.com/GradleUp/nmcp/pull/184
54+
* Update to gratatouille 0.1.1 and use @GPlugin for the settings plugin nmcp in https://github.com/GradleUp/nmcp/pull/185
55+
* Use the snapshot version of the gratatouille plugin nmcp in https://github.com/GradleUp/nmcp/pull/187
56+
* Add nmcpPublishAggregationToMavenLocal nmcp in https://github.com/GradleUp/nmcp/pull/192
57+
* Always populate snapshotVersions manually nmcp in https://github.com/GradleUp/nmcp/pull/193
58+
* Bump bootstrapped version nmcp in https://github.com/GradleUp/nmcp/pull/194
2859

2960
# Version 1.1.0
3061

@@ -46,87 +77,87 @@ You may also experiment with different values of parallelism (current default is
4677

4778
## All changes
4879
* Improve comment and error message https://github.com/GradleUp/nmcp/pull/176
49-
* Add option to upload snapshots in parallel by @martinbonnin in https://github.com/GradleUp/nmcp/pull/180
80+
* Add option to upload snapshots in parallel nmcp in https://github.com/GradleUp/nmcp/pull/180
5081
* Update compat-patrouille https://github.com/GradleUp/nmcp/pull/179
51-
* Enable parallelism by default by @martinbonnin in https://github.com/GradleUp/nmcp/pull/181
82+
* Enable parallelism by default nmcp in https://github.com/GradleUp/nmcp/pull/181
5283

5384

5485
# Version 1.0.3
5586

5687
Compatibility with isolated projects alongside a few UX improvements.
5788

5889
## All changes
59-
* Add description to the tasks so that they are visible in `./gradlew --tasks` by @martinbonnin in https://github.com/GradleUp/nmcp/pull/160
60-
* Compatibility with isolated projects by @martinbonnin in https://github.com/GradleUp/nmcp/pull/164
61-
* Better error message on missing credentials by @martinbonnin in https://github.com/GradleUp/nmcp/pull/167
62-
* Hide nmcpClient by @martinbonnin in https://github.com/GradleUp/nmcp/pull/168
63-
* Check that `publishingType` has a valid value by @martinbonnin in https://github.com/GradleUp/nmcp/pull/169
64-
* Improve the error message on publishing errors by @martinbonnin in https://github.com/GradleUp/nmcp/pull/149
65-
* Add NmcpExtension.extraFiles() by @martinbonnin in https://github.com/GradleUp/nmcp/pull/170
66-
* Bump compat-patrouille by @martinbonnin in https://github.com/GradleUp/nmcp/pull/172
90+
* Add description to the tasks so that they are visible in `./gradlew --tasks` nmcp in https://github.com/GradleUp/nmcp/pull/160
91+
* Compatibility with isolated projects nmcp in https://github.com/GradleUp/nmcp/pull/164
92+
* Better error message on missing credentials nmcp in https://github.com/GradleUp/nmcp/pull/167
93+
* Hide nmcpClient nmcp in https://github.com/GradleUp/nmcp/pull/168
94+
* Check that `publishingType` has a valid value nmcp in https://github.com/GradleUp/nmcp/pull/169
95+
* Improve the error message on publishing errors nmcp in https://github.com/GradleUp/nmcp/pull/149
96+
* Add NmcpExtension.extraFiles() nmcp in https://github.com/GradleUp/nmcp/pull/170
97+
* Bump compat-patrouille nmcp in https://github.com/GradleUp/nmcp/pull/172
6798

6899
# Version 1.0.2
69100

70101
* Add simple check to prevent some GHA workflows to run on forks by @SimonMarquis in https://github.com/GradleUp/nmcp/pull/152
71102
* Replace `DisplayNameTest` with a more robust `FindDeploymentNameTest` by @SimonMarquis in https://github.com/GradleUp/nmcp/pull/151
72-
* Make tasks visible in `./gradlew tasks` by @martinbonnin in https://github.com/GradleUp/nmcp/pull/156
73-
* Fix OkHttp Response leak by @martinbonnin in https://github.com/GradleUp/nmcp/pull/158
103+
* Make tasks visible in `./gradlew tasks` nmcp in https://github.com/GradleUp/nmcp/pull/156
104+
* Fix OkHttp Response leak nmcp in https://github.com/GradleUp/nmcp/pull/158
74105

75106
# Version 1.0.1
76107

77-
* Tweak symbols visibility by @martinbonnin in https://github.com/GradleUp/nmcp/pull/138
78-
* Hide more symbols by @martinbonnin in https://github.com/GradleUp/nmcp/pull/140
79-
* Fix publishingTimeout KDoc by @martinbonnin in https://github.com/GradleUp/nmcp/pull/146
80-
* Fix parsing artifact metadata with a modelVersion by @martinbonnin in https://github.com/GradleUp/nmcp/pull/147
108+
* Tweak symbols visibility nmcp in https://github.com/GradleUp/nmcp/pull/138
109+
* Hide more symbols nmcp in https://github.com/GradleUp/nmcp/pull/140
110+
* Fix publishingTimeout KDoc nmcp in https://github.com/GradleUp/nmcp/pull/146
111+
* Fix parsing artifact metadata with a modelVersion nmcp in https://github.com/GradleUp/nmcp/pull/147
81112
* Document all options in `README.md` by @SimonMarquis in https://github.com/GradleUp/nmcp/pull/145
82113

83114
# Version 1.0.0
84115

85-
* Try to guess better deployment names by @martinbonnin in https://github.com/GradleUp/nmcp/pull/130
116+
* Try to guess better deployment names nmcp in https://github.com/GradleUp/nmcp/pull/130
86117
* Fix typo in log message in `nmcpPublishWithPublisherApi.kt` by @SimonMarquis in https://github.com/GradleUp/nmcp/pull/131
87-
* Add GitHub action to publish Kdocs by @martinbonnin in https://github.com/GradleUp/nmcp/pull/135
118+
* Add GitHub action to publish Kdocs nmcp in https://github.com/GradleUp/nmcp/pull/135
88119

89120
# Version 1.0.0-rc.1
90121

91-
* Publish all projects (including root), and not only subprojects by @martinbonnin in https://github.com/GradleUp/nmcp/pull/124
92-
* Add intermediate zip task back by @martinbonnin in https://github.com/GradleUp/nmcp/pull/126
93-
* Update librarian and nmcp bootstrap versions (fixes the aggregation plugin marker) by @martinbonnin in https://github.com/GradleUp/nmcp/pull/128
122+
* Publish all projects (including root), and not only subprojects nmcp in https://github.com/GradleUp/nmcp/pull/124
123+
* Add intermediate zip task back nmcp in https://github.com/GradleUp/nmcp/pull/126
124+
* Update librarian and nmcp bootstrap versions (fixes the aggregation plugin marker) nmcp in https://github.com/GradleUp/nmcp/pull/128
94125

95126
# Version 1.0.0-rc.0
96127

97-
* Make uploading snapshots less verbose by @martinbonnin in https://github.com/GradleUp/nmcp/pull/120
98-
* Add logs for zipping the files by @martinbonnin in https://github.com/GradleUp/nmcp/pull/121
99-
* Fix an OkHttp response leak by @martinbonnin in https://github.com/GradleUp/nmcp/pull/122
128+
* Make uploading snapshots less verbose nmcp in https://github.com/GradleUp/nmcp/pull/120
129+
* Add logs for zipping the files nmcp in https://github.com/GradleUp/nmcp/pull/121
130+
* Fix an OkHttp response leak nmcp in https://github.com/GradleUp/nmcp/pull/122
100131

101132
# Version 0.2.1
102133

103-
* Update changelog and readme by @martinbonnin in https://github.com/GradleUp/nmcp/pull/92
104-
* Remove single module from the README, we want to focus on aggregation use cases by @martinbonnin in https://github.com/GradleUp/nmcp/pull/105
105-
* Improve logging by @martinbonnin in https://github.com/GradleUp/nmcp/pull/106
106-
* Use "Authentication: Bearer" instead of "Authentication: UserToken" by @martinbonnin in https://github.com/GradleUp/nmcp/pull/107
107-
* update Gratatouille by @martinbonnin in https://github.com/GradleUp/nmcp/pull/108
108-
* Use a lenient configuration by @martinbonnin in https://github.com/GradleUp/nmcp/pull/109
109-
* Add transport API by @martinbonnin in https://github.com/GradleUp/nmcp/pull/110
110-
* Drop support for publishing a single publication by @martinbonnin in https://github.com/GradleUp/nmcp/pull/111
111-
* Validate username and password early by @martinbonnin in https://github.com/GradleUp/nmcp/pull/104
112-
* [infra] Release automatically by @martinbonnin in https://github.com/GradleUp/nmcp/pull/112
113-
* Add NmcpAggregationExtension.allFiles by @martinbonnin in https://github.com/GradleUp/nmcp/pull/114
114-
* hide some symbols by @martinbonnin in https://github.com/GradleUp/nmcp/pull/113
134+
* Update changelog and readme nmcp in https://github.com/GradleUp/nmcp/pull/92
135+
* Remove single module from the README, we want to focus on aggregation use cases nmcp in https://github.com/GradleUp/nmcp/pull/105
136+
* Improve logging nmcp in https://github.com/GradleUp/nmcp/pull/106
137+
* Use "Authentication: Bearer" instead of "Authentication: UserToken" nmcp in https://github.com/GradleUp/nmcp/pull/107
138+
* update Gratatouille nmcp in https://github.com/GradleUp/nmcp/pull/108
139+
* Use a lenient configuration nmcp in https://github.com/GradleUp/nmcp/pull/109
140+
* Add transport API nmcp in https://github.com/GradleUp/nmcp/pull/110
141+
* Drop support for publishing a single publication nmcp in https://github.com/GradleUp/nmcp/pull/111
142+
* Validate username and password early nmcp in https://github.com/GradleUp/nmcp/pull/104
143+
* [infra] Release automatically nmcp in https://github.com/GradleUp/nmcp/pull/112
144+
* Add NmcpAggregationExtension.allFiles nmcp in https://github.com/GradleUp/nmcp/pull/114
145+
* hide some symbols nmcp in https://github.com/GradleUp/nmcp/pull/113
115146

116147
# Version 0.2.0
117148

118-
* Configure compatibility flags by @martinbonnin in https://github.com/GradleUp/nmcp/pull/89
119-
* Change the default publishingType to AUTOMATIC by @martinbonnin in https://github.com/GradleUp/nmcp/pull/90
120-
* Add `publishingTimeout` and restore log messages by @martinbonnin in https://github.com/GradleUp/nmcp/pull/91
121-
* Compatibility with Kotlin 1.9 by @martinbonnin in https://github.com/GradleUp/nmcp/pull/94
122-
* Hide internal tasks by @martinbonnin in https://github.com/GradleUp/nmcp/pull/95
123-
* PUBLISHING is also a valid status by @martinbonnin in https://github.com/GradleUp/nmcp/pull/97
124-
* Unify snapshots code by @martinbonnin in https://github.com/GradleUp/nmcp/pull/96
125-
* Add `com.gradleup.nmcp.settings` by @martinbonnin in https://github.com/GradleUp/nmcp/pull/98
126-
* Remove intermediate zip task by @martinbonnin in https://github.com/GradleUp/nmcp/pull/99
127-
* Simplify finding a name for the deployment by @martinbonnin in https://github.com/GradleUp/nmcp/pull/100
128-
* Add publishAggregationToCentralPortalSnapshots as a "shortcut" lifecyle task by @martinbonnin in https://github.com/GradleUp/nmcp/pull/101
129-
* Only update maven-metadata.xml once all the files have been uploaded by @martinbonnin in https://github.com/GradleUp/nmcp/pull/102
149+
* Configure compatibility flags nmcp in https://github.com/GradleUp/nmcp/pull/89
150+
* Change the default publishingType to AUTOMATIC nmcp in https://github.com/GradleUp/nmcp/pull/90
151+
* Add `publishingTimeout` and restore log messages nmcp in https://github.com/GradleUp/nmcp/pull/91
152+
* Compatibility with Kotlin 1.9 nmcp in https://github.com/GradleUp/nmcp/pull/94
153+
* Hide internal tasks nmcp in https://github.com/GradleUp/nmcp/pull/95
154+
* PUBLISHING is also a valid status nmcp in https://github.com/GradleUp/nmcp/pull/97
155+
* Unify snapshots code nmcp in https://github.com/GradleUp/nmcp/pull/96
156+
* Add `com.gradleup.nmcp.settings` nmcp in https://github.com/GradleUp/nmcp/pull/98
157+
* Remove intermediate zip task nmcp in https://github.com/GradleUp/nmcp/pull/99
158+
* Simplify finding a name for the deployment nmcp in https://github.com/GradleUp/nmcp/pull/100
159+
* Add publishAggregationToCentralPortalSnapshots as a "shortcut" lifecyle task nmcp in https://github.com/GradleUp/nmcp/pull/101
160+
* Only update maven-metadata.xml once all the files have been uploaded nmcp in https://github.com/GradleUp/nmcp/pull/102
130161

131162
# Version 0.1.5
132163

@@ -145,9 +176,9 @@ This limitation will be lifted in a future version.
145176
# Version 0.1.4
146177

147178
* fix: improve deployment status toString() by @vlsi in https://github.com/GradleUp/nmcp/pull/60
148-
* Fix deployment name by @martinbonnin in https://github.com/GradleUp/nmcp/pull/62
149-
* Add `publishAggregationToCentralSnapshots` and `publishFooPublicationToCentralSnapshots` by @martinbonnin in https://github.com/GradleUp/nmcp/pull/63
150-
* Remove empty aggregation check by @martinbonnin in https://github.com/GradleUp/nmcp/pull/64
179+
* Fix deployment name nmcp in https://github.com/GradleUp/nmcp/pull/62
180+
* Add `publishAggregationToCentralSnapshots` and `publishFooPublicationToCentralSnapshots` nmcp in https://github.com/GradleUp/nmcp/pull/63
181+
* Remove empty aggregation check nmcp in https://github.com/GradleUp/nmcp/pull/64
151182

152183
# Version 0.1.3
153184

docs/public/favicon.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/src/assets/logo.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/src/content/docs/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Add the `com.gradleup.nmcp.settings` plugin to your `settings.gradle[.kts]` file
3434
```kotlin
3535
// settings.gradle[.kts]
3636
plugins {
37-
id("com.gradleup.nmcp.aggregation").version("1.3.0")
37+
id("com.gradleup.nmcp.settings").version("1.4.0")
3838
}
3939

4040
nmcpAggregation {

docs/src/content/docs/manual-configuration.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Apply the `com.gradleup.nmcp` plugin to all the projects that need to be publish
1616
```kotlin
1717
// module-a/build.gradle.kts
1818
plugins {
19-
id("com.gradleup.nmcp").version("1.3.0")
19+
id("com.gradleup.nmcp").version("1.4.0")
2020
}
2121
```
2222

@@ -33,7 +33,7 @@ In the project where you want to upload the deployment (typically your root proj
3333
```kotlin
3434
// build.gradle.kts
3535
plugins {
36-
id("com.gradleup.nmcp.aggregation").version("1.3.0")
36+
id("com.gradleup.nmcp.aggregation").version("1.4.0")
3737
}
3838

3939
nmcpAggregation {

librarian.root.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ kdoc.olderVersions=
55
kdoc.artifactId=kdoc
66

77
pom.groupId=com.gradleup.nmcp
8-
pom.version=1.4.0-SNAPSHOT
8+
pom.version=1.4.1-SNAPSHOT
99
pom.description=New Maven Central Publishing
1010
pom.vcsUrl=https://github.com/gradleup/nmcp
1111
pom.developer=nmcp authors

0 commit comments

Comments
 (0)