Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #749

Merged
merged 1 commit into from
Feb 10, 2022
Merged

Version Packages #749

merged 1 commit into from
Feb 10, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jan 27, 2022

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

[email protected]

Major Changes

  • deps: Require Node.js 14.18+ (#760)

    Node.js 12 will reach end of life by April 2022. The semantic-release package and stable --enable-source-maps flag necessitate this new minimum version.

    Consider upgrading the Node.js version for your project across:

    • .nvmrc
    • package.json#/engines/node
    • CI/CD configuration (.buildkite/pipeline.yml, Dockerfile, etc.)
  • deps: semantic-release ^19.0.0 (#757)

    Resolves SNYK-JS-MARKED-2342073 and SNYK-JS-MARKED-2342082.

    This may alleviate the following skuba release error:

    [semantic-release] › ✖  EGHNOPERMISSION The GitHub token doesn't allow to push on the repository owner/repo.
    The user associated with the GitHub token (https://github.com/semantic-release/github/blob/master/README.md#github-authentication) configured in the GH_TOKEN or GITHUB_TOKEN environment variable must allows to push to the repository owner/repo.
  • template: Use --enable-source-maps (#761)

    Stable source map support has landed in Node.js 14.18+ via the built-in --enable-source-maps option.

    We recommend migrating off of custom source map implementations in favour of this option. Upgrading to skuba-dive v2 will remove source-map-support from the skuba-dive/register hook.

    For a containerised application, update your Dockerfile:

    - FROM gcr.io/distroless/nodejs:12 AS runtime
    + FROM gcr.io/distroless/nodejs:16 AS runtime
    
    + # https://nodejs.org/api/cli.html#cli_node_options_options
    + ENV NODE_OPTIONS --enable-source-maps

    For a Serverless Lambda application, update your serverless.yml:

    provider:
    - runtime: nodejs12.x
    + runtime: nodejs14.x
    
    functions:
      Worker:
        environment:
    +     # https://nodejs.org/api/cli.html#cli_node_options_options
    +     NODE_OPTIONS: --enable-source-maps

    For a CDK Lambda application, update your stack:

    new aws_lambda.Function(this, 'worker', {
    - runtime: aws_lambda.Runtime.NODEJS_12_X,
    + runtime: aws_lambda.Runtime.NODEJS_14_X,
      environment: {
    +   // https://nodejs.org/api/cli.html#cli_node_options_options
    +   NODE_OPTIONS: '--enable-source-maps',
      },
    });

Patch Changes

  • template/lambda-sqs-worker: Disable tty on deploy step (#753)

    Serverless Framework v3 renders progress spinners on interactive terminals. We recommend disabling tty in CI/CD for cleaner log output.

  • template/lambda-sqs-worker: serverless ^3.0.0 (#748)

  • template/lambda-sqs-worker: Replace custom.env configuration with params (#752)

    You can now define environment specific variables using the new Serverless parameters feature. See https://www.serverless.com/framework/docs/guides/parameters for more details.

  • template/*-rest-api: seek-jobs/gantry v1.6.1 (#759)

  • template/lambda-sqs-worker: Remove provider.lambdaHashingVersion (#751)

    This resolves the following deprecation warning in Serverless Framework v3:

    Setting "20201221" for "provider.lambdaHashingVersion" is no longer effective as new hashing algorithm is now used by default. You can safely remove this property from your configuration.
  • deps: eslint-config-skuba 1.0.14 (#758)

    This disables the tsdoc/syntax ESLint rule in tests for compatibility with /** @jest-environment env */ directives.

  • deps: isomorphic-git ^1.11.1 (#750)

    Resolves SNYK-JS-SIMPLEGET-2361683.

@github-actions github-actions bot requested a review from a team as a code owner January 27, 2022 20:52
@72636c 72636c added the dino:snooze Snooze in Review Dino label Jan 27, 2022
@72636c 72636c marked this pull request as draft January 27, 2022 22:02
@github-actions github-actions bot force-pushed the changeset-release/master branch 5 times, most recently from ad4a12d to 0e421ec Compare January 31, 2022 20:32
@github-actions github-actions bot force-pushed the changeset-release/master branch 6 times, most recently from a473dba to d3fd5b0 Compare February 9, 2022 22:07
@72636c 72636c added this to the v4 milestone Feb 10, 2022
@72636c 72636c marked this pull request as ready for review February 10, 2022 03:35
@72636c 72636c removed the dino:snooze Snooze in Review Dino label Feb 10, 2022
@72636c 72636c merged commit 1d4a337 into master Feb 10, 2022
@72636c 72636c deleted the changeset-release/master branch February 10, 2022 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant