mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-11-29 04:42:29 +03:00
Updated waspc.cabal, ChangeLog and e2e test to 0.12.2.
This commit is contained in:
parent
1669357dbe
commit
17479c76a9
@ -41,7 +41,7 @@ RUN cd .wasp/build/server && npm run bundle
|
||||
# TODO: Use pm2?
|
||||
# TODO: Use non-root user (node).
|
||||
FROM base AS server-production
|
||||
RUN curl -sSL https://get.wasp-lang.dev/installer.sh | sh -s -- -v 0.12.1
|
||||
RUN curl -sSL https://get.wasp-lang.dev/installer.sh | sh -s -- -v 0.12.2
|
||||
ENV PATH "$PATH:/root/.local/bin"
|
||||
ENV NODE_ENV production
|
||||
WORKDIR /app
|
||||
|
@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## 0.12.2
|
||||
|
||||
### 🐞 Bug fixes
|
||||
|
||||
- We were adding Crypto polyfill even when not needed (when node > 18), which was then causing an error. Now polyfill is added only if needed.
|
||||
|
||||
## 0.12.1
|
||||
|
||||
### 🐞 Bug fixes
|
||||
|
@ -466,7 +466,7 @@
|
||||
"file",
|
||||
"server/src/polyfill.ts"
|
||||
],
|
||||
"4ab1dcc0b102d76e98710af39a41bfee93be96ba04d9d84a58cd50ffa73b6c11"
|
||||
"1149661e0aa7228b184bb2c04ac63232a6523b09b33829db6977f79daba3fd8d"
|
||||
],
|
||||
[
|
||||
[
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
import { webcrypto } from "node:crypto";
|
||||
|
||||
// NOTE: node < 19 doesn't have Crypto API, which we need for Lucia, so we apply the polyfill if Crypto API is not defined.
|
||||
if (typeof globalThis.crypto === "undefined") {
|
||||
// @ts-ignore
|
||||
globalThis.crypto = webcrypto as Crypto;
|
||||
|
@ -1,7 +1,7 @@
|
||||
app waspBuild {
|
||||
db: { system: PostgreSQL },
|
||||
wasp: {
|
||||
version: "^0.12.1"
|
||||
version: "^0.12.2"
|
||||
},
|
||||
title: "waspBuild"
|
||||
}
|
||||
|
@ -473,7 +473,7 @@
|
||||
"file",
|
||||
"server/src/polyfill.ts"
|
||||
],
|
||||
"4ab1dcc0b102d76e98710af39a41bfee93be96ba04d9d84a58cd50ffa73b6c11"
|
||||
"1149661e0aa7228b184bb2c04ac63232a6523b09b33829db6977f79daba3fd8d"
|
||||
],
|
||||
[
|
||||
[
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
import { webcrypto } from "node:crypto";
|
||||
|
||||
// NOTE: node < 19 doesn't have Crypto API, which we need for Lucia, so we apply the polyfill if Crypto API is not defined.
|
||||
if (typeof globalThis.crypto === "undefined") {
|
||||
// @ts-ignore
|
||||
globalThis.crypto = webcrypto as Crypto;
|
||||
|
@ -1,6 +1,6 @@
|
||||
app waspCompile {
|
||||
wasp: {
|
||||
version: "^0.12.1"
|
||||
version: "^0.12.2"
|
||||
},
|
||||
title: "waspCompile"
|
||||
}
|
||||
|
@ -935,7 +935,7 @@
|
||||
"file",
|
||||
"server/src/polyfill.ts"
|
||||
],
|
||||
"4ab1dcc0b102d76e98710af39a41bfee93be96ba04d9d84a58cd50ffa73b6c11"
|
||||
"1149661e0aa7228b184bb2c04ac63232a6523b09b33829db6977f79daba3fd8d"
|
||||
],
|
||||
[
|
||||
[
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
import { webcrypto } from "node:crypto";
|
||||
|
||||
// NOTE: node < 19 doesn't have Crypto API, which we need for Lucia, so we apply the polyfill if Crypto API is not defined.
|
||||
if (typeof globalThis.crypto === "undefined") {
|
||||
// @ts-ignore
|
||||
globalThis.crypto = webcrypto as Crypto;
|
||||
|
@ -1,7 +1,7 @@
|
||||
app waspComplexTest {
|
||||
db: { system: PostgreSQL },
|
||||
wasp: {
|
||||
version: "^0.12.1"
|
||||
version: "^0.12.2"
|
||||
},
|
||||
auth: {
|
||||
userEntity: User,
|
||||
|
@ -543,7 +543,7 @@
|
||||
"file",
|
||||
"server/src/polyfill.ts"
|
||||
],
|
||||
"4ab1dcc0b102d76e98710af39a41bfee93be96ba04d9d84a58cd50ffa73b6c11"
|
||||
"1149661e0aa7228b184bb2c04ac63232a6523b09b33829db6977f79daba3fd8d"
|
||||
],
|
||||
[
|
||||
[
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
import { webcrypto } from "node:crypto";
|
||||
|
||||
// NOTE: node < 19 doesn't have Crypto API, which we need for Lucia, so we apply the polyfill if Crypto API is not defined.
|
||||
if (typeof globalThis.crypto === "undefined") {
|
||||
// @ts-ignore
|
||||
globalThis.crypto = webcrypto as Crypto;
|
||||
|
@ -1,7 +1,7 @@
|
||||
app waspJob {
|
||||
db: { system: PostgreSQL },
|
||||
wasp: {
|
||||
version: "^0.12.1"
|
||||
version: "^0.12.2"
|
||||
},
|
||||
title: "waspJob"
|
||||
}
|
||||
|
@ -473,7 +473,7 @@
|
||||
"file",
|
||||
"server/src/polyfill.ts"
|
||||
],
|
||||
"4ab1dcc0b102d76e98710af39a41bfee93be96ba04d9d84a58cd50ffa73b6c11"
|
||||
"1149661e0aa7228b184bb2c04ac63232a6523b09b33829db6977f79daba3fd8d"
|
||||
],
|
||||
[
|
||||
[
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
import { webcrypto } from "node:crypto";
|
||||
|
||||
// NOTE: node < 19 doesn't have Crypto API, which we need for Lucia, so we apply the polyfill if Crypto API is not defined.
|
||||
if (typeof globalThis.crypto === "undefined") {
|
||||
// @ts-ignore
|
||||
globalThis.crypto = webcrypto as Crypto;
|
||||
|
@ -1,6 +1,6 @@
|
||||
app waspMigrate {
|
||||
wasp: {
|
||||
version: "^0.12.1"
|
||||
version: "^0.12.2"
|
||||
},
|
||||
title: "waspMigrate"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
app waspNew {
|
||||
wasp: {
|
||||
version: "^0.12.1"
|
||||
version: "^0.12.2"
|
||||
},
|
||||
title: "waspNew"
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ cabal-version: 2.4
|
||||
-- Consider using hpack, or maybe even hpack-dhall.
|
||||
|
||||
name: waspc
|
||||
version: 0.12.1
|
||||
version: 0.12.2
|
||||
description: Please see the README on GitHub at <https://github.com/wasp-lang/wasp/waspc#readme>
|
||||
homepage: https://github.com/wasp-lang/wasp/waspc#readme
|
||||
bug-reports: https://github.com/wasp-lang/wasp/issues
|
||||
|
Loading…
Reference in New Issue
Block a user