包详细信息

@vercel/functions

vercel1.9mApache-2.02.2.2

Runtime functions to be used with your Vercel Functions

自述文件

@vercel/functions

Runtime functions to be used with your Vercel Functions.

Please follow the documentation for examples and usage.

更新日志

@vercel/functions

2.2.2

Patch Changes

  • Add warning when calling getCache to indicate that in-memory cache is being used. (#13455)

2.2.1

Patch Changes

  • Update runtime cache to always use the current cache instance to prevent holding a stale copy (#13454)

2.2.0

Minor Changes

  • Introduce getVercelOidcTokenSync (#13429)

2.1.0

Minor Changes

  • Change the load order of the OIDC token (#13337)

Patch Changes

  • Rename getRuntimeCache to getCache (#13325)

2.0.3

Patch Changes

  • Rename FunctionCache / getFunctionCache to RuntimeCache / getRuntimeCache (#13296)

2.0.2

Patch Changes

  • Update in memory cache to use a singleton instance (#13288)

2.0.1

Patch Changes

  • Add Vercel Function Cache api (#13221)

2.0.0

Major Changes

  • [cli] Remove support for node@16 (#12857)

1.6.0

Minor Changes

  • Add middleware-related helper functions (#12938)

1.5.2

Patch Changes

  • [vercel/functions] add geolocation.postalCode (#12753)

1.5.1

Patch Changes

  • [@vercel/functions] update headers doc (#12649)

1.5.0

Minor Changes

  • ipAddress: accept headers as input (#12429)

1.4.2

Patch Changes

  • [functions] decode city name (#12234)

1.4.1

Patch Changes

  • Package files in the root folder (#11982)

1.4.0

Minor Changes

  • Added OIDC Token utility functions (#11701)

1.3.0

Minor Changes

  • [functions] add getEnv method. (#11783)

1.2.0

Minor Changes

  • Add geolocation & ipAdress methods. (#11802)

1.1.0

Minor Changes

  • Rewrite @vercel/functions to TypeScript (#11791)

1.0.2

Patch Changes

  • Convert package to CommonJS (#11569)

1.0.1

Patch Changes

  • Don't throw error if context is missing (0817527f9)

1.0.0

Major Changes