Download Latest Version 4.33.2 source code.tar.gz (2.2 MB)
Email in envelope

Get an email when there's a new version of Serverless Framework

Home / sf-core@4.33.0
Name Modified Size InfoDownloads / Week
Parent folder
4.33.0 source code.tar.gz 2026-02-19 2.2 MB
4.33.0 source code.zip 2026-02-19 3.5 MB
README.md 2026-02-19 3.5 kB
Totals: 3 Items   5.7 MB 0

Features

Serverless Framework

  • Added AWS Bedrock AgentCore integration for deploying and managing AI agents. Define agents, tools, memory, browsers, and code interpreters via a new ai top-level block in serverless.yml. The Framework compiles agent resources to CloudFormation with least-privilege IAM roles, builds and uploads Docker images to ECR, and supports both JavaScript and Python runtimes. New CLI commands include sls invoke -a <agent> (with JSON and SSE streaming), sls logs -a <agent>, and sls dev mode for agents with hot-reload. Includes 20+ example agents covering LangGraph, MCP servers, browser automation, code interpreters, and more. Read more in the AI Agents documentation. (#13353)

    :::yaml functions: calculatorFunction: handler: handlers/calculator.handler

    ai: tools: calculator: function: calculatorFunction toolSchema:

        - name: calculate
          inputSchema:
            type: object
            properties:
              expression:
                type: string
            required:
              - expression
    

    agents: assistant: memory: expiration: 30

    :::bash

    Deploy the agent

    sls deploy

    Invoke with streaming

    sls invoke -a assistant -d "What is 2+2?"

    Tail agent logs

    sls logs -a assistant --tail

  • Dev mode now matches the shim runtime to your local Node.js version. Previously, dev mode always used nodejs20.x for the remote shim regardless of your local Node.js version. The Framework now automatically selects the matching AWS Lambda runtime (e.g., local Node.js 22 -> nodejs22.x), and falls back to nodejs20.x with a warning when the local version isn't supported by Lambda. (#13355, [#13362])

  • Added JSDoc descriptions to the configuration schema for TypeScript type generation. All JSON Schema properties across 30+ config schema files now include description, @see, @example, @default, @deprecated, and @since annotations. This enables auto-generated TypeScript type definitions (via serverless/typescript) with rich inline documentation, hover tooltips, and link-to-docs support in IDEs. (#13345)

Bug Fixes

Serverless Framework

  • Fixed Python packaging with uv failing when the root project is included in requirements. Without --no-emit-project, uv export included the root project as an editable dependency (-e .) in the generated requirements.txt, causing uv pip install to fail inside Docker containers where pyproject.toml is not present. The Framework now passes --no-emit-project to exclude it. Read more in the Python support guide. (#13346, [#13348])

Maintenance

  • Upgraded minimatch from 5.1.6/9.0.5 to 10.2.1 to resolve a high-severity ReDoS vulnerability (GHSA-3ppc-4f35-3m26) in production dependencies (#13363)
  • Upgraded @aws-sdk/* from 3.982.0 to 3.993.0 (#13357)
  • Upgraded ajv from 8.17.1 to 8.18.0 (#13352)
  • Upgraded @slack/web-api from 7.13.0 to 7.14.0 (#13359)
  • Upgraded is-wsl from 3.1.0 to 3.1.1 (#13358)
  • Upgraded golang.org/x/mod from 0.32.0 to 0.33.0 in binary-installer (#13356)
Source: README.md, updated 2026-02-19