aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
blob: aa7bb2953aee94bb38b7467f30f4dfcf664520b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!-- Entry template: -->
<!--
# Unreleased
## Added
## Changed
## Deprecated
## Removed
## Fixed
## Security
-->

Changelog for [remembering](https://euandre.org/remembering/en/).


# Unreleased


# [0.3.0](https://euandre.org/git/remembering/commit/?id=v0.3.0) - 2022-11-25

## Added

### Inference of profiles

## Changed

### Remove `-c COMMAND` option

Instead of requiring a `-c COMMAND` option explicitly, instead receive the
commands to be ran as the "rest" argument to `remembering`, stored in `$@`.  The
usage changes from:

```shell
$ remembering -p a-profile -c 'command $arg1 arg2'
```

to:

```shell
$ remembering -p a-profile -- command $arg1 arg2
```

The upsides are:
1. no need to worry about nested quotes: requiring a `-c COMMAND` option forced
   one to wrap the command and args inside quotes, and the quotation used
   influenced the command to be ran;
1. one less option to know about: instead of having to remember what is the
   specific letter used for the command, just prefix the command with
   `remembering`;
1. simpler and more powerful composition: wrapping commands without quoting them
   allows one to use many of such tools in combination:

```shell
$ time nice -n10 timeout 3 remembering sleep 5
```

   The equivalent with `-c COMMAND` would be:

```shell
$ time -c 'nice -n10 -c "timeout 3 -c 'remembering -c "sleep 5"'"'
```

   But instead of alternating between single and double quotes, properly quoting
   them at each level.

## Fixed

### Improve speed

Rewrite to make it faster


## Changed

### Use of `$XDG_DATA_HOME`

When the environment variable `$XDG_DATA_HOME` is defined, remembering now
appends a trailing `/remembering` to it instead of start writing files to where
the environment variable points to.

This is in conformance with the [XDG Base Directory Specification][xdg].

[xdg]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

### Exit code

When remembering encounters an unrecognized option, it now exits with 2 instead of ignoring it.


# [0.2.1](https://euandre.org/git/remembering/commit/?id=v0.2.1) - 2021-02-23

## Removed

Revert to plain `Makefile` over `./configure` + `Makefile.in`.


# [0.2.0](https://euandre.org/git/remembering/commit/?id=v0.2.0) - 2021-02-21

## Added

Add trivial `./configure` script.

## Changed

Assume standard input is already sorted for faster processing.


# [0.1.2](https://euandre.org/git/remembering/commit/?id=v0.1.2) - 2021-01-26

## Fixed

Replace usage of GNU Coreutils' specific `tac` utility with `sed`.


# [0.1.1](https://euandre.org/git/remembering/commit/?id=v0.1.1) - 2021-01-26

## Fixed

Allow names with spaces.


# [0.1.0](https://euandre.org/git/remembering/commit/?id=v0.1.0) - 2021-01-26

## Added

Initial public release.