Skip to content

Commit 063325b

Browse files
authored
Release 3.4.0 (#3811)
1 parent f73b42d commit 063325b

File tree

5 files changed

+44
-5
lines changed

5 files changed

+44
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ enable_testing()
44
set (CMAKE_EXPORT_COMPILE_COMMANDS ON)
55

66
project (task
7-
VERSION 3.3.0
7+
VERSION 3.4.0
88
DESCRIPTION "Taskwarrior - a command-line TODO list manager"
99
HOMEPAGE_URL https://taskwarrior.org/)
1010

ChangeLog

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,32 @@
11
------ current release ---------------------------
22

3+
3.4.0 -
4+
5+
- Where possible, the task DB is now opened in read-only mode, which improves
6+
performance. This is the case for reports (task lists) only when the `gc`
7+
config is false.
8+
- An updated version of corrosion fixes build errors trying to find the Rust
9+
toolchain.
10+
11+
Thanks to the following people for contributions to this release:
12+
13+
- Dustin J. Mitchell
14+
- Kalle Kietäväinen
15+
- Karl
16+
- Matthew
17+
- Tejada-Omar
18+
- Tobias Predel
19+
- Yong Li
20+
- jrmarino
21+
22+
------ old releases ------------------------------
23+
24+
3.3.0 -
25+
326
- Sync now supports AWS S3 as a backend.
427
- A new `task import-v2` command allows importing Taskwarrior-2.x
528
data files directly.
629

7-
3.3.0 -
8-
930
Thanks to the following people for contributions to this release:
1031

1132
- Chongyun Lee
@@ -18,8 +39,6 @@ Thanks to the following people for contributions to this release:
1839
- Scott Mcdermott
1940
- Thomas Lauf
2041

21-
------ old releases ------------------------------
22-
2342
3.2.0 -
2443

2544
- Support for the journal in `task info` has been restored (#3671) and the

doc/man/taskrc.5.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,9 @@ This is a path to the hook scripts directory. By default it is ~/.task/hooks.
212212
.TP
213213
.B gc=1
214214
Can be used to temporarily suspend rebuilding, so that task IDs don't change.
215+
Rebuilding requires read/write access to the database, so disabling `gc` may
216+
result in better performance.
217+
215218
Note that this should be used in the form of a command line override (task
216219
rc.gc=0 ...), and not permanently used in the .taskrc file, as this
217220
significantly affects performance in the long term.

src/commands/CmdNews.cpp

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ std::vector<NewsItem> NewsItem::all() {
160160
version3_1_0(items);
161161
version3_2_0(items);
162162
version3_3_0(items);
163+
version3_4_0(items);
163164
return items;
164165
}
165166

@@ -530,6 +531,21 @@ void NewsItem::version3_3_0(std::vector<NewsItem>& items) {
530531
items.push_back(info);
531532
}
532533

534+
void NewsItem::version3_4_0(std::vector<NewsItem>& items) {
535+
Version version("3.4.0");
536+
NewsItem info{version,
537+
/*title=*/"Read-Only Access",
538+
/*bg_title=*/"",
539+
/*background=*/"",
540+
/*punchline=*/"Some Taskwarrior commands operate faster in read-only mode",
541+
/*update=*/
542+
"Some commands do not need to write to the DB, so can open it in read-only\n"
543+
"mode and thus more quickly. This does not include reports (task lists),\n"
544+
"unless the `gc` config is false. Use `rc.gc=0` in command-lines to allow\n"
545+
"read-only access.\n\n"};
546+
items.push_back(info);
547+
}
548+
533549
////////////////////////////////////////////////////////////////////////////////
534550
int CmdNews::execute(std::string& output) {
535551
auto words = Context::getContext().cli2.getWords();

src/commands/CmdNews.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class NewsItem {
5353
static void version3_1_0(std::vector<NewsItem>&);
5454
static void version3_2_0(std::vector<NewsItem>&);
5555
static void version3_3_0(std::vector<NewsItem>&);
56+
static void version3_4_0(std::vector<NewsItem>&);
5657

5758
private:
5859
NewsItem(Version, const std::string&, const std::string& = "", const std::string& = "",

0 commit comments

Comments
 (0)