Skip to content

Commit

Permalink
Bump to 1.2.0 (#92)
Browse files Browse the repository at this point in the history
Bump to 1.2.0
  • Loading branch information
lucacasonato committed Jul 13, 2020
2 parents bd37df7 + a504f48 commit fef7051
Show file tree
Hide file tree
Showing 16 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v2
- uses: denolib/setup-deno@master
with:
deno-version: 1.1.3
deno-version: 1.2.0
- name: start a local dynamodb
run: |
mkdir dyno
Expand Down
2 changes: 1 addition & 1 deletion example-aws-cdk/cdk/example-aws-cdk-stack.ts
Expand Up @@ -11,7 +11,7 @@ export class ExampleAwsCdkStack extends cdk.Stack {
const denoRuntime = new CfnApplication(this, 'DenoRuntime', {
location: {
applicationId: 'arn:aws:serverlessrepo:us-east-1:390065572566:applications/deno',
semanticVersion: '1.1.3'
semanticVersion: '1.2.0'
}
});

Expand Down
2 changes: 1 addition & 1 deletion example-sam/template.yml
Expand Up @@ -11,7 +11,7 @@ Resources:
Properties:
Location:
ApplicationId: arn:aws:serverlessrepo:us-east-1:390065572566:applications/deno
SemanticVersion: 1.1.3
SemanticVersion: 1.2.0

HelloWorldFunction:
Type: AWS::Serverless::Function
Expand Down
2 changes: 1 addition & 1 deletion example-serverless/deps.ts
Expand Up @@ -4,5 +4,5 @@ export {
DynamoDBClient
} from "https://deno.land/x/dynamodb@v1.0.0/mod.ts";

import { v4 } from "https://deno.land/std@0.60.0/uuid/mod.ts";
import { v4 } from "https://deno.land/std@0.61.0/uuid/mod.ts";
export const uuid = v4.generate;
2 changes: 1 addition & 1 deletion example-serverless/serverless.yml
Expand Up @@ -64,7 +64,7 @@ resources:
Properties:
Location:
ApplicationId: arn:aws:serverlessrepo:us-east-1:390065572566:applications/deno
SemanticVersion: 1.1.3
SemanticVersion: 1.2.0

candidatesTable:
Type: AWS::DynamoDB::Table
Expand Down
2 changes: 1 addition & 1 deletion example-serverless/test.ts
Expand Up @@ -4,7 +4,7 @@
// You must also pass a access key/secret environment variables, but these don't have to be real e.g.
// AWS_ACCESS_KEY_ID=fakeMyKeyId AWS_SECRET_ACCESS_KEY=fakeSecretAccessKey AWS_DEFAULT_REGION=local deno run --allow-env --allow-net

import { assertEquals } from "https://deno.land/std@0.60.0/testing/asserts.ts";
import { assertEquals } from "https://deno.land/std@0.61.0/testing/asserts.ts";
import {
APIGatewayProxyEvent,
Context
Expand Down
2 changes: 1 addition & 1 deletion runtime/bootstrap
Expand Up @@ -139,7 +139,7 @@ let requestId;
const logger = (level) => {
return (...args) => {
const prefix = interpolate({ requestId, level })
const text = Deno[Deno.internal].stringifyArgs(args);
const text = Deno[Deno.internal].inspectArgs(args);
log((prefix + text).replace(/\n/g, '\r'));
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Dockerfile
@@ -1,6 +1,6 @@
# Note: This must be built in the .. context

FROM hayd/amazonlinux1-deno:1.1.3
FROM hayd/amazonlinux1-deno:1.2.0
# This is the runtime used by AWS Lambda
# plus a compatible deno executable /bin/deno.
# https://github.com/hayd/deno_docker
Expand Down
4 changes: 2 additions & 2 deletions tests/deps.ts
@@ -1,5 +1,5 @@
export {
assert,
assertEquals
} from "https://deno.land/std@0.60.0/testing/asserts.ts";
export { serve } from "https://deno.land/std@0.60.0/http/server.ts";
} from "https://deno.land/std@0.61.0/testing/asserts.ts";
export { serve } from "https://deno.land/std@0.61.0/http/server.ts";
2 changes: 1 addition & 1 deletion tests/handlers.ts
Expand Up @@ -61,7 +61,7 @@ export async function badPrefix(event: any, context: Context) {
console.log(event.hello);
const log = LOGGED.map((args) => {
// @ts-ignore
return Deno[Deno.internal].stringifyArgs(args);
return Deno[Deno.internal].inspectArgs(args);
});
LOGGED = [];
return { log: log };
Expand Down
4 changes: 2 additions & 2 deletions tests/test_bundle.json
Expand Up @@ -7,11 +7,11 @@
"expected": [
{
"status": "ok",
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 1.1.3 🦕\"}"
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 1.2.0 🦕\"}"
},
{
"status": "ok",
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 1.1.3 🦕\"}"
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 1.2.0 🦕\"}"
}
],
"files": ["hello.bundle.js"],
Expand Down
4 changes: 2 additions & 2 deletions tests/test_example_zip.json
Expand Up @@ -4,11 +4,11 @@
"expected": [
{
"status": "ok",
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 1.1.3 🦕\"}"
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 1.2.0 🦕\"}"
},
{
"status": "ok",
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 1.1.3 🦕\"}"
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 1.2.0 🦕\"}"
}
],
"files": "deno-lambda-example.zip",
Expand Down
4 changes: 2 additions & 2 deletions tests/test_js.json
Expand Up @@ -4,11 +4,11 @@
"expected": [
{
"status": "ok",
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 1.1.3 🦕\"}"
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 1.2.0 🦕\"}"
},
{
"status": "ok",
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 1.1.3 🦕\"}"
"content": "{\"statusCode\":200,\"body\":\"Welcome to deno 1.2.0 🦕\"}"
}
],
"files": ["hello.js"],
Expand Down
4 changes: 2 additions & 2 deletions tests/test_run_deno.json
Expand Up @@ -4,11 +4,11 @@
"expected": [
{
"status": "ok",
"content": "{\"out\":\"deno 1.1.3\"}"
"content": "{\"out\":\"deno 1.2.0\"}"
},
{
"status": "ok",
"content": "{\"out\":\"deno 1.1.3\"}"
"content": "{\"out\":\"deno 1.2.0\"}"
}
],
"files": ["handlers.ts"],
Expand Down
4 changes: 2 additions & 2 deletions tests/test_self_contained.json
Expand Up @@ -4,11 +4,11 @@
"expected": [
{
"status": "ok",
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 1.1.3 🦕\"}"
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 1.2.0 🦕\"}"
},
{
"status": "ok",
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 1.1.3 🦕\"}"
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 1.2.0 🦕\"}"
}
],
"files": ["hello.ts", "bootstrap", "bin/deno"]
Expand Down
4 changes: 2 additions & 2 deletions tests/test_simple.json
Expand Up @@ -4,11 +4,11 @@
"expected": [
{
"status": "ok",
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 1.1.3 🦕\"}"
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 1.2.0 🦕\"}"
},
{
"status": "ok",
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 1.1.3 🦕\"}"
"content": "{\"statusCode\":200,\"headers\":{\"content-type\":\"text/html;charset=utf8\"},\"body\":\"Welcome to deno 1.2.0 🦕\"}"
}
],
"files": ["hello.ts"],
Expand Down

0 comments on commit fef7051

Please sign in to comment.