This commit is contained in:
Christian Beutel
2024-06-15 19:53:50 +02:00
parent eef743b947
commit 7a6cb6c771
10 changed files with 36 additions and 11 deletions

View File

@@ -1,3 +1,15 @@
# v0.7.0
## Features
- Trail sort and sort direction are now remembered through a page reload
- You can now pick between OpenStreetMaps and OpenTopoMaps tiles
- The gradient track line can now display altitude, slope, and speed
- A waypoint's coordinates can now be inferred from a photo's EXIF data
## Docs
- Added a guide for custom categories
# v0.6.1
## Bug fixes
- Fixes a bug that would show wrong comments under a trail

View File

@@ -1,5 +1,4 @@
.DS_Store
node_modules
dist
.astro
.vscode

View File

@@ -1,10 +1,10 @@
FROM node:slim AS runtime
WORKDIR /app
COPY . .
COPY ./dist dist/
COPY package*.json .
RUN npm install
RUN npm run build
RUN npm ci --omit=dev
ENV HOST=0.0.0.0
ENV PORT=4321

View File

@@ -1,12 +1,12 @@
{
"name": "docs",
"version": "0.6.1",
"version": "0.7.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "docs",
"version": "0.6.1",
"version": "0.7.0",
"dependencies": {
"@astrojs/check": "^0.7.0",
"@astrojs/node": "^8.2.6",

View File

@@ -1,7 +1,7 @@
{
"name": "docs",
"type": "module",
"version": "0.6.1",
"version": "0.7.0",
"scripts": {
"dev": "astro dev",
"start": "astro dev",

View File

@@ -111,7 +111,7 @@ const isNotHomepage = Astro.props.slug !== "";
class="fill-primary dark:fill-white"
font-size="0.75rem"
>
v0.6.1
v0.7.0
</text>
</svg>
</div>

View File

@@ -3,6 +3,17 @@ title: Changelog
description: What changed in the last patch?
---
## v0.7.0
### Features
- Trail sort and sort direction are now remembered through a page reload
- You can now pick between OpenStreetMaps and OpenTopoMaps tiles
- The gradient track line can now display altitude, slope, and speed
- A waypoint's coordinates can now be inferred from a photo's EXIF data
### Docs
- Added a guide for custom categories
## v0.6.1
### Bug fixes
- Fixes a bug that would show wrong comments under a trail

4
web/package-lock.json generated
View File

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

View File

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

View File

@@ -27,6 +27,9 @@
$: gpxData = trail?.expand.gpx_data;
$: if (gpxData && controlElevation) {
controlElevation.updateOptions({
autofitBounds: true,
});
controlElevation.clear();
controlElevation.load(gpxData);
}