Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: netlify/build
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0a66a5592b80f8b2e2538ebc385d3eea8777c7b7
Choose a base ref
...
head repository: netlify/build
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a21bd09d429d1cf2b3cba00262149ddb36687960
Choose a head ref

Commits on Jan 15, 2025

  1. fix(config): fail builds if failed to fetch extensions (#6008)

    * fix(config): fail builds if failed to fetch extensions
    
    * fix(config): return never if failed to fetch extensions
    
    * chore(config): use feature flag to error builds if failed to fetch extensions from jigsaw
    
    * chore(config): add debug logs
    
    * chore(config): clean up logs
    YujohnNattrass authored Jan 15, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    heifner Kevin Heifner
    Copy the full SHA
    95c4716 View commit details
  2. chore: release main (#6016)

    netlify-circleci authored Jan 15, 2025
    Copy the full SHA
    0413449 View commit details

Commits on Jan 16, 2025

  1. fix(js-client): api client types - make passing params optional where…

    … necessary (#6017)
    
    - add type AreAllOptional to check if every key on a type is optional
    - add IsPathAndQueryOptional to check if all params on a method are
    optional
    - allow passing nothing (void) or undefined for method params when there
    are no required params
    - simplify OperationParams / move some logic to
    ExtractPathAndQueryParameters to avoid repeating
    CalebBarnes authored Jan 16, 2025
    Copy the full SHA
    ad7715b View commit details
  2. fix(js-client): handle type definitions for request body params (#6018)

    * fix(js-client): handle type definitions for requestBody
    
    Handling type definitions for requestBody in API schema while still
    taking into consideration optional / void params if all path, query, and
    requestBody keys are optional.
    
    * fix(js-client): add reference docs links and code example to NetlifyAPI client definition comment
    
    Improve DX by adding links to docs and small code sample.
    
    * fix(js-client): add types for request body json and octet stream
    
    - combined the request body type with the Params type
    - handle cases where request body properties are optional
    - handle cases where all params and request body are optional
    - allow 'application/json' body to be a JSON object or a function
    returning one
    - allow 'application/octet-stream' body to be a Node.js ReadStream or a
    function returning one
    - simplify by extracting repetitive logic to helper types like
    `IsParamsOrRequestBodyRequired` and `IsRequestBodyOptional` etc.
    
    * refactor(js-client): rename RequestBodyDecorator to DetailedRequestBody for clarity
    
    These types are responsible for adding detailed annotations to the
    `body` parameter of API methods, such as describing its usage and
    examples for `application/json` and `application/octet-stream`. The new
    names make their purpose more explicit and improve readability for
    future maintenance and usage.
    CalebBarnes authored Jan 16, 2025
    Copy the full SHA
    e2e9114 View commit details
  3. fix(js-client): add type definitions for operation method opts argu…

    …ment (#6021)
    
    * fix(js-client): handle type definitions for requestBody
    
    Handling type definitions for requestBody in API schema while still
    taking into consideration optional / void params if all path, query, and
    requestBody keys are optional.
    
    * fix(js-client): add types for request body json and octet stream
    
    - combined the request body type with the Params type
    - handle cases where request body properties are optional
    - handle cases where all params and request body are optional
    - allow 'application/json' body to be a JSON object or a function
    returning one
    - allow 'application/octet-stream' body to be a Node.js ReadStream or a
    function returning one
    - simplify by extracting repetitive logic to helper types like
    `IsParamsOrRequestBodyRequired` and `IsRequestBodyOptional` etc.
    
    * refactor(js-client): rename RequestBodyDecorator to DetailedRequestBody for clarity
    
    These types are responsible for adding detailed annotations to the
    `body` parameter of API methods, such as describing its usage and
    examples for `application/json` and `application/octet-stream`. The new
    names make their purpose more explicit and improve readability for
    future maintenance and usage.
    
    * fix(js-client): add method opts type definition
    
    All dynamic operation methods can have a second arg `opts` to pass any
    additional properties to `node-fetch` RequestInit. This adds the type
    definition for the `opts` argument.
    
    * fix(js-client): remove export for type OperationParams
    
    added this export by accident, just removing it
    CalebBarnes authored Jan 16, 2025
    Copy the full SHA
    02af82a View commit details

Commits on Jan 17, 2025

  1. chore: release main (#6020)

    netlify-circleci authored Jan 17, 2025
    Copy the full SHA
    bba5964 View commit details
  2. fix(deps): update dependency @netlify/open-api to ^2.35.1 (#6022)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 17, 2025
    Copy the full SHA
    b72a1cf View commit details
  3. chore: release main (#6023)

    netlify-circleci authored Jan 17, 2025
    Copy the full SHA
    269e3fe View commit details
  4. chore(deps): update dependency @types/picomatch to v3.0.2 (#6024)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 17, 2025
    Copy the full SHA
    0dfa8da View commit details
  5. chore(deps): update dependency lint-staged to v15.4.1 (#6027)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
    renovate[bot] and kodiakhq[bot] authored Jan 17, 2025
    Copy the full SHA
    b88daae View commit details
  6. chore(deps): update dependency @typescript-eslint/eslint-plugin to v8 (

    …#5989)
    
    * chore(deps): update dependency @typescript-eslint/eslint-plugin to v8
    
    * chore: fix all the issues found from updating @typescript-eslint/eslint-plugin to v8
    
    * fix: adjust eslint ignore rules for NetlifyAPI as the rules were renamed
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: jake champion <jake.champion@netlify.com>
    Co-authored-by: Mateusz Bocian <mrstork@users.noreply.github.com>
    3 people authored Jan 17, 2025
    Copy the full SHA
    2775717 View commit details

Commits on Jan 18, 2025

  1. fix(deps): update dependency qs to v6.14.0 (#6028)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 18, 2025
    Copy the full SHA
    cd469b5 View commit details
  2. fix(deps): update dependency fast-glob to v3.3.3 (#6026)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 18, 2025
    Copy the full SHA
    f326140 View commit details
  3. chore(deps): update dependency browserslist to v4.24.4 (#6010)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 18, 2025
    Copy the full SHA
    e570eeb View commit details
  4. fix(deps): update dependency fdir to v6.4.3 (#6031)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 18, 2025
    Copy the full SHA
    a5bdb84 View commit details
  5. fix(deps): update babel monorepo to v7.26.5 (#6030)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
    renovate[bot] and kodiakhq[bot] authored Jan 18, 2025
    Copy the full SHA
    5bd9f1c View commit details
  6. chore(deps): update thollander/actions-comment-pull-request action to…

    … v3 (#6035)
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 18, 2025
    Copy the full SHA
    be5efb6 View commit details
  7. chore(deps): update dependency @typescript-eslint/eslint-plugin to v8…

    ….20.0 (#6032)
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
    renovate[bot] and kodiakhq[bot] authored Jan 18, 2025
    Copy the full SHA
    33ff8bc View commit details

Commits on Jan 19, 2025

  1. chore(deps): update dependency eslint-config-prettier to v10 (#6034)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 19, 2025
    Copy the full SHA
    79580ca View commit details

Commits on Jan 20, 2025

  1. fix: add move to options type for cache util exposed to build plugins (

    pieh authored Jan 20, 2025
    Copy the full SHA
    c2843db View commit details
  2. chore: release main (#6036)

    netlify-circleci authored Jan 20, 2025
    Copy the full SHA
    a21bd09 View commit details
Showing with 1,193 additions and 232 deletions.
  1. +2 −2 .github/workflows/typescript-nudge.yml
  2. +5 −5 .release-please-manifest.json
  3. +667 −131 package-lock.json
  4. +2 −2 package.json
  5. +0 −1 packages/build-info/src/frameworks/nuxt.test.ts
  6. +6 −6 packages/build-info/src/metrics.test.ts
  7. +3 −3 packages/build-info/src/node/get-build-info.test.ts
  8. +0 −5 packages/build-info/src/runtime/runtime.ts
  9. +1 −1 packages/build-info/src/workspaces/get-workspace-packages.ts
  10. +42 −0 packages/build/CHANGELOG.md
  11. +4 −4 packages/build/package.json
  12. +35 −38 packages/build/src/error/types.ts
  13. +1 −1 packages/build/src/plugins/options.ts
  14. +1 −1 packages/build/src/plugins_core/pre_dev_cleanup/index.ts
  15. +18 −1 packages/build/src/types/options/netlify_plugin_cache_util.ts
  16. +1 −1 packages/build/src/utils/resolve.js
  17. +25 −0 packages/config/CHANGELOG.md
  18. +2 −2 packages/config/package.json
  19. +29 −6 packages/config/src/api/site_info.ts
  20. +56 −0 packages/config/tests/api/snapshots/tests.js.md
  21. BIN packages/config/tests/api/snapshots/tests.js.snap
  22. +46 −0 packages/config/tests/api/tests.js
  23. +9 −0 packages/functions-utils/CHANGELOG.md
  24. +2 −2 packages/functions-utils/package.json
  25. +16 −0 packages/js-client/CHANGELOG.md
  26. +2 −2 packages/js-client/package.json
  27. +14 −1 packages/js-client/src/index.ts
  28. +187 −8 packages/js-client/src/types.ts
  29. +1 −1 packages/opentelemetry-sdk-setup/tests/main.test.ts
  30. +2 −2 packages/opentelemetry-utils/tests/main.test.ts
  31. +7 −0 packages/zip-it-and-ship-it/CHANGELOG.md
  32. +4 −4 packages/zip-it-and-ship-it/package.json
  33. +3 −2 packages/zip-it-and-ship-it/tests/main.test.ts
4 changes: 2 additions & 2 deletions .github/workflows/typescript-nudge.yml
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ jobs:
if:
steps.changed-javascript-files.outputs.modified_files != '' ||
steps.changed-javascript-files.outputs.added_files != ''
uses: thollander/actions-comment-pull-request@v2
uses: thollander/actions-comment-pull-request@v3
with:
message: |
This pull request adds or modifies JavaScript (`.js`, `.cjs`, `.mjs`) files.
@@ -62,7 +62,7 @@ jobs:
contains(github.event.pull_request.labels.*.name, 'Adds or modifies js files') &&
steps.changed-javascript-files.outputs.modified_files == '' &&
steps.changed-javascript-files.outputs.added_files == ''
uses: thollander/actions-comment-pull-request@v2
uses: thollander/actions-comment-pull-request@v3
with:
message: |
~This pull request adds or modifies JavaScript (`.js`, `.cjs`, `.mjs`) files. Consider converting them to TypeScript.~
10 changes: 5 additions & 5 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"packages/build-info": "8.0.0",
"packages/build": "29.58.3",
"packages/build": "29.58.7",
"packages/edge-bundler": "12.3.2",
"packages/cache-utils": "5.2.0",
"packages/config": "20.21.3",
"packages/config": "20.21.6",
"packages/framework-info": "9.9.1",
"packages/functions-utils": "5.3.3",
"packages/functions-utils": "5.3.4",
"packages/git-utils": "5.2.0",
"packages/headers-parser": "7.3.0",
"packages/js-client": "13.3.0",
"packages/js-client": "13.3.2",
"packages/nock-udp": "3.2.0",
"packages/redirect-parser": "14.5.0",
"packages/run-utils": "5.2.0",
"packages/opentelemetry-sdk-setup": "1.2.0",
"packages/opentelemetry-utils": "1.3.0",
"packages/zip-it-and-ship-it": "9.42.3"
"packages/zip-it-and-ship-it": "9.42.4"
}
Loading