Skip to content

Commit ae967eb

Browse files
committed
Reorganize changelog.
1 parent e97f71f commit ae967eb

3 files changed

Lines changed: 106 additions & 41 deletions

File tree

‎.githooks/pre-commit‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ if [ -d ".venv" ]; then
44
source .venv/bin/activate
55
fi
66

7-
echo "Checking code format with Ruff..."
7+
echo "Check code format with Ruff..."
88
if ! ruff format --check; then
99
ruff format --diff
1010
echo "FAIL"
@@ -16,3 +16,5 @@ ruff check || { echo "FAIL"; exit 1; }
1616

1717
echo "Check with ty..."
1818
ty check || { echo "FAIL"; exit 1; }
19+
20+
echo "OK"

‎.githooks/pre-push‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ if [ -d ".venv" ]; then
44
source .venv/bin/activate
55
fi
66

7-
echo "Looking for changes..."
7+
echo "Look for changes..."
88
files=`git status --porcelain | wc -l`
99
if [ ${files} == 0 ] ; then
1010
echo "OK"
@@ -14,10 +14,8 @@ else
1414
exit 1
1515
fi
1616

17-
# Check format, lint, run static analyzer.
1817
.githooks/pre-commit || { echo "FAIL"; exit 1; }
1918

20-
# Unit tests with pytest.
2119
echo "Run tests with pytest..."
2220
pytest -vv || { echo "FAIL"; exit 1; }
2321

‎CHANGELOG.md‎

Lines changed: 102 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -45,78 +45,115 @@
4545

4646
## 0.1.9
4747

48+
### Fixes
49+
4850
- Fix a problem with a mutable field ([Philipp](https://github.com/phillies),
4951
[#153](https://github.com/enzet/map-machine/issues/153)).
50-
- Add icon for `natural=human`.
52+
53+
54+
### Improvements
55+
5156
- Add `--hide-credit` option.
5257
- Make colors more configurable.
5358

59+
### New Tag Support
60+
61+
- Add icon for `natural=human`.
62+
5463
## 0.1.8
5564

56-
- Improve colors for indoor features
57-
([#139](https://github.com/enzet/map-machine/issues/139)).
65+
### Fixes
66+
67+
- Fix leading `-` issue in argument parsing.
68+
- Fix style for golf features.
5869
- Support empty scheme file
5970
([#140](https://github.com/enzet/map-machine/issues/140)).
71+
72+
### Improvements
73+
74+
- Improve colors for indoor features
75+
([#139](https://github.com/enzet/map-machine/issues/139)).
76+
- Enhance argument processing
77+
([#100](https://github.com/enzet/map-machine/issues/100)).
78+
79+
### New Tag Support
80+
6081
- Add icons for:
6182
- flags,
6283
- camp, fire, `tourism=camp_pitch`
6384
([#144](https://github.com/enzet/map-machine/issues/144)).
6485
- Support `tourism=artwork` for ways.
65-
- Enhance argument processing
66-
([#100](https://github.com/enzet/map-machine/issues/100)).
6786
- Reuse icon for:
6887
- `traffic_sign=*`,
6988
- `parking=yes`,
7089
- `drinking_water=yes`,
7190
- `dog=yes`,
7291
- `shower=yes`,
7392
- `washing_machine=yes`.
74-
- Fix style for golf features.
75-
- Fix leading `-` issue in argument parsing.
7693

7794
## 0.1.7
7895

7996
_17 August 2022_
8097

98+
### Fixes
99+
100+
- Fix style for `indoor=room`
101+
([#139](https://github.com/enzet/map-machine/issues/139)).
102+
103+
### Improvements
104+
105+
- **Breaking change**: rename `element` command to `draw` and change format.
106+
- Add `--scheme` option
107+
([#140](https://github.com/enzet/map-machine/issues/140)).
108+
109+
### New Tag Support
110+
81111
- Add icons for:
82112
- `shop=car_parts`, `shop=variety_store`
83113
([#48](https://github.com/enzet/map-machine/issues/48)),
84114
- `natural=spring` ([#55](https://github.com/enzet/map-machine/issues/55)),
85115
- `tomb=pyramid`.
86116
- Reuse icon for `shop=department_store`
87117
([#48](https://github.com/enzet/map-machine/issues/48)).
88-
- Fix style for `indoor=room`
89-
([#139](https://github.com/enzet/map-machine/issues/139)).
90118
- Redraw diving tower and fountain icons.
91-
- Add `--scheme` option
92-
([#140](https://github.com/enzet/map-machine/issues/140)).
93-
- Rename `element` command to `draw` and change format.
94119

95120
## 0.1.6
96121

97122
_4 July 2022_
98123

99-
- Support `attraction=water_slide`
100-
([#137](https://github.com/enzet/map-machine/issues/137)).
124+
### Fixes
125+
101126
- Fix diving tower priority
102127
([#138](https://github.com/enzet/map-machine/issues/138)); test
103128
`test_icons/test_diving_tower`.
129+
130+
### New Tag Support
131+
132+
- Support `attraction=water_slide`
133+
([#137](https://github.com/enzet/map-machine/issues/137)).
104134
- Add icon for `amenity=dressing_room`
105135
([#135](https://github.com/enzet/map-machine/issues/135)).
106136

107137
## 0.1.5
108138

109139
_6 June 2022_
110140

111-
- Support `/` as a delimiter for coordinates.
141+
### Fixes
142+
112143
- Fix `placement` tag processing
113144
([#128](https://github.com/enzet/map-machine/issues/128)).
114-
- Split way priority ([#125](https://github.com/enzet/map-machine/issues/125)).
115145
- Fix typo in `motorcar=yes`
116146
([#133](https://github.com/enzet/map-machine/issues/133)).
117147

148+
### Improvements
149+
150+
- Support `/` as a delimiter for coordinates.
151+
- Split way priority ([#125](https://github.com/enzet/map-machine/issues/125)).
152+
118153
## 0.1.4
119154

155+
### Fixes
156+
120157
- Fix vending machine priority
121158
([#132](https://github.com/enzet/map-machine/issues/132)).
122159
- Allow duplicate ids in OSM data ([Andrew Klofas](https://github.com/aklofas),
@@ -126,49 +163,84 @@ _6 June 2022_
126163

127164
_2022.4_
128165

166+
### Fixes
167+
168+
- Fix waterways priority
169+
([#126](https://github.com/enzet/map-machine/issues/126)).
170+
- Fix electricity shape.
171+
172+
### Improvements
173+
174+
- Show small dot for overlapped icons
175+
([#121](https://github.com/enzet/map-machine/issues/121)).
176+
- Support color for default icon.
177+
178+
### New Tag Support
179+
129180
- Add style for
130181
- `greenhouse_horticulture`,
131182
- `recreation_ground`,
132183
- `landuse=village_green`
133184
([#129](https://github.com/enzet/map-machine/issues/129)).
134185
- Add style for `railway=construction`
135186
([#125](https://github.com/enzet/map-machine/issues/125)).
136-
- Fix electricity shape.
137-
- Support color for default icon.
138-
- Fix waterways priority
139-
([#126](https://github.com/enzet/map-machine/issues/126)).
140-
- Show small dot for overlapped icons
141-
([#121](https://github.com/enzet/map-machine/issues/121)).
142187

143188
## 0.1.2
144189

145190
_2022.2.3_
146191

192+
### Fixes
193+
194+
- Wrap temporarily matrix creation
195+
([#114](https://github.com/enzet/map-machine/issues/114)).
196+
197+
### Improvements
198+
199+
- Copy license file to icon collection
200+
([#98](https://github.com/enzet/map-machine/issues/98)).
201+
- Fix beach shape.
202+
203+
### New Tag Support
204+
147205
- Add icons for:
148206
- `highway=traffic_mirror`.
149207
- Japanese symbol for health center.
150208
- Japanese symbol for police station.
151-
- Fix beach shape.
152-
- Copy license file to icon collection
153-
([#98](https://github.com/enzet/map-machine/issues/98)).
154-
- Wrap temporarily matrix creation
155-
([#114](https://github.com/enzet/map-machine/issues/114)).
156209

157210
## 0.1.1
158211

159212
_2022.2.2_
160213

161-
- Add icon for `playground=sandpit`.
162-
- Fix probe, lunokhod shape, solar panel.
163-
- Reuse icon for `shop=antiques`.
214+
### Improvements
215+
164216
- Add `--building-colors` option.
217+
- Fix probe, lunokhod shape, solar panel.
165218
- More precise area detection.
219+
220+
### New Tag Support
221+
222+
- Add icon for `playground=sandpit`.
223+
- Reuse icon for `shop=antiques`.
166224
- Support `area=yes` for roads.
167225

168226
## 0.1.0
169227

170228
_2022.2.1_
171229

230+
### Fixes
231+
232+
- Fix wall order.
233+
234+
### Improvements
235+
236+
- Add support for Docker (Sven Fischer).
237+
- Support roof and walls colors.
238+
- Remove wildcard matching for `tourism=*`.
239+
- Redraw icon for swimming area.
240+
- Fix bed shape.
241+
242+
### New Tag Support
243+
172244
- Add icons for:
173245
- `tourism=apartment`,
174246
- `tourism=guest_house`,
@@ -177,13 +249,6 @@ _2022.2.1_
177249
- mazes,
178250
- `leisure=escape_game`.
179251
- Reuse icon for `craft=jeweller`.
180-
- Redraw icon for swimming area.
181-
- Add support for Docker (Sven Fischer).
182-
- Fix bed shape.
183-
- Remove wildcard matching for `tourism=*`.
184-
- For buildings:
185-
- Support roof and walls colors.
186-
- Fix walls order.
187252

188253
## 0.0.35
189254

0 commit comments

Comments
 (0)