release v0.5.1

This commit is contained in:
Christian Beutel
2024-05-05 16:26:30 +02:00
parent 756a9fa79f
commit 24cec4e42a
13 changed files with 14 additions and 13 deletions

View File

@@ -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 # v0.5.0
## ⚠️ Breaking changes ⚠️ ## ⚠️ Breaking changes ⚠️

4
web/package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "wanderer", "name": "wanderer",
"version": "0.5.0", "version": "0.5.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "wanderer", "name": "wanderer",
"version": "0.5.0", "version": "0.5.1",
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-free": "^6.5.1", "@fortawesome/fontawesome-free": "^6.5.1",
"@sveltejs/adapter-node": "^4.0.1", "@sveltejs/adapter-node": "^4.0.1",

View File

@@ -1,6 +1,6 @@
{ {
"name": "wanderer", "name": "wanderer",
"version": "0.5.0", "version": "0.5.1",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vite dev", "dev": "vite dev",

View File

@@ -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" 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" 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> </svg>

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -40,7 +40,6 @@
"display-as": "Anzeigen als", "display-as": "Anzeigen als",
"distance": "Distanz", "distance": "Distanz",
"documentation": "Dokumentation", "documentation": "Dokumentation",
"download-gpx": "GPX herunterladen",
"draw-a-route": "Route zeichnen", "draw-a-route": "Route zeichnen",
"driving": "Auto", "driving": "Auto",
"dutch": "Niederländisch", "dutch": "Niederländisch",

View File

@@ -40,7 +40,6 @@
"display-as": "Display as", "display-as": "Display as",
"distance": "Distance", "distance": "Distance",
"documentation": "Documentation", "documentation": "Documentation",
"download-gpx": "Download GPX",
"draw-a-route": "Draw a route", "draw-a-route": "Draw a route",
"driving": "Driving", "driving": "Driving",
"dutch": "Dutch", "dutch": "Dutch",

View File

@@ -40,7 +40,6 @@
"display-as": "Afficher en tant que", "display-as": "Afficher en tant que",
"distance": "Distance", "distance": "Distance",
"documentation": "Documentation", "documentation": "Documentation",
"download-gpx": "Télécharger le GPX",
"draw-a-route": "", "draw-a-route": "",
"driving": "", "driving": "",
"dutch": "Néerlandais", "dutch": "Néerlandais",

View File

@@ -40,7 +40,6 @@
"display-as": "Megjelenítés mint", "display-as": "Megjelenítés mint",
"distance": "Távolság", "distance": "Távolság",
"documentation": "Dokumentáció", "documentation": "Dokumentáció",
"download-gpx": "GPX letöltése",
"draw-a-route": "", "draw-a-route": "",
"driving": "", "driving": "",
"dutch": "Holland", "dutch": "Holland",

View File

@@ -40,7 +40,6 @@
"display-as": "Tonen als", "display-as": "Tonen als",
"distance": "Afstand", "distance": "Afstand",
"documentation": "Documentatie", "documentation": "Documentatie",
"download-gpx": "GPX-bestand downloaden",
"draw-a-route": "", "draw-a-route": "",
"driving": "", "driving": "",
"dutch": "Nederlands", "dutch": "Nederlands",

View File

@@ -40,7 +40,6 @@
"display-as": "Wyświetl jako", "display-as": "Wyświetl jako",
"distance": "Dystans", "distance": "Dystans",
"documentation": "Dokumentacja", "documentation": "Dokumentacja",
"download-gpx": "Popierz GPX",
"draw-a-route": "", "draw-a-route": "",
"driving": "", "driving": "",
"dutch": "Niderlandzki", "dutch": "Niderlandzki",

View File

@@ -40,7 +40,6 @@
"display-as": "Exibir como", "display-as": "Exibir como",
"distance": "Distância", "distance": "Distância",
"documentation": "Documentação", "documentation": "Documentação",
"download-gpx": "Baixar GPX",
"draw-a-route": "", "draw-a-route": "",
"driving": "", "driving": "",
"dutch": "Holandês", "dutch": "Holandês",

View File

@@ -40,7 +40,6 @@
"display-as": "显示方式", "display-as": "显示方式",
"distance": "距离", "distance": "距离",
"documentation": "文档", "documentation": "文档",
"download-gpx": "下载 GPX",
"draw-a-route": "", "draw-a-route": "",
"driving": "", "driving": "",
"dutch": "荷兰语", "dutch": "荷兰语",

View File

@@ -42,7 +42,7 @@ export async function gpx2trail(gpxString: string) {
const startTime = trackPoints?.at(0)?.time; const startTime = trackPoints?.at(0)?.time;
const endTime = trackPoints?.at((trackPoints?.length ?? 1) - 1)?.time const endTime = trackPoints?.at((trackPoints?.length ?? 1) - 1)?.time
if (startTime && endTime && !trail.date) { if (startTime && endTime) {
trail.date = startTime.toISOString() trail.date = startTime.toISOString()
.substring(0, 10); .substring(0, 10);
} }