Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor codebase #144

Merged
merged 7 commits into from
Apr 10, 2020
Merged

Refactor codebase #144

merged 7 commits into from
Apr 10, 2020

Conversation

cookpete
Copy link
Owner

@cookpete cookpete commented Nov 17, 2019

Breaking changes:

  • Removes --starting-commit option
    • But adds a --starting-version equivalent
  • Removes --include-branch option
  • Requires Node 8.3 or higher

Todo:

  • Tests (now fixed, sort of)
  • Docs
  • Better progress output

@@ -40,9 +40,7 @@ Options:
--ignore-commit-pattern [regex] # pattern to ignore when parsing commits
--tag-pattern [regex] # override regex pattern for release tags
--tag-prefix [prefix] # prefix used in version tags, default: v
--starting-commit [hash] # starting commit to use for changelog generation
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a semver major then?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep. Will publish 2.0.0 once this is done and merged. It's not completely "breaking" as I guess it will just ignore this param and still generate a changelog (albiet one with more commits than desired) but a major bump feels cleaner.

- Use `git tags` and then an individual `git log` for each release

Breaking changes:
- Removes `--starting-commit` option
	- Commits are no longer fetched in one long list, so this option no longer makes any sense
- Removes `--include-branch` option
	- No longer necessary now that releases are fetched via `git tags`
Seems like overkill to have so many dependendies and a build step to just support `import` and `export`

Breaking changes:
- Requires node 8.3 or higher
- Removes all `lib` files from npm package
@cookpete cookpete changed the title Refactor git data fetching logic Codebase refactor Apr 10, 2020
@cookpete cookpete changed the title Codebase refactor Refactor codebase Apr 10, 2020
@cookpete cookpete merged commit 09890c1 into master Apr 10, 2020
@cookpete cookpete deleted the refactor-git-logic branch April 10, 2020 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Commits bundled in a wrong version
2 participants