Skip to content

Commit

Permalink
release v0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Beutel committed May 5, 2024
1 parent 756a9fa commit 24cec4e
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 13 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# v0.5.1
## Features
- You can now export trails as GPX or GEOJson files. Optionally you can include photos and summit book entries of the trail. This replaces the "Download GPX" function in previous versions.

## Bug fixes
- Fixed a bug that wouldprevent users from creating multiple summit log entries with out reloading the page
- wanderer now takes the `<rte>` tag into account when displaying a trail on the map
- A trails date attribute is now the current date by default

# v0.5.0

## ⚠️ Breaking changes ⚠️
Expand Down
4 changes: 2 additions & 2 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wanderer",
"version": "0.5.0",
"version": "0.5.1",
"private": true,
"scripts": {
"dev": "vite dev",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,5 @@
d="M43.857 43.3045C44.0569 43.0652 44.4246 43.0652 44.6245 43.3045L46.6259 45.7008C46.8978 46.0263 46.6663 46.5213 46.2421 46.5213H42.2394C41.8152 46.5213 41.5837 46.0263 41.8556 45.7008L43.857 43.3045Z"
fill="#242734"
/>
<text x="178" y="64" fill="white" font-size="0.75rem">v0.5.0</text>
<text x="178" y="64" fill="white" font-size="0.75rem">v0.5.1</text>
</svg>
1 change: 0 additions & 1 deletion web/src/lib/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"display-as": "Anzeigen als",
"distance": "Distanz",
"documentation": "Dokumentation",
"download-gpx": "GPX herunterladen",
"draw-a-route": "Route zeichnen",
"driving": "Auto",
"dutch": "Niederländisch",
Expand Down
1 change: 0 additions & 1 deletion web/src/lib/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"display-as": "Display as",
"distance": "Distance",
"documentation": "Documentation",
"download-gpx": "Download GPX",
"draw-a-route": "Draw a route",
"driving": "Driving",
"dutch": "Dutch",
Expand Down
1 change: 0 additions & 1 deletion web/src/lib/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"display-as": "Afficher en tant que",
"distance": "Distance",
"documentation": "Documentation",
"download-gpx": "Télécharger le GPX",
"draw-a-route": "",
"driving": "",
"dutch": "Néerlandais",
Expand Down
1 change: 0 additions & 1 deletion web/src/lib/i18n/locales/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"display-as": "Megjelenítés mint",
"distance": "Távolság",
"documentation": "Dokumentáció",
"download-gpx": "GPX letöltése",
"draw-a-route": "",
"driving": "",
"dutch": "Holland",
Expand Down
1 change: 0 additions & 1 deletion web/src/lib/i18n/locales/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"display-as": "Tonen als",
"distance": "Afstand",
"documentation": "Documentatie",
"download-gpx": "GPX-bestand downloaden",
"draw-a-route": "",
"driving": "",
"dutch": "Nederlands",
Expand Down
1 change: 0 additions & 1 deletion web/src/lib/i18n/locales/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"display-as": "Wyświetl jako",
"distance": "Dystans",
"documentation": "Dokumentacja",
"download-gpx": "Popierz GPX",
"draw-a-route": "",
"driving": "",
"dutch": "Niderlandzki",
Expand Down
1 change: 0 additions & 1 deletion web/src/lib/i18n/locales/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"display-as": "Exibir como",
"distance": "Distância",
"documentation": "Documentação",
"download-gpx": "Baixar GPX",
"draw-a-route": "",
"driving": "",
"dutch": "Holandês",
Expand Down
1 change: 0 additions & 1 deletion web/src/lib/i18n/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"display-as": "显示方式",
"distance": "距离",
"documentation": "文档",
"download-gpx": "下载 GPX",
"draw-a-route": "",
"driving": "",
"dutch": "荷兰语",
Expand Down
2 changes: 1 addition & 1 deletion web/src/lib/util/gpx_util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export async function gpx2trail(gpxString: string) {
const startTime = trackPoints?.at(0)?.time;
const endTime = trackPoints?.at((trackPoints?.length ?? 1) - 1)?.time

if (startTime && endTime && !trail.date) {
if (startTime && endTime) {
trail.date = startTime.toISOString()
.substring(0, 10);
}
Expand Down

0 comments on commit 24cec4e

Please sign in to comment.