Skip to content

Commit 8ae6aec

Browse files
committed
update to stackage LTS 23 (ghc-9.8.4); purs package-set update
1 parent c92ae60 commit 8ae6aec

File tree

12 files changed

+50
-48
lines changed

12 files changed

+50
-48
lines changed

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
__v0.0.22__
2+
3+
update to stackage LTS 23 (ghc-9.8.4); purs package-set update
4+
15
__v0.0.21__
26
switch to esm javascript module imports
37

espial.cabal

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
cabal-version: 1.12
22

3-
-- This file has been generated from package.yaml by hpack version 0.36.0.
3+
-- This file has been generated from package.yaml by hpack version 0.37.0.
44
--
55
-- see: https://github.com/sol/hpack
66

77
name: espial
8-
version: 0.0.21
8+
version: 0.0.22
99
synopsis: Espial is an open-source, web-based bookmarking server.
10-
description: .
11-
Espial is an open-source, web-based bookmarking server.
10+
description: Espial is an open-source, web-based bookmarking server.
1211
- Yesod + PureScript + sqlite3
1312
- multi-user (w/ privacy scopes)
14-
- tags, stars, editing, deleting
13+
- tags, stars, editing, deleting
1514
category: Web
1615
homepage: https://github.com/jonschoning/espial
1716
bug-reports: https://github.com/jonschoning/espial/issues
@@ -160,10 +159,10 @@ library
160159
aeson >=1.4
161160
, attoparsec
162161
, base >=4.18.1.0 && <5
163-
, base64 <1
162+
, base64 ==1.*
164163
, bcrypt >=0.0.8
165164
, blaze-html >=0.9 && <1.0
166-
, bytestring >=0.11.5 && <0.12
165+
, bytestring >=0.11.5 && <0.13
167166
, case-insensitive
168167
, classy-prelude >=1.4 && <1.6
169168
, classy-prelude-conduit >=1.4 && <1.6
@@ -175,7 +174,7 @@ library
175174
, data-default
176175
, directory >=1.1 && <1.4
177176
, entropy
178-
, esqueleto >=3.5.11.1 && <3.5.14
177+
, esqueleto >=3.5.11.1 && <3.5.15
179178
, fast-logger >=2.2 && <4
180179
, file-embed
181180
, foreign-store
@@ -207,7 +206,7 @@ library
207206
, wai
208207
, wai-extra >=3.0 && <3.2
209208
, wai-logger
210-
, warp >=3.0 && <3.4
209+
, warp >=3.0 && <3.5
211210
, yaml >=0.8 && <0.12
212211
, yesod >=1.6 && <1.8
213212
, yesod-auth >=1.6 && <1.8
@@ -275,10 +274,10 @@ executable espial
275274
aeson >=1.4
276275
, attoparsec
277276
, base >=4.18.1.0 && <5
278-
, base64 <1
277+
, base64 ==1.*
279278
, bcrypt >=0.0.8
280279
, blaze-html >=0.9 && <1.0
281-
, bytestring >=0.11.5 && <0.12
280+
, bytestring >=0.11.5 && <0.13
282281
, case-insensitive
283282
, classy-prelude >=1.4 && <1.6
284283
, classy-prelude-conduit >=1.4 && <1.6
@@ -291,7 +290,7 @@ executable espial
291290
, directory >=1.1 && <1.4
292291
, entropy
293292
, espial
294-
, esqueleto >=3.5.11.1 && <3.5.14
293+
, esqueleto >=3.5.11.1 && <3.5.15
295294
, fast-logger >=2.2 && <4
296295
, file-embed
297296
, foreign-store
@@ -323,7 +322,7 @@ executable espial
323322
, wai
324323
, wai-extra >=3.0 && <3.2
325324
, wai-logger
326-
, warp >=3.0 && <3.4
325+
, warp >=3.0 && <3.5
327326
, yaml >=0.8 && <0.12
328327
, yesod >=1.6 && <1.8
329328
, yesod-auth >=1.6 && <1.8
@@ -387,10 +386,10 @@ executable migration
387386
aeson >=1.4
388387
, attoparsec
389388
, base >=4.18.1.0 && <5
390-
, base64 <1
389+
, base64 ==1.*
391390
, bcrypt >=0.0.8
392391
, blaze-html >=0.9 && <1.0
393-
, bytestring >=0.11.5 && <0.12
392+
, bytestring >=0.11.5 && <0.13
394393
, case-insensitive
395394
, classy-prelude >=1.4 && <1.6
396395
, classy-prelude-conduit >=1.4 && <1.6
@@ -403,7 +402,7 @@ executable migration
403402
, directory >=1.1 && <1.4
404403
, entropy
405404
, espial
406-
, esqueleto >=3.5.11.1 && <3.5.14
405+
, esqueleto >=3.5.11.1 && <3.5.15
407406
, fast-logger >=2.2 && <4
408407
, file-embed
409408
, foreign-store
@@ -437,7 +436,7 @@ executable migration
437436
, wai
438437
, wai-extra >=3.0 && <3.2
439438
, wai-logger
440-
, warp >=3.0 && <3.4
439+
, warp >=3.0 && <3.5
441440
, yaml >=0.8 && <0.12
442441
, yesod >=1.6 && <1.8
443442
, yesod-auth >=1.6 && <1.8
@@ -505,10 +504,10 @@ test-suite test
505504
aeson >=1.4
506505
, attoparsec
507506
, base >=4.18.1.0 && <5
508-
, base64 <1
507+
, base64 ==1.*
509508
, bcrypt >=0.0.8
510509
, blaze-html >=0.9 && <1.0
511-
, bytestring >=0.11.5 && <0.12
510+
, bytestring >=0.11.5 && <0.13
512511
, case-insensitive
513512
, classy-prelude >=1.4 && <1.6
514513
, classy-prelude-conduit >=1.4 && <1.6
@@ -521,7 +520,7 @@ test-suite test
521520
, directory >=1.1 && <1.4
522521
, entropy
523522
, espial
524-
, esqueleto >=3.5.11.1 && <3.5.14
523+
, esqueleto >=3.5.11.1 && <3.5.15
525524
, fast-logger >=2.2 && <4
526525
, file-embed
527526
, foreign-store
@@ -554,7 +553,7 @@ test-suite test
554553
, wai
555554
, wai-extra >=3.0 && <3.2
556555
, wai-logger
557-
, warp >=3.0 && <3.4
556+
, warp >=3.0 && <3.5
558557
, yaml >=0.8 && <0.12
559558
, yesod >=1.6 && <1.8
560559
, yesod-auth >=1.6 && <1.8

package.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
name: espial
22
synopsis: Espial is an open-source, web-based bookmarking server.
3-
version: "0.0.21"
3+
version: "0.0.22"
44
description: ! '
5-
65
Espial is an open-source, web-based bookmarking server.
76
87
- Yesod + PureScript + sqlite3
98
109
- multi-user (w/ privacy scopes)
1110
12-
- tags, stars, editing, deleting
13-
'
11+
- tags, stars, editing, deleting'
1412
category: Web
1513
author: Jon Schoning
1614
maintainer: [email protected]
@@ -91,7 +89,7 @@ dependencies:
9189
- classy-prelude >=1.4 && <1.6
9290
- classy-prelude-conduit >=1.4 && <1.6
9391
- classy-prelude-yesod >=1.4 && <1.6
94-
- bytestring >=0.11.5 && <0.12
92+
- bytestring >=0.11.5 && <0.13
9593
- text >=2 && <3.0
9694
- persistent >=2.14 && <2.15
9795
- blaze-html >= 0.9 && < 1.0
@@ -104,7 +102,7 @@ dependencies:
104102
- http-client-tls >=0.3 && <0.4
105103
- http-conduit >=2.3 && <2.4
106104
- directory >=1.1 && <1.4
107-
- warp >=3.0 && <3.4
105+
- warp >=3.0 && <3.5
108106
- data-default
109107
- conduit >=1.0 && <2.0
110108
- monad-logger >=0.3 && <0.4
@@ -124,7 +122,7 @@ dependencies:
124122
- attoparsec
125123
- bcrypt >= 0.0.8
126124
- entropy
127-
- esqueleto >= 3.5.11.1 && < 3.5.14
125+
- esqueleto >= 3.5.11.1 && < 3.5.15
128126
- hscolour
129127
- http-api-data >= 0.3.4
130128
- http-client
@@ -138,7 +136,7 @@ dependencies:
138136
- parser-combinators
139137
- html-entities
140138
- crypton-connection
141-
- base64 < 1
139+
- base64 >=1 && < 2
142140
- cryptohash-sha256
143141

144142
when:

purs/packages.dhall

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ in upstream
2121
}
2222
-}
2323
let upstream =
24-
https://raw.githubusercontent.com/purescript/package-sets/psc-0.15.15-20240829/src/packages.dhall
25-
sha256:5bab5469c75bd8c7bac517385e6dd66cca0b2651676b4a99b357753c80bbe673
24+
https://raw.githubusercontent.com/purescript/package-sets/psc-0.15.15-20250513/src/packages.dhall
25+
sha256:2a6cc3d39a5bf5d3a7416a68ea7ed8fb669180bc936fe06bc104b49799af0185
2626

2727
in upstream
2828
with simple-json =

src/Import/NoFoundation.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import Model as Import
2222
import ModelCustom as Import
2323
import Types as Import
2424
import Pretty as Import
25-
import Data.Functor as Import
25+
import Data.Functor as Import hiding (unzip)
2626
import Generic as Import
2727
import Database.Persist.Sql as Import (fromSqlKey, toSqlKey)
2828

src/ModelCustom.hs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import qualified Data.Aeson as A
1212
import System.Entropy (getEntropy)
1313
import qualified Data.ByteString.Builder as BB
1414
import qualified Data.ByteString.Lazy as LBS
15+
import qualified Data.Base64.Types as Base64
1516
import qualified Data.ByteString.Base64.URL as Base64Url
1617
import qualified Crypto.Hash.SHA256 as SHA256
1718

@@ -71,7 +72,7 @@ newtype HashedApiKey
7172
generateApiKey :: IO ApiKey
7273
generateApiKey = do
7374
bytes <- getEntropy 32
74-
pure $ ApiKey $ Base64Url.encodeBase64 bytes
75+
pure $ ApiKey $ Base64.extractBase64 $ Base64Url.encodeBase64 bytes
7576

7677
hashApiKey :: ApiKey -> HashedApiKey
77-
hashApiKey = HashedApiKey . TE.decodeUtf8 . Base64Url.encodeBase64' . SHA256.hash . TE.encodeUtf8 . unApiKey
78+
hashApiKey = HashedApiKey . TE.decodeUtf8 . Base64.extractBase64 . Base64Url.encodeBase64' . SHA256.hash . TE.encodeUtf8 . unApiKey

stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
resolver: lts-22.33
1+
resolver: lts-23.22
22
packages:
33
- .

stack.yaml.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
packages: []
77
snapshots:
88
- completed:
9-
sha256: 098936027eaa1ef14e2b8eb39d9933a973894bb70a68684a1bbf00730249879b
10-
size: 720001
11-
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/33.yaml
12-
original: lts-22.33
9+
sha256: f8c8f95e57e436cee7c053b6f424e2c07a1020304a5583f3568cd9521443c340
10+
size: 683838
11+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/23/22.yaml
12+
original: lts-23.22

static/js/app.min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/js/app.min.js.gz

30 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)