question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to add new types to changelog

See original GitHub issue

Hi - i have been using conventional-changelog for about a 6 months and it’s great. I am alittle confused about the documentation and how to add new types.

I would like to add a new type which goes into my changelog, like feat and fix. If possible i would like to use design and animation if a commit has change the design or animation of the project and have that printed into the changelog?

I am using conventional-changelog with gulp and would assume i need to put a config object into the _conventional-changelog-writer_ but i have no idea on what to put in.


   gulp.task('changelog', function () {
       return gulp.src('CHANGELOG.md', {
           buffer: false
       })
           .pipe(conventionalChangelog(
                 {
                       preset:'angular',
                    releaseCount:0
              }, {
                    // context goes here
              }, {
                    // git-raw-commits options go here
              }, {
                    // conventional-commits-parser options go here
              }, {
                    // conventional-changelog-writer options go here
              }

        ))
           .pipe(gulp.dest('./'));
   });

Any help would be much appriciated or an example. Thanks Dennis

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Liriannacommented, Feb 20, 2019

Is there more information about how to create own “presets” with types? Somehow, I turn in circles if I follow links in this thread or try to understand how config works (can’t find an example).

@renestalder You can use ddennis’ forked project as an example: https://github.com/ddennis/conventional-changelog-ddennis (he has added two new types). Hope this helps 👍

0reactions
renestaldercommented, Apr 25, 2018

Is there more information about how to create own “presets” with types? Somehow, I turn in circles if I follow links in this thread or try to understand how config works (can’t find an example).

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Beginner's Guide to Git — What is a Changelog and How to ...
By using this first way, you don't need any prerequisites. All you need is to type a few commands inside your Git repository....
Read more >
Keep a Changelog
The same types of changes should be grouped. Versions and sections should be linkable. The latest version comes first. The release date of...
Read more >
How To Automatically Generate A Helpful Changelog From ...
Creating a changelog is a usual task if a new software version is going to be released. It contains all the changes which...
Read more >
Making a Human Friendly Changelog by Following Keep a ...
It should be skimmable to see what's been added, changed, deprecated, removed and fixed.Hit the subscribe button to receive more videos like ...
Read more >
What is Changelog & Example of ARN Change Log Format
Simply put, changelog is a documented record of all the changes that a software ... Different colors can be used to a different...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found