Skip to content

Commit

Permalink
Release 2024-10-06 (#125)
Browse files Browse the repository at this point in the history
* bump FIT SDK for Go to latest version

* fix messages arrival ordering when exporting to FIT

* fix bug on combine on accumulation logic and split session logic

* fix UI missing sport in Lap section

* bump FIT SDK for Go version to latest (#124)

* fix: pwa enable cleanupOutdatedCaches (#123)

---------

Co-authored-by: Hikmatulloh Hari Mukti <muktihaz@gmail.com>
  • Loading branch information
raditzlawliet and muktihari authored Oct 6, 2024
1 parent e305f58 commit 3cfdfe9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/wasm/activity-service/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22.0
toolchain go1.23.0

require (
github.com/muktihari/fit v0.23.6
github.com/muktihari/fit v0.24.3
github.com/muktihari/xmltokenizer v0.0.4
golang.org/x/text v0.18.0
)
Expand Down
6 changes: 2 additions & 4 deletions src/wasm/activity-service/go.sum
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/muktihari/fit v0.23.5 h1:Fu5JA29+oxH9qx4DjUQo+w1MNx5TqfBhrd6CdNHIBZo=
github.com/muktihari/fit v0.23.5/go.mod h1:99RXB2OVc87XhcQzgHfUtCVE3VCJ4BvgmyWQI08MM4w=
github.com/muktihari/fit v0.23.6 h1:wgZvTjO+10TOHLSePNuWk/VOQJKg14POEbB3WvlMe8Y=
github.com/muktihari/fit v0.23.6/go.mod h1:99RXB2OVc87XhcQzgHfUtCVE3VCJ4BvgmyWQI08MM4w=
github.com/muktihari/fit v0.24.3 h1:gNgPWyyzYMs5xWVBrSFZKmBbpfX9tnZOq7CEw+jsEfo=
github.com/muktihari/fit v0.24.3/go.mod h1:99RXB2OVc87XhcQzgHfUtCVE3VCJ4BvgmyWQI08MM4w=
github.com/muktihari/xmltokenizer v0.0.4 h1:x4DZWvfcEAJR+iBPb8XeiWL1J15SY21bCaem76wmmjw=
github.com/muktihari/xmltokenizer v0.0.4/go.mod h1:yTxhndrcpmZEPYqQGSN51MwkzPQgGSkRpqW5ZFBpdF0=
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 h1:e66Fs6Z+fZTbFBAxKfP3PALWBtpfqks2bwGcexMxgtk=
Expand Down
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ export default defineConfig({
globDirectory: 'dist',
globPatterns: ['**/*.{js,css,html,ico,wasm,svg,ttf,woff2}'],
maximumFileSizeToCacheInBytes: (1000 * 10) << 10, // 10MB per file
cleanupOutdatedCaches: true,
runtimeCaching: [
{
urlPattern: new RegExp('^https://.*\\.openstreetmap.org/.*\\.png$'), // cache osm tiles.
handler: 'CacheFirst'
handler: 'CacheFirst' // NOTE: We use 'CacheFirst' since OSM tiles are rarely updated.
}
]
}
Expand Down

0 comments on commit 3cfdfe9

Please sign in to comment.