- Auto-update from GitHub Actions (#1050).
use_tidy_description().
- Add cynkra's ROR ID (#857).
- Auto-update from GitHub Actions (#1047).
- Update demo snapshot (#854).
-
Fix comment (#1040).
-
Tweaks (#1039).
-
Test all R versions on branches that start with cran- (#1038).
- Avoid setting global Git option.
- Fix httptest2 test.
- Fix tests.
- Install binaries from r-universe for dev workflow (#1032).
- Fix reviewdog and add commenting workflow (#1030).
- Treat versions with two components as release versions.
- Review env vers when installing, more careful foreign runs, format with
clang-format(#1028).
- Format with air, check detritus, better handling of
extra-packages(#923).
- Update function reference links in README.md (#880).
- Enhance permissions for workflow (#872).
-
Permissions, better tests for missing suggests, lints (#870).
-
Only fail covr builds if token is given (#867).
-
Always use
_R_CHECK_FORCE_SUGGESTS_=false(#866). -
Correct installation of xml2 (#863).
-
Explain (#861).
-
Add xml2 for covr, print testthat results (#860).
-
Sync (#859).
- Extract
get_release_branch_from_version().
bump_version(which = "dev")always bumps from non-dev.
- IDE.
-
Support empty commit messages.
-
is_news_consistent()detects releases of the kind x.y.z-w. -
Work around bug in
order()for package versions. -
Use correct version for checking GH release.
-
Use correct version for checking GH release.
-
release_after_cran_built_binaries()works correctly again (#848).
-
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).
-
Get tagging information from fledgling.
-
Clear clipboard after successful discovery of CRAN URL.
-
Check token early for automation (#841).
-
Refactor (#835).
-
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).
- Fix test (#846).
- Ci: Fix macOS (#16) (#830).
- Keep only
rawNEWS (#827).
-
Refactorings and a new test (#825).
-
Better JSON snapshot (#824).
-
Keep
rawcomponent up to date, use it for assembling the NEWS (#823).
- Distinguish
newscomponent fromnewscolumn in data frame (#820).
-
CRAN PRs are no longer created as draft (#810).
-
fledge:::release_after_cran_built_binaries()no longer throws an error if no release exists.
-
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).
-
Bump commit messages get a fledge prefix.
-
Add fledge prefix to CRAN PR (#809).
-
Remove Aviator (#815).
-
Correctly detect branch protection (#811).
-
Sync fledge workflow.
is_dev_version()and related (#805).
-
Reduce use of
shut_up_fledge()(#796). -
Speed up tests by replacing
gert::git_add()with a system call (#793). -
Split slow test.
- Trigger run (#792).
- Use pkgdown branch (#791).
- Install via R CMD INSTALL ., not pak (#789).
- Add Aviator configuration.
-
Install local package for pkgdown builds.
-
Improve support for protected branches, without fledge.
- Snapshot updates for rcc-smoke (null) (#786).
-
Try pushing head first.
-
Try pushing head first, fail with branch protection.
bump_version(check_default_branch = TRUE).
-
Auto-update from GitHub Actions.
Run: https://github.com/cynkra/fledge/actions/runs/10425483871
- Sync with latest developments.
- Use v2 instead of master.
- Inline action.
- Snapshot updates for R-CMD-check-base (null) (#783).
- Use dev roxygen2 and decor.
- Accept snapshots after knitr update.
- Fix on Windows, tweak lock workflow.
-
Auto-update from GitHub Actions.
Run: https://github.com/cynkra/fledge/actions/runs/9727971994
-
Auto-update from GitHub Actions.
Run: https://github.com/cynkra/fledge/actions/runs/9691617690
-
Avoid checking bashisms on Windows.
-
Remove netlify workflow.
-
Remove special branch.
-
Bump versions, better default, consume custom matrix.
-
Recent updates.
- Update bump-version.R - replace length test in get_main_branch_config() (#775).
-
Set BS version explicitly for now.
- Move responsibility for writing fledgeling, memoise, add
repoargument (#761).
- Internal changes only.
- Work around r-lib/roxygen2#1570.
- Create releases with correct body (#756).
- Add Aviator configuration.
create_github_release()removes the header from the NEWS entry.
- Do not report installation size problems (#755).
post_release()no longer checks if on release branch (#750).
- Use
news_path()(#751).
-
Allow bumping straight from released version (#747).
-
post_release()is independent from release branch (#748).
- Add aviator configuration.
- Release package as soon as it's available on PPM.
- New
init_release(), to be called beforepre_release()(#686).
-
Automatically merge news from dev versions before release (#744).
-
More extensive preflight checks in
post_release(), reduce output in quiet mode (#740).
- Basic testing scripts (#742).
-
Extract error from first submission step, fix CRAN submission (#738).
-
Check if release exists before creating (#731).
-
Add
versionandrefarguments tocreate_release_branch(), fixcreate_release_branch(force = TRUE)(#734). -
no_change()and other functions gain ref argument (#733). -
Pretty
check_only_modified()(#705). -
Refactorings for #686 (#729).
- Is this how we handle NoSuggests checks 😅 (#732).
- Internal changes only.
- More efficient data frame access (#706).
- Replace httr with httr2 (#712).
-
Clean up, simplify tests (#716).
-
Add a function to help run the tests without losing one's current dir (#715).
- Add a test for upper case conventional commit type (#711).
- Internal changes only.
-
Ask fledgeling for version.
-
Bad merge conflict resolution from v0.1.1.
-
Indent multiline NEWS items.
-
More skip_if_offline() calls.
-
Type stability of fledgeling object.
- Avoid useless computation.
-
Prefer
local_options(repos = NULL)overskip_if_offline(). -
Test order.
- Merge branch 'cran-0.1.1'.
- Merge branch 'cran-0.1.1'.
- Guess_next() works as expected for .99. versions.
- Suppress clipr warnings.
- More flexible version extraction from release PR title (#678).
- Adapt to new behavior of usethis::use_news_md() (#680).
- Clean version header parsing (#610).
- Tell it what to merge.
post_release()works if the release branch doesn't change files in the main branch.
- Better error message when duplicate version name (#673).
- Snapshot updates for rcc-smoke (null) (#677).
- Slightly simplify pre_release() (#669).
bump_version()only works in interactive sessions or ifNEWS.mdhas a preamble (or both) (#638).
- Use pkg version from open PR, not from CRAN page (#662).
-
Snapshot updates for rcc-smoke (null) (#660).
-
Snapshot updates for rcc-smoke (null) (#647).
-
Fix snapshots after updates of upstream dependencies (#657).
- Internal changes only.
-
Do not write "Same as previous version" as first thing in a brand-new changelog (#655).
-
New internal
release_after_cran_built_binaries()to support automated CRAN release from GHA (#651).
- Update pitch (#656).
- Add ability to parse two-line headers (#654).
- Use the full power of {cli} (#640).
- Add special CRAN release label to release PRs (#649).
- Replace httptest with httptest2 as gh now uses httr2 instead of httr (#646).
- Internal changes only.
- Bump to dev version in
pre_release().
- Update fledge URL in NEWS preamble (#622).
-
Work around unexplicable behavior in demo tests.
-
Remove push trigger in
fledge.yaml, seems broken. -
bump_version()keeps updatingDatefield if it exists inDESCRIPTION.
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).
-
Move packages from Imports to Suggests.
-
Add extra snapshot.
-
Clean up snapshots.
-
usethis::use_lifecycle(). -
Prepare roundtrip via fledgeling (#606).
-
Move foghorn and rversions to Suggests (#605).
-
Run fledge workflow only on main branch (#597).
- Add test prefix to snapshot updates PR template (#582).
- Use
write_fledgling()to writeNEWS.md(#588).
- Remove false Markdown link? (#592).
- Internal changes only.
- Internal changes only.
- Internal changes only.
- Support for linked issues from other repositories (#595).
- Typo.
- Internal changes only.
- Remove partial matching warning (#579).
-
Draft fledgeling object, ready for internal use (#581).
-
Add full stop to messages (#578).
- Store downlit info (#580).
- Cynkratemplate::use_cynkra_pkgdown() + re-add comment (@krlmlr, @41898282+github-actions-bot, @maelle, #568).
- Split news (#584).
- Add full stop for entries
- Internal changes only.
- Snapshot updates for R-CMD-check-base (null) (#570)
- Internal changes only.
- Fix URL (#573)
- Relax requirement for GitHub PAT scope (#572)
- Internal changes only.
- Internal changes only.
-
Harmonize yaml formatting
-
Revert changes to matrix section
- Internal changes only.
- Internal changes only.
- Internal changes only.
bump_version()returnsTRUEif a new version has been created
- Better support for merge commits of all kinds (@maelle, #512)
- Internal changes only.
- Better support for merge commits of all kinds (@maelle, #512)
- Internal changes only.
- Better support for merge commits of all kinds (@maelle, #512)
- Internal changes only.
- Better support for merge commits of all kinds (@maelle, #512)
- Internal changes only.
- Internal changes only.
- Internal changes only.
-
Adjust empty lines and space in update_news() (#357)
-
Add PR number to CC messages (#353).
-
Fix conventional commit regex (#329)
-
New default
pre_release(which = "next")(#521, #524). -
Add which "pre-minor" and "pre-major" to update_version() (#413, #412).
-
Include reference to issue closed with a PR (#361, #411).
-
Capitalize first letter of each bullet (#360, #409).
-
Extract contributor name from PR merge message (@krlmlr, #358)
-
Harvest PR attribution from squash commits (@maelle, #349)
-
Harvest PR title from merge commit messages (@krlmlr, @maelle, #343)
-
Improve parsing of conventional commit messages (#332).
-
Improve bump_version() (error) messages (@maelle, #328)
-
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).
-
Turn Netlify builds off for now (#326).
-
Enable auto-style on GitHub Actions (#317).
-
Remove testthat specialization for snapshots (#309).
- Create fledge.yaml (#520).
-
Add README section on related tools (#527).
-
Update summary of how fledge uses commit messages (#499, #511).
-
Fix typo in README (#501)
-
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.
release()no longer asks for confirmation.- Inline
devtools::submit_cran()minus the confirmation messages.
- New
pre_release(),release()andpost_release()for semi-automatic CRAN releases (#27, #28). - Separate snapshot tests for dev version of testthat.
- Same as previous version.
- Compatibility release for usethis 2.2.0.
Change log management utility, initial release.
The main entry point is bump_version(), which does the following:
- Checks that
DESCRIPTIONandNEWS.mdare clean before bumping, and that the current branch is the main branch. update_news(): collectsNEWSentries from top-level commitsupdate_version(): bump version inDESCRIPTION, add header toNEWS.md- Depending on the kind of update:
- If "dev",
finalize_version(): commitDESCRIPTIONandNEWS.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!