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

feat(HTTP Request Node): Determine binary file name from content-disposition headers #7032

Merged
merged 4 commits into from
Sep 6, 2023

Conversation

@github-actions
Copy link
Contributor

Great PR! Please pay attention to the following items before merging:

Files matching packages/**:

  • If fixing bug, added test to cover scenario.
  • If addressing forum or Github issue, added link to description.

Files matching packages/**/*.ts:

  • Added unit tests to cover new or updated functionality.

Files matching packages/nodes-base/nodes/**:

  • Added workflow tests for nodes if possible.

Make sure to check off this list before asking for review.

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team node/improvement New feature or request labels Aug 28, 2023
@netroy netroy force-pushed the response-contentDisposition branch from 6979c3a to 4ef01ac Compare August 28, 2023 13:37
@codecov
Copy link

codecov bot commented Aug 28, 2023

Codecov Report

Patch coverage: 38.63% and project coverage change: +0.05% 🎉

Comparison is base (cc37a50) 31.90% compared to head (6358ebe) 31.95%.
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7032      +/-   ##
==========================================
+ Coverage   31.90%   31.95%   +0.05%     
==========================================
  Files        3268     3268              
  Lines      197657   197662       +5     
  Branches    21528    21529       +1     
==========================================
+ Hits        63058    63165     +107     
+ Misses     133561   133444     -117     
- Partials     1038     1053      +15     
Files Changed Coverage Δ
packages/workflow/src/index.ts 100.00% <ø> (ø)
packages/core/src/NodeExecuteFunctions.ts 16.44% <24.13%> (-0.31%) ⬇️
...es-base/nodes/HttpRequest/V1/HttpRequestV1.node.ts 27.31% <60.00%> (+25.10%) ⬆️
...es-base/nodes/HttpRequest/V2/HttpRequestV2.node.ts 21.13% <60.00%> (+19.09%) ⬆️
...es-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts 33.33% <66.66%> (+4.09%) ⬆️
packages/cli/src/middlewares/bodyParser.ts 91.17% <100.00%> (+8.95%) ⬆️

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cypress
Copy link

cypress bot commented Sep 5, 2023

Passing run #2115 ↗︎

0 238 0 0 Flakiness 0

Details:

🌳 response-contentDisposition 🖥️ browsers:node18.12.0-chrome107 🤖 netroy 🗃️ ...
Project: n8n Commit: 6358ebef86
Status: Passed Duration: 07:11 💡
Started: Sep 6, 2023 10:26 AM Ended: Sep 6, 2023 10:33 AM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2023

✅ All Cypress E2E specs passed

@netroy netroy merged commit 273d091 into master Sep 6, 2023
31 checks passed
@netroy netroy deleted the response-contentDisposition branch September 6, 2023 10:38
@github-actions github-actions bot mentioned this pull request Sep 6, 2023
netroy added a commit that referenced this pull request Sep 6, 2023
# [1.6.0](https://github.com/n8n-io/n8n/compare/n8n@1.5.1...n8n@1.6.0)
(2023-09-06)


### Bug Fixes

* **core:** Add support for in-transit encryption (TLS) on Redis
connections ([#7047](#7047))
([a910757](a910757))
* **core:** Disallow orphan executions
([#7069](#7069))
([8a28e98](8a28e98))
* **core:** Split event bus controller into community and ee
([#7107](#7107))
([011ee2e](011ee2e))
* **editor:** Standardize save text
([#7093](#7093))
([58b3492](58b3492))
* Ensure all new executions are saved
([#7061](#7061))
([b8e06d2](b8e06d2))
* Load remote resources even if expressions in non requried parameters
resolve ([#6987](#6987))
([8a8d4e8](8a8d4e8))
* **Postgres Node:** Connection pool of the database object has been
destroyed ([#7074](#7074))
([9dd5f0e](9dd5f0e))
* **Postgres Node:** Tunnel doesn't always close
([#7087](#7087))
([58e55ba](58e55ba))


### Features

* **core:** Add list query middleware to credentials
([#7041](#7041))
([fd78021](fd78021))
* **core:** Add support for floating licenses
([#7090](#7090))
([e26553f](e26553f))
* **core:** Migration for soft deletions for executions
([#7088](#7088))
([413e0bc](413e0bc))
* **HTTP Request Node:** Determine binary file name from
content-disposition headers
([#7032](#7032))
([273d091](273d091))
* **TheHive Node:** Overhaul
([#6457](#6457))
([73e782e](73e782e))

Co-authored-by: netroy <netroy@users.noreply.github.com>
@janober
Copy link
Member

janober commented Sep 6, 2023

Got released with n8n@1.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team node/improvement New feature or request Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants