RRelease Botchore(release): 0.71.7
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat(functions): support for http trigger (#7250) Functions with http trigger can now compile, be deployed and executed. `debounce` and `subscriptions` support for http trigger is not yet enabled. The shape of trigger is now zod validated. Once this PR land and CLI released, it would be possible to write, deploy and execute action-like functions Example of function that can be run: ```ts import { createFunction } from 'nango/experimental'; import * as z from 'zod'; export default createFunction({ description: '10x', trigger: { kind: 'http', }, input: z.object({ n: z.number(), }), output: z.object({ tenTimes: z.number(), }), exec: async (nango, trigger) => { nango.setLogger({ level: 'debug' }); await nango.log('Hello World!'); await nango.log('Trigger: ' + JSON.stringify(trigger)); const tenTimes = trigger.input.n * 10 await nango.log('Result: ' + tenTimes); return { tenTimes } } }); ``` <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/NangoHQ/nango/pull/7250?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. --> | 17 天前 | |
feat(integrations): refractor apple-app-store and use JWT method instead (#6955) ## Describe the problem and your solution - `apple-app-store` used a bespoke `APP_STORE` auth mode that has been broken since it was originally introduced in #1464: it signed a JWT and then POSTed it to `https://api.appstoreconnect.apple.com/v1/apps` expecting a token back (`createCredentialsFromURL`). But App Store Connect has no token-exchange endpoint — the signed JWT *is* the access token, used directly as the Bearer credential on every request — and `/v1/apps` is a GET-only "list apps" endpoint, not something you can trade a JWT against. `tokenResponse.token` was always `undefined`, so no connection using this auth mode could ever have worked. - I checked prod and there are zero active `apple-app-store` connections, so there's no migration path to worry about, this removes the broken auth mode outright instead of patching it, and uses an auth mode we are currently using with other providers. <!-- Issue ticket number and link (if applicable) --> <!-- Testing instructions (skip if just adding/editing providers) --> <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/NangoHQ/nango/pull/6955?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. --> --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 1 个月前 | |
chore(release): 0.71.7 | 2 天前 | |
feat(egress): introduce egress package (#6615) Add @nangohq/egress as the canonical implementation and point existing denylist code at it, with identical runtime behavior for callers. | 2 个月前 |