Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ New features:
Bugfixes:

Other improvements:
- Bump PureScript to `0.15.17`, which adds attached `derive` clauses on `data` and `newtype` declarations (#324 by @thomashoneyman)
- Bump the Stackage resolver from `lts-20.26` to `lts-23.18` (GHC 9.2.8 → 9.8.4) to match `purescript-0.15.17` (#324 by @thomashoneyman)
- Update to registry package set `82.1.0`, excluding the new packages that cannot run in the playground (#324 by @thomashoneyman)

## [v2026-07-05.2](https://github.com/purescript/trypurescript/releases/tag/v2026-07-05.2)

Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"devDependencies": {
"esbuild": "^0.14.43",
"http-server": "^14.1.0",
"purescript": "^0.15.15",
"purescript": "^0.15.17",
"purescript-psa": "^0.8.2",
"rimraf": "^2.5.4",
"spago": "^1.0.4"
Expand Down
4 changes: 2 additions & 2 deletions client/src/Try/SharedConfig.purs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ module Try.SharedConfig where
import Prelude

pursVersion :: String
pursVersion = "v0.15.15"
pursVersion = "v0.15.17"

pursReleaseUrl :: String
pursReleaseUrl = "https://github.com/purescript/purescript/releases/tag/" <> pursVersion

-- | The registry package set version used by `staging/spago.yaml`.
packageSetVersion :: String
packageSetVersion = "77.10.2"
packageSetVersion = "82.1.0"

packageSetPackageJsonUrl :: String
packageSetPackageJsonUrl = "https://github.com/purescript/registry/blob/main/package-sets/" <> packageSetVersion <> ".json"
3 changes: 1 addition & 2 deletions server/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
module Main (main) where

import Control.Monad (foldM)
import Control.Monad.IO.Class (liftIO)
import qualified Control.Monad.State as State
import Control.Monad.Trans (lift)
import Control.Monad.Trans.Except (ExceptT(..), runExceptT)
Expand Down Expand Up @@ -168,7 +167,7 @@ server allModuleNames externs initNamesEnv initEnv port = do
Scotty.json $ A.object [ "js" .= comp, "warnings" .= warnings ]

get "/search" $ do
query <- param "q"
query <- queryParam "q"
Scotty.setHeader "Access-Control-Allow-Origin" "*"
Scotty.setHeader "Content-Type" "application/json"
case tryParseType query of
Expand Down
21 changes: 7 additions & 14 deletions stack.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
resolver: lts-20.26
resolver: lts-23.18
packages:
- "."

extra-deps:
- purescript-0.15.15
- purescript-0.15.17
# These match the extra-deps in purescript-0.15.17's own stack.yaml
- language-javascript-0.7.0.0
- process-1.6.13.1
# The Cabal library is not in Stackage
- Cabal-3.6.3.0
# Protolude is not in the resolver snapshot; 0.3.3 (not 0.3.1) is needed
# for compatibility with the bytestring version in lts-20.26
- protolude-0.3.3
# purescript pins happy ==1.20.0, but lts-20.26 ships happy-1.20.1.1
- happy-1.20.0

flags:
these:
assoc: false
- bower-json-1.1.0.0
- aeson-better-errors-0.9.1.3
- github: purescript/cheapskate
commit: 633c69024e061ad956f1aecfc137fb99a7a7a20b
51 changes: 24 additions & 27 deletions stack.yaml.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

packages:
- completed:
hackage: purescript-0.15.15@sha256:8e2a2452b66e29dbfa8269c523487f882c7b94aa71766b06be7e51da4dc85035,21429
hackage: purescript-0.15.17@sha256:425c45b03ade7f357fa64b9e62d64120cad0360f8249de3fd336d15dd57da681,21699
pantry-tree:
sha256: c70747a772ab844b7e9b86cfc57a9b22001652ad7bec457eb274df29b7110e17
size: 159334
sha256: 06e8a2032f48f20fef5bb8ea2e5a6c8c7395d37b2d7e25190d0f15d3d5f644fd
size: 147330
original:
hackage: purescript-0.15.15
hackage: purescript-0.15.17
- completed:
hackage: language-javascript-0.7.0.0@sha256:3eab0262b8ac5621936a4beab6a0f97d0e00a63455a8b0e3ac1547b4088dae7d,3898
pantry-tree:
Expand All @@ -19,36 +19,33 @@ packages:
original:
hackage: language-javascript-0.7.0.0
- completed:
hackage: process-1.6.13.1@sha256:c8bb8b7c993ff72d771381b3b56852dd154bce51880a24789c11f57b0688d353,2963
hackage: bower-json-1.1.0.0@sha256:a136aaca67bf0d15c336f5864f7e9d40ebe046ca2cb4b25bc4895617ea35f9f6,1864
pantry-tree:
sha256: 58117b15fa330c79b3bca6b29c65f815e45840f79cc0915d3434f25e54ac8fa5
size: 1543
sha256: 3acd48e7012f246ad44c7c17cd6340362b1dc448c1d93156280814e76d9e0589
size: 419
original:
hackage: process-1.6.13.1
hackage: bower-json-1.1.0.0
- completed:
hackage: Cabal-3.6.3.0@sha256:ff97c442b0c679c1c9876acd15f73ac4f602b973c45bde42b43ec28265ee48f4,12459
hackage: aeson-better-errors-0.9.1.3@sha256:1bfdda3982368cafc7317b9f0c1f7267a6b0bbac9515ae1fad37f2b19178f567,2071
pantry-tree:
sha256: b250a53bdb56844f047a2927833bb565b936a289abfa85dfc2a63148d776368a
size: 19757
sha256: 1c14247866dfb8052506c179e4725b8a7ce1472a4fb227d61576d862d9494551
size: 492
original:
hackage: Cabal-3.6.3.0
hackage: aeson-better-errors-0.9.1.3
- completed:
hackage: protolude-0.3.3@sha256:0106615f6fe08de16fe512852c728797db17374d36b4a4ec8187563e924b2439,2261
name: cheapskate
pantry-tree:
sha256: 174c107f3c3af1dc23330ff4431445830aac4b4fdba326e3e654eb491d6e9ca6
size: 1594
sha256: b130a35ad29a61ac64c2d29bb09309ddf07b139342c67ef01ccc59ad4167d529
size: 12069
sha256: 2b495e2b6d571c33b91ebb76c1b7fe9c9b56ff90ca0804106a3260f2bbdc9a9a
size: 62489
url: https://github.com/purescript/cheapskate/archive/633c69024e061ad956f1aecfc137fb99a7a7a20b.tar.gz
version: 0.1.1.2
original:
hackage: protolude-0.3.3
- completed:
hackage: happy-1.20.0@sha256:5d47dc221a9fe964e36aaaa2e1ab7e8f085a225fd6528d6eff310b92360bbe99,5732
pantry-tree:
sha256: ff2e7df7cfe8746eedc6f69c225fa8c899c26d28f1c4964eeb00a5d757d30351
size: 8749
original:
hackage: happy-1.20.0
url: https://github.com/purescript/cheapskate/archive/633c69024e061ad956f1aecfc137fb99a7a7a20b.tar.gz
snapshots:
- completed:
sha256: 5a59b2a405b3aba3c00188453be172b85893cab8ebc352b1ef58b0eae5d248a2
size: 650475
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/26.yaml
original: lts-20.26
sha256: d133abe75e408a407cce3f032c96ac1bbadf474a93b5156ebf4135b53382d56b
size: 683827
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/23/18.yaml
original: lts-23.18
11 changes: 9 additions & 2 deletions staging/excluded-packages.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Packages excluded from the Try PureScript package set (registry 77.10.2).
# Packages excluded from the Try PureScript package set (registry 82.1.0).
#
# Criterion: the package cannot execute in the playground. Its foreign modules
# (or those of a dependency) import bare JS specifiers that are not shimmed by
Expand All @@ -19,6 +19,7 @@ ace unshimmed imports: ace-builds, ace/anchor, ace/background_tokenizer, ace/doc
address-rfc2821 unshimmed imports: address-rfc2821
affjax-node unshimmed imports: url, xhr2
axon unshimmed imports: bun, node:http, node:net, node:stream, stream
baskerville-mycroft depends on excluded: mycroft
benchlib depends on excluded: node-buffer, node-fs, node-path, node-process
blessed unshimmed imports: @shamansir/everblessed, blessed, fs, path, reblessed, terminal-size, url, util
cbor-stream unshimmed imports: cbor-x
Expand All @@ -38,7 +39,7 @@ elmish-enzyme unshimmed imports: enzyme
elmish-hooks unshimmed imports: stacktrace-parser
elmish-html depends on excluded: elmish
elmish-testing-library unshimmed imports: @happy-dom/global-registrator, react-dom/test-utils.js
elmish-time-machine depends on excluded: elmish, elmish-hooks, elmish-html
env depends on excluded: node-process
environment depends on excluded: node-process
express unshimmed imports: cookie-parser, express, http, https
ezfetch unshimmed imports: buffer, stream
Expand Down Expand Up @@ -69,13 +70,16 @@ meowclient unshimmed imports: keys-converter, meowclient
milkdown unshimmed imports: @milkdown/crepe, @milkdown/kit/core, @milkdown/kit/utils
milkis unshimmed imports: node-fetch
motion unshimmed imports: motion/react, motion/react-m
mycroft unshimmed imports: node:child_process
mycroft-z3-wasm unshimmed imports: z3-solver
mysql unshimmed imports: mysql
n3 unshimmed imports: n3
nanoid unshimmed imports: nanoid
next-purs-rsc unshimmed imports: next/cache, next/dynamic, next/font/google, next/font/local, next/headers, next/image, next/link, next/navigation, next/og, next/script, next/server, next/web-vitals
nextjs unshimmed imports: next/document, next/head, next/image.js, next/link, next/navigation, next/script, swr
nextui unshimmed imports: @nextui-org/react, next-themes
node-buffer unshimmed imports: node:buffer, util
node-buffer-blob unshimmed imports: buffer
node-child-process unshimmed imports: node:child_process
node-event-emitter unshimmed imports: node:events
node-execa unshimmed imports: process
Expand All @@ -89,6 +93,7 @@ node-os unshimmed imports: node:os, node:util
node-path unshimmed imports: node:path
node-process unshimmed imports: process
node-readline unshimmed imports: node:readline
node-sqlite unshimmed imports: node:sqlite
node-sqlite3 unshimmed imports: sqlite3
node-stream-pipes unshimmed imports: stream
node-streams unshimmed imports: node:stream
Expand Down Expand Up @@ -159,7 +164,9 @@ yoga-pino unshimmed imports: @opentelemetry/api-logs, pino
yoga-postgres unshimmed imports: pg
yoga-react-native unshimmed imports: react-native, react-native-fs, react-native-macos, twrnc
yoga-redis unshimmed imports: ioredis
yoga-scylladb unshimmed imports: cassandra-driver
yoga-shadcn unshimmed imports: cmdk, embla-carousel-react, input-otp, radix-ui, react-day-picker, react-resizable-panels, sonner, vaul
yoga-sqlite unshimmed imports: @libsql/client
yoga-sqlite-om depends on excluded: yoga-sqlite
yoga-test-docker unshimmed imports: child_process
z3 unshimmed imports: z3-solver
Loading
Loading