Skip to content

Commit 37782e4

Browse files
update news
1 parent 4f5ac61 commit 37782e4

File tree

2 files changed

+50
-38
lines changed

2 files changed

+50
-38
lines changed

NEWS.md

Lines changed: 49 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,70 @@
1-
<!-- NEWS.md is maintained by https://fledge.cynkra.com, contributors should not edit this file -->
1+
# precommit 0.4.0
22

3-
# precommit 0.3.2.9020
43

5-
- Make sorting consistent with spelling::update_wordlist (#514).
6-
- Bump actions/checkout from 3 to 4 (#509).
7-
- Discover and check for rogue print statements (#505).
8-
- Use python 3.10 by default for conda envs(#477).
9-
- Hook dependencies update (#503, #506 #508, #513).
4+
Apart from two new hooks, many bug fixes and a few minor features, this release
5+
focused on improving the user experience when installing the hooks, which caused
6+
users the most troubles. We enabled fast hook installation without the need for build
7+
time or system dependencies on all platforms thanks to the Posit Package Manager
8+
and removal of dependencies {git2r} and {digest}.
109

1110

12-
# precommit 0.3.2.9015
11+
**Features**
1312

14-
* Update dependencies.
15-
* Refactored hook dependency update scripts.
16-
* Please see tag diff for more details.
13+
- New hook: `no-print-statement` discovers and check for rogue print
14+
statements (#505).
15+
- New hook: `pkgdown` runs `pkgdown::check_pkgdown()` to ensure the {pkgdown}
16+
config is valid (#393).
17+
- add Posit CRAN mirror to ensure macOS binary installs are possible (#488).
18+
- `codemeta-description-updated`, `roxygenize`, and `use-tidy-description` now
19+
all support a `root` argument that specifies the directory in the git repo
20+
that contains the R package. Defaults to `.` since for most R package git
21+
repos, the git and R package root coincide (#432, #438).
22+
- `style-files` now supports styling of R code in Quarto docs (#449).
23+
- `style-files` now supports file names with spaces (#516).
24+
- Use python 3.10 by default for conda envs (#477).
1725

18-
# precommit 0.3.2.9013
26+
**Bug Fixes**
1927

20-
* Don't depend on dev version of styler to avoid GitHub rate limit hit (#486).
28+
- Make sorting consistent with `spelling::update_wordlist` (#514).
29+
- Don't depend on dev version of styler to avoid GitHub rate limit hit (#486).
30+
- fix roxygenize cache invalidation (#464, #520).
31+
- fix missing namespace prefixing in roxygen hook (#525).
2132

22-
# precommit 0.3.2.9009
2333

24-
* add Posit CRAN mirror to ensure macOS binary installs are possible (#488).
25-
* use `ubuntu-latest` instead of pinned version for tests (#481).
26-
* correct typo (#465) and fix error message (#470).
27-
* remove {digest} dependency (#471).
34+
**Documentation**
35+
36+
- improve spelling (#453).
37+
- `use_ci()` is now documented to take `NA`, not `NULL` for argument
38+
`ci` (#431).
39+
- correct typo (#465) and fix error message (#470).
40+
41+
**Dependencies**
2842

29-
# precommit 0.3.2.9007 (2022-12-26)
43+
- remove {digest} dependency (#471).
44+
- remove {git2r} dependency (#497).
45+
- Hook dependencies update (#503, #506 #508, #513, #540, #538, #527, #521, #519).
3046

31-
- roxygenize cache invalidation is functional again (#464).
47+
**Infrastructure**
48+
49+
- Refactored hook dependency update scripts and fixed bug with repos.
50+
- Automatic hook dependency updates (#539, #532).
51+
- use `ubuntu-latest` instead of pinned version for tests (#481).
52+
- use new {pkgdown} hook in this repo (#460).
53+
- `read-only` flag for testing (#529).
54+
- Bump actions/checkout (#509, #458) and others (#533).
3255
- ensure local and remote pre-commit execution are the same for this repo
3356
(#463).
34-
- use new pkgdown hook in this repo (#460).
35-
- Use latest version of checkout action (#458).
36-
- improve spelling (#453).
3757

58+
**Other**
3859

39-
# precommit 0.3.2.9003 (2022-12-16)
60+
- Adjust to latest {roxygen2} CRAN release (#536).
4061

41-
- new hook `pkgdown` to emulate a {pkgdown} build for reference and
42-
articles (#393).
43-
- `codemeta-description-updated`, `roxygenize`, and
44-
`use-tidy-description` now all support a `root` argument that
45-
specifies the directory in the git repo that contains the R package.
46-
Defaults to `.` since for most R package git repos, the git and R package
47-
root coincide (#432, #438).
48-
- `style-files` now supports styling of R code in Quarto docs (#449).
4962

50-
# precommit 0.3.2.9000
63+
Changelog from dev releases is collapsed into this patch release at the time
64+
this release is created. If you need releases by dev release, i.e. 0.3.2.x,
65+
checkout this file at git tag `v0.3.2.9020`.
66+
5167

52-
- `use_ci()` is now documented to take `NA`, not `NULL` for argument
53-
`ci` (#431).
54-
- `deps-in-desc`supports a `root` argument that specifies the directory in
55-
the git repo that contains the R package. Defaults to `.` since for most R
56-
package git repos, the git and R package root coincide.
5768

5869
# precommit 0.3.2
5970

inst/WORDLIST

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ behaviour
1313
bioconductor
1414
bliblablupp
1515
cfe
16+
Changelog
1617
ci
1718
CLI
1819
cli

0 commit comments

Comments
 (0)