@@ -218,16 +218,33 @@ def generate_text_content(tag, pr_info):
218
218
"visualization" : "libpcl_visualization" ,
219
219
}
220
220
221
- changes_order = ("new-feature" , "api " , "abi " , "behavior" )
221
+ changes_order = ("new-feature" , "deprecation " , "removal " , "behavior" , "api" , "abi " )
222
222
223
223
changes_titles = {
224
224
"new-feature" : "New Features" ,
225
- "api" : "API Changes" ,
226
- "abi" : "ABI Changes" ,
227
- "behavior" : "Behavior Changes" ,
225
+ "deprecation" : "Deprecated" ,
226
+ "removal" : "Removed" ,
227
+ "behavior" : "Behavioral changes" ,
228
+ "api" : "API changes" ,
229
+ "abi" : "ABI changes" ,
228
230
}
229
231
230
- changes_labels = {"breaks API" : "api" , "breaks ABI" : "abi" , "behavior" : "behavior" }
232
+ changes_description = {
233
+ "new-feature" : "Newly added functionalities." ,
234
+ "deprecation" : "Deprecated code scheduled to be removed after two minor releases." ,
235
+ "removal" : "Removal of deprecated code." ,
236
+ "behavior" : "Changes in the expected default behavior." ,
237
+ "api" : "Changes to the API which didn't went through the proper deprecation and removal cycle." ,
238
+ "abi" : "Changes that cause ABI incompatibility but are still API compatible." ,
239
+ }
240
+
241
+ changes_labels = {
242
+ "breaks API" : "api" ,
243
+ "breaks ABI" : "abi" ,
244
+ "behavior" : "behavior" ,
245
+ "deprecation" : "deprecation" ,
246
+ "removal" : "removal" ,
247
+ }
231
248
232
249
# change_log content
233
250
clog = []
@@ -293,6 +310,8 @@ def generate_text_content(tag, pr_info):
293
310
294
311
clog += ["\n ### `" + changes_titles [key ] + ":`\n " ]
295
312
313
+ clog += ["*" + changes_description [key ] + "*\n " ]
314
+
296
315
for pr in changes [key ]:
297
316
prefix = "" .join (["[" + k + "]" for k in pr ["modules" ]])
298
317
if prefix :
0 commit comments