Skip to content

Conversation

Copy link

Copilot AI commented Jan 22, 2026

Updates @alicloud/cdn20180510 from v7.0.2 to v8.0.0. The v8 SDK reorganized dependency structure while maintaining API compatibility.

Changes

  • SDK version: @alicloud/cdn20180510 7.0.2 → 8.0.0
  • Import sources updated:
    • Config: @alicloud/openapi-client@alicloud/openapi-core (via $OpenApiUtil.Config)
    • RuntimeOptions: @alicloud/tea-util@darabonba/typescript (via $dara.RuntimeOptions)
  • Dependency cleanup: Removed unused @alicloud/openapi-client
// Before
import { Config } from '@alicloud/openapi-client';
import { RuntimeOptions } from '@alicloud/tea-util';

this.client = new Client(new Config({ ... }));
let options = new RuntimeOptions();

// After
import { $OpenApiUtil } from '@alicloud/openapi-core';
import * as $dara from '@darabonba/typescript';

this.client = new Client(new $OpenApiUtil.Config({ ... }));
let options = new $dara.RuntimeOptions();

The RefreshObjectCachesRequest and refreshObjectCachesWithOptions APIs remain unchanged.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • cdn.aliyuncs.com
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/refresh-cdn-cache/refresh-cdn-cache/node_modules/.bin/jest --detectOpenHandles --forceExit (dns block)
  • registry.npmmirror.com
    • Triggering command: /usr/local/bin/node node /usr/local/bin/yarn install (dns block)
    • Triggering command: /usr/local/bin/node node /usr/local/bin/npm install (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

请帮我更新 阿里云 CDN sdk 到最新版,如果新版 SDK api 有变更,请一并修改调用方式。


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits January 22, 2026 09:18
…orts

Co-authored-by: DevDengChao <16363180+DevDengChao@users.noreply.github.com>
Co-authored-by: DevDengChao <16363180+DevDengChao@users.noreply.github.com>
Copilot AI changed the title [WIP] Update Alibaba Cloud CDN SDK to latest version Update Alibaba Cloud CDN SDK to v8.0.0 Jan 22, 2026
Copilot AI requested a review from DevDengChao January 22, 2026 09:22
@DevDengChao DevDengChao deleted the copilot/update-alicloud-cdn-sdk branch January 23, 2026 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants