Changelog
Source:NEWS.md
fledge 0.1.99.9036 (2024-12-12)
Features
Better entry if PR info could not be extracted.
Support versions of the form x.y.z-w for tagging.
Newsworthy commits are searched along the first parents only, picking up all relevant commits (#847).
Determining the most recent tag now uses the new
get_last_version_tag()
and works when the version tag is on a diverged branch (e.g., after squash-merging) (#844).Consistent protection of hash tag (#836).
Keep empty lines when merging (#834).
plan_release()
pulls the current branch (#831).
Continuous integration
Install R.
Avoid failure in fledge workflow if no changes (#851).
Fetch tags for fledge workflow to avoid unnecessary NEWS entries (#850).
Use larger retry count for lock-threads workflow (#849).
Ignore errors when removing pkg-config on macOS (#840).
Explicit permissions (#839).
Use styler from main branch (#838).
Need to install R on Ubuntu 24.04 (#837).
Use Ubuntu 24.04 and styler PR (#829).
Testing
- Fix test (#846).
fledge 0.1.99.9035 (2024-11-24)
Features
- Keep only
raw
NEWS (#827).
fledge 0.1.99.9034 (2024-11-23)
Chore
- Distinguish
news
component fromnews
column in data frame (#820).
fledge 0.1.99.9033 (2024-11-22)
Bug fixes
CRAN PRs are no longer created as draft (#810).
fledge:::release_after_cran_built_binaries()
no longer throws an error if no release exists.
Features
finalize_version()
unconditionally overwrites existing tags (#819).Pre-releases get a different PR title (#818).
PR must open from the main window (#816).
plan_release()
callsbump_version()
(#814).Detect contributors for squashed commits (#813).
Mention
bump_version(check_default_branch = FALSE)
in error message (#812).New
plan_release()
, replacesinit_release()
andpre_release()
(#803).Support
which = "pre-patch"
forbump_version()
andupdate_version()
(#802).bump_version()
does not bump if no newsworthy messages are found (#801).Messages that start with
"fledge: "
are no longer considered newsworthy (#800).Include only relevant info in
cran-comments.md
(#799).Support pre-patch version, new versioning scheme starting at 9900 (#794).
Chore
Bump commit messages get a fledge prefix.
Add fledge prefix to CRAN PR (#809).
Refactoring
-
is_dev_version()
and related (#805).
Testing
Reduce use of
shut_up_fledge()
(#796).Speed up tests by replacing
gert::git_add()
with a system call (#793).Split slow test.
fledge 0.1.99.9032 (2024-11-11)
Continuous integration
- Trigger run (#792).
fledge 0.1.99.9031 (2024-10-28)
Continuous integration
- Use pkgdown branch (#791).
fledge 0.1.99.9030 (2024-09-15)
Continuous integration
- Install via R CMD INSTALL ., not pak (#789).
fledge 0.1.99.9029 (2024-08-31)
Continuous integration
Install local package for pkgdown builds.
Improve support for protected branches, without fledge.
Testing
- Snapshot updates for rcc-smoke (null) (#786).
fledge 0.1.99.9027 (2024-08-17)
Chore
-
Auto-update from GitHub Actions.
Run: https://github.com/cynkra/fledge/actions/runs/10425483871
fledge 0.1.99.9024 (2024-08-03)
Testing
- Snapshot updates for R-CMD-check-base (null) (#783).
fledge 0.1.99.9021 (2024-06-30)
Chore
-
Auto-update from GitHub Actions.
Run: https://github.com/cynkra/fledge/actions/runs/9727971994
fledge 0.1.99.9020 (2024-06-28)
Chore
-
Auto-update from GitHub Actions.
Run: https://github.com/cynkra/fledge/actions/runs/9691617690
fledge 0.1.99.9019 (2024-06-26)
Bug fixes
- Update bump-version.R - replace length test in get_main_branch_config() (#775).
fledge 0.1.99.9017 (2024-02-19)
Chore
- Move responsibility for writing fledgeling, memoise, add
repo
argument (#761).
fledge 0.1.99.9014 (2023-12-22)
Bug fixes
- Create releases with correct body (#756).
fledge 0.1.99.9012 (2023-11-07)
Features
- Do not report installation size problems (#755).
fledge 0.1.99.9011 (2023-11-05)
Features
-
post_release()
no longer checks if on release branch (#750).
Chore
- Use
news_path()
(#751).
fledge 0.1.99.9010 (2023-11-03)
Features
Allow bumping straight from released version (#747).
post_release()
is independent from release branch (#748).
fledge 0.1.99.9008 (2023-10-23)
Features
- New
init_release()
, to be called beforepre_release()
(#686).
fledge 0.1.99.9007 (2023-10-21)
Features
Automatically merge news from dev versions before release (#744).
More extensive preflight checks in
post_release()
, reduce output in quiet mode (#740).
Testing
- Basic testing scripts (#742).
fledge 0.1.99.9006 (2023-10-19)
Testing
- Is this how we handle NoSuggests checks 😅 (#732).
fledge 0.1.99.9004 (2023-10-03)
Chore
- More efficient data frame access (#706).
Refactoring
- Replace httr with httr2 (#712).
fledge 0.1.99.9003 (2023-09-26)
Testing
- Add a test for upper case conventional commit type (#711).
fledge 0.1.99.9001 (2023-06-22)
fledge 0.1.0.9046 (2023-06-13)
Features
- More flexible version extraction from release PR title (#678).
fledge 0.1.0.9045 (2023-06-09)
Bug fixes
- Adapt to new behavior of usethis::use_news_md() (#680).
Chore
- Clean version header parsing (#610).
fledge 0.1.0.9043 (2023-06-01)
Bug fixes
-
post_release()
works if the release branch doesn’t change files in the main branch.
fledge 0.1.0.9042 (2023-05-28)
Bug fixes
- Better error message when duplicate version name (#673).
Testing
- Snapshot updates for rcc-smoke (null) (#677).
fledge 0.1.0.9041 (2023-04-18)
Refactoring
- Slightly simplify pre_release() (#669).
fledge 0.1.0.9040 (2023-04-13)
Features
-
bump_version()
only works in interactive sessions or ifNEWS.md
has a preamble (or both) (#638).
fledge 0.1.0.9039 (2023-04-04)
Bug fixes
- Use pkg version from open PR, not from CRAN page (#662).
fledge 0.1.0.9036 (2023-03-21)
Features
- Add ability to parse two-line headers (#654).
Refactoring
- Use the full power of {cli} (#640).
fledge 0.1.0.9035 (2023-03-15)
Features
- Add special CRAN release label to release PRs (#649).
fledge 0.1.0.9034 (2023-03-08)
tests
- Replace httptest with httptest2 as gh now uses httr2 instead of httr (#646).
fledge 0.1.0.9031 (2023-02-09)
Refactoring
- Update fledge URL in NEWS preamble (#622).
fledge 0.1.0.9030 (2023-02-05)
Bug fixes
Work around unexplicable behavior in demo tests.
Remove push trigger in
fledge.yaml
, seems broken.bump_version()
keeps updatingDate
field if it exists inDESCRIPTION
.
Features
-
post_release()
pulls the main branch before merging (#525).
Closes #525.
New mode of operation
"samedev"
, for #147.update_news()
gains which argument, deprecateupdate_version()
(#607).
Chore
Continuous integration
- Add test prefix to snapshot updates PR template (#582).
Refactoring
- Use
write_fledgling()
to writeNEWS.md
(#588).
Uncategorized
- Remove false Markdown link? (#592).
fledge 0.1.0.9026 (2022-12-06)
Features
- Support for linked issues from other repositories (#595).
fledge 0.1.0.9023 (2022-11-11)
Bug fixes
- Remove partial matching warning (#579).
Chore
- Store downlit info (#580).
Uncategorized
- Split news (#584).
fledge 0.1.0.9020 (2022-11-03)
- Snapshot updates for R-CMD-check-base (null) (#570)
fledge 0.1.0.9018 (2022-10-26)
Documentation
- Fix URL (#573)
fledge 0.1.0.9017 (2022-10-24)
Bug fixes
- Relax requirement for GitHub PAT scope (#572)
fledge 0.1.0.9010 (2022-09-20)
Features
-
bump_version()
returnsTRUE
if a new version has been created
fledge 0.1.0.9003 (2022-09-12)
Features
Add which “pre-minor” and “pre-major” to update_version() (#413, #412).
Extract contributor name from PR merge message (@krlmlr, #358)
Harvest PR title from merge commit messages (@krlmlr, @maelle, #343)
Improve parsing of conventional commit messages (#332).
Improve bump_version() behavior in the absence of changes (@krlmlr, @maelle, #323)
New
local_test_project()
(#318)Extract conventional commit messages for the changelog (#314).
Continuous integration
- Create fledge.yaml (#520).
Uncategorized
Create and open draft release directly, without using
usethis::use_github_release()
.Create tag as part of
release()
.Fix
post_release()
, still need to tag released version.
fledge 0.1.0.9002 (2022-04-02)
-
release()
no longer asks for confirmation. - Inline
devtools::submit_cran()
minus the confirmation messages.
fledge 0.1.0.9001 (2022-02-22)
- New
pre_release()
,release()
andpost_release()
for semi-automatic CRAN releases (#27, #28). - Separate snapshot tests for dev version of testthat.
fledge 0.1.0 (2021-12-07)
CRAN release: 2021-12-07
Change log management utility, initial release.
The main entry point is bump_version()
, which does the following:
- Checks that
DESCRIPTION
andNEWS.md
are clean before bumping, and that the current branch is the main branch. -
update_news()
: collectsNEWS
entries from top-level commits -
update_version()
: bump version inDESCRIPTION
, add header toNEWS.md
- Depending on the kind of update:
- If “dev”,
finalize_version()
: commitDESCRIPTION
andNEWS.md
, create tag with message - Otherwise,
commit_version()
; the user needs to calltag_version()
manually
- If “dev”,
- Suggests to push the changes if an upstream repository is configured.
If you haven’t committed since updating NEWS.md
and DESCRIPTION
, you can also edit NEWS.md
and call tag_version()
again. Both the commit and the tag will be updated.
Bumping can be undone with unbump_version()
.
If the DESCRIPTION
has a "Date"
field, it is populated with the current date in update_version()
. Likewise, if NEWS.md
contains dates in the headers, new versions also get a date.
An empty list of changes adds a “Same as previous version” bullet. This allows bumping to a dev version immediately after CRAN release.
Also includes helper functions get_last_tag()
and get_top_level_commits()
.
Includes vignettes: “Get started”, “Using fledge”, and “Fledge internals”. Examples and tests are supported with a demo project, created via with_demo_project()
.
Thanks Patrick Schratz and Maëlle Salmon for your contributions!