@netlify/plugin-nextjs 5.3.0 → 5.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -65,13 +65,6 @@ function verifyNextVersion(ctx, nextVersion) {
65
65
  );
66
66
  }
67
67
  }
68
- function verifyBuildConfig(ctx) {
69
- if (ctx.buildConfig.experimental.ppr) {
70
- console.log(
71
- `Partial prerendering is not yet fully supported on Netlify, see https://ntl.fyi/nextjs-ppr for details`
72
- );
73
- }
74
- }
75
68
  async function verifyNoAdvancedAPIRoutes(ctx) {
76
69
  const apiRoutesConfigs = await getAPIRoutesConfigs(ctx);
77
70
  const unsupportedAPIRoutes = apiRoutesConfigs.filter((apiRouteConfig) => {
@@ -87,7 +80,6 @@ Refer to https://ntl.fyi/next-scheduled-bg-function-migration as migration examp
87
80
  }
88
81
  }
89
82
  export {
90
- verifyBuildConfig,
91
83
  verifyNextVersion,
92
84
  verifyNoAdvancedAPIRoutes,
93
85
  verifyPublishDir
@@ -8,7 +8,7 @@ import "./chunk-OEQOKJGE.js";
8
8
 
9
9
  // package.json
10
10
  var name = "@netlify/plugin-nextjs";
11
- var version = "5.3.0";
11
+ var version = "5.3.1";
12
12
  var description = "Run Next.js seamlessly on Netlify";
13
13
  var main = "./dist/index.js";
14
14
  var type = "module";
@@ -58,13 +58,13 @@ var homepage = "https://github.com/netlify/next-runtime-minimal#readme";
58
58
  var devDependencies = {
59
59
  "@fastly/http-compute-js": "1.1.4",
60
60
  "@netlify/blobs": "^7.3.0",
61
- "@netlify/build": "^29.41.5",
61
+ "@netlify/build": "^29.42.1",
62
62
  "@netlify/edge-bundler": "^12.0.1",
63
- "@netlify/edge-functions": "^2.8.0",
63
+ "@netlify/edge-functions": "^2.8.1",
64
64
  "@netlify/eslint-config-node": "^7.0.1",
65
65
  "@netlify/functions": "^2.7.0",
66
66
  "@netlify/serverless-functions-api": "^1.18.1",
67
- "@netlify/zip-it-and-ship-it": "^9.32.2",
67
+ "@netlify/zip-it-and-ship-it": "^9.33.0",
68
68
  "@opentelemetry/api": "^1.8.0",
69
69
  "@opentelemetry/exporter-trace-otlp-http": "^0.51.0",
70
70
  "@opentelemetry/resources": "^1.24.0",
package/dist/index.js CHANGED
@@ -29,11 +29,7 @@ import { createEdgeHandlers } from "./build/functions/edge.js";
29
29
  import { createServerHandler } from "./build/functions/server.js";
30
30
  import { setImageConfig } from "./build/image-cdn.js";
31
31
  import { PluginContext } from "./build/plugin-context.js";
32
- import {
33
- verifyBuildConfig,
34
- verifyNoAdvancedAPIRoutes,
35
- verifyPublishDir
36
- } from "./build/verification.js";
32
+ import { verifyNoAdvancedAPIRoutes, verifyPublishDir } from "./build/verification.js";
37
33
  var tracer = wrapTracer(trace.getTracer("Next.js runtime"));
38
34
  var onPreDev = async (options) => {
39
35
  await tracer.withActiveSpan("onPreDev", async () => {
@@ -53,7 +49,6 @@ var onBuild = async (options) => {
53
49
  await tracer.withActiveSpan("onBuild", async (span) => {
54
50
  const ctx = new PluginContext(options);
55
51
  verifyPublishDir(ctx);
56
- verifyBuildConfig(ctx);
57
52
  span.setAttribute("next.buildConfig", JSON.stringify(ctx.buildConfig));
58
53
  if (!options.constants.IS_LOCAL) {
59
54
  await saveBuildCache(ctx);
@@ -67368,7 +67368,7 @@ var import_semantic_conventions = __toESM(require_src(), 1);
67368
67368
  import { logger } from "../systemlog.cjs";
67369
67369
  var {
67370
67370
  default: { version, name }
67371
- } = await import("../../esm-chunks/package-HC2KHZCZ.js");
67371
+ } = await import("../../esm-chunks/package-JXSICZZN.js");
67372
67372
  var sdk = new import_sdk_node.NodeSDK({
67373
67373
  resource: new import_resources.Resource({
67374
67374
  [import_semantic_conventions.SEMRESATTRS_SERVICE_NAME]: name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/plugin-nextjs",
3
- "version": "5.3.0",
3
+ "version": "5.3.1",
4
4
  "description": "Run Next.js seamlessly on Netlify",
5
5
  "main": "./dist/index.js",
6
6
  "type": "module",