Skip to content

Conversation

@IvanTechnicalWriter
Copy link
Contributor

@IvanTechnicalWriter IvanTechnicalWriter commented Sep 9, 2025

Summary
Switch generic example URLs in README from ucarecdn.com to demo.ucarecd.net.

Changes

  • Replaced all generic examples using ucarecdn.com with demo.ucarecd.net.
  • Left project-specific subdomain examples (xxxxx.ucarecdn.net) unchanged, since they reflect real user setups.
  • No edits to badges, logos, or screenshots.

Notes
Docs-only; scope is README. One commit only.

Resolves: DOCS-1156

Summary by CodeRabbit

  • Documentation
    • Updated README examples to use the demo.ucarecd.net delivery domain instead of ucarecdn.com.
    • Refreshed all sample URLs in Usage notes and example outputs (original file URLs, CDN URLs, “With subdomains” variants).
    • Updated group-related samples (group CDN URLs and file CDN URLs).
    • Synchronized all example outputs to the new domain; no functional changes.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 9, 2025

Walkthrough

README.md updated: all example CDN and file URLs changed from ucarecdn.com to demo.ucarecd.net across usage notes and code samples. No code, API, or behavioral changes.

Changes

Cohort / File(s) Summary
Docs: domain references
README.md
Replaced example CDN/file URLs and related sample outputs from ucarecdn.com to demo.ucarecd.net (usage notes, File and Group examples, “with subdomains” variants). Documentation-only change.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Pre-merge checks (3 passed)

✅ Passed checks (3 passed)
Check name Status Explanation
Title Check ✅ Passed The title succinctly summarizes the primary change by indicating an update to the README with subdomain examples, and it directly reflects the main documentation adjustment without extraneous details.
Description Check ✅ Passed The description accurately outlines the specific URL updates to the README, detailing the scope of changes, preserved content, and documentation context, making it directly relevant to the pull request.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.

Warning

Review ran into problems

🔥 Problems

Errors were encountered while retrieving linked issues.

Errors (1)
  • JIRA integration encountered authorization issues. Please disconnect and reconnect the integration in the CodeRabbit UI.

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • Jira integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 334ba16 and c114e57.

📒 Files selected for processing (1)
  • README.md (4 hunks)
✅ Files skipped from review due to trivial changes (1)
  • README.md
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch Docs-1156-libs-readme-subdomains

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
README.md (1)

129-140: Update subdomain example TLD to ucarecd.net (not ucarecdn.net).

Uploadcare’s current subdomain format uses ucarecd.net (no “n”). Adjust the “With subdomains” example accordingly. (uploadcare.com)

Apply this diff:

 # With subdomains enabled:
 # Uploadcare.config.use_subdomains = true
-# => "https://a1b2c3d4e5.ucarecdn.net/dc99200d-9bd6-4b43-bfa9-aa7bfaefca40/"
+# => "https://a1b2c3d4e5.ucarecd.net/dc99200d-9bd6-4b43-bfa9-aa7bfaefca40/"
🧹 Nitpick comments (1)
README.md (1)

113-113: Clarify legacy vs new CDN domains to prevent confusion.

Add a short note that legacy ucarecdn.com remains valid while new projects use per-project subdomains under ucarecd.net, per Uploadcare release notes (July 22, 2025). (uploadcare.com)

Apply this diff:

-In examples we’re going to use `demo.ucarecd.net` domain. Check your project's subdomain in the [Dashboard](https://app.uploadcare.com/projects/-/settings/#delivery).
+In examples we’re going to use `demo.ucarecd.net` domain. Legacy `ucarecdn.com` URLs continue to work; new projects use per‑project subdomains under `ucarecd.net`. Check your project's subdomain in the [Dashboard](https://app.uploadcare.com/projects/-/settings/#delivery).
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • Jira integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between f71a9be and 334ba16.

📒 Files selected for processing (1)
  • README.md (4 hunks)
🔇 Additional comments (3)
README.md (3)

131-136: LGTM: demo.ucarecd.net examples align with current CDN guidance.

The updated example URLs match the new demo/subdomain scheme. (uploadcare.com)


265-265: LGTM: original_file_url host matches demo.ucarecd.net.

Consistent with earlier examples and current docs. (uploadcare.com)


1-956: No stale domain references: all ucarecdn.net occurrences are intentional subdomain examples; no ucarecdn.com found.

Comment on lines 521 to 530
# Returns group's CDN URL
@group.cdn_url
# => "https://ucarecdn.com/group-id~2/"
# => "https://demo.ucarecd.net/group-id~2/"
# With subdomains: "https://a1b2c3d4e5.ucarecdn.net/group-id~2/"

# Returns CDN URLs of all files from group without API requesting
@group.file_cdn_urls
# => 'https://ucarecdn.com/0513dda0-582f-447d-846f-096e5df9e2bb~2/nth/0/'
# => 'https://demo.ucarecd.net/0513dda0-582f-447d-846f-096e5df9e2bb~2/nth/0/'
# # With subdomains: 'https://a1b2c3d4e5.ucarecdn.net/0513dda0-582f-447d-846f-096e5df9e2bb~2/nth/0/'
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Fix remaining subdomain examples to use ucarecd.net.

Two “With subdomains” examples still show ucarecdn.net; switch to ucarecd.net. (uploadcare.com)

Apply this diff:

 # Returns group's CDN URL
 @group.cdn_url
-# => "https://demo.ucarecd.net/group-id~2/"
-# With subdomains: "https://a1b2c3d4e5.ucarecdn.net/group-id~2/"
+# => "https://demo.ucarecd.net/group-id~2/"
+# With subdomains: "https://a1b2c3d4e5.ucarecd.net/group-id~2/"

 # Returns CDN URLs of all files from group without API requesting
 @group.file_cdn_urls
-# => 'https://demo.ucarecd.net/0513dda0-582f-447d-846f-096e5df9e2bb~2/nth/0/'
-# # With subdomains: 'https://a1b2c3d4e5.ucarecdn.net/0513dda0-582f-447d-846f-096e5df9e2bb~2/nth/0/'
+# => 'https://demo.ucarecd.net/0513dda0-582f-447d-846f-096e5df9e2bb~2/nth/0/'
+# # With subdomains: 'https://a1b2c3d4e5.ucarecd.net/0513dda0-582f-447d-846f-096e5df9e2bb~2/nth/0/'
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# Returns group's CDN URL
@group.cdn_url
# => "https://ucarecdn.com/group-id~2/"
# => "https://demo.ucarecd.net/group-id~2/"
# With subdomains: "https://a1b2c3d4e5.ucarecdn.net/group-id~2/"
# Returns CDN URLs of all files from group without API requesting
@group.file_cdn_urls
# => 'https://ucarecdn.com/0513dda0-582f-447d-846f-096e5df9e2bb~2/nth/0/'
# => 'https://demo.ucarecd.net/0513dda0-582f-447d-846f-096e5df9e2bb~2/nth/0/'
# # With subdomains: 'https://a1b2c3d4e5.ucarecdn.net/0513dda0-582f-447d-846f-096e5df9e2bb~2/nth/0/'
```
# Returns group's CDN URL
@group.cdn_url
# => "https://demo.ucarecd.net/group-id~2/"
# With subdomains: "https://a1b2c3d4e5.ucarecd.net/group-id~2/"
# Returns CDN URLs of all files from group without API requesting
@group.file_cdn_urls
# => 'https://demo.ucarecd.net/0513dda0-582f-447d-846f-096e5df9e2bb~2/nth/0/'
# # With subdomains: 'https://a1b2c3d4e5.ucarecd.net/0513dda0-582f-447d-846f-096e5df9e2bb~2/nth/0/'
🤖 Prompt for AI Agents
In README.md around lines 521 to 530, two “With subdomains” example URLs
incorrectly use ucarecdn.net; update both occurrences to use ucarecd.net instead
(i.e., change "https://a1b2c3d4e5.ucarecdn.net/..." to
"https://a1b2c3d4e5.ucarecd.net/...") so the subdomain examples match the
correct ucarecd.net domain.

README.md Outdated
@group.file_cdn_urls
# => 'https://ucarecdn.com/0513dda0-582f-447d-846f-096e5df9e2bb~2/nth/0/'
# => 'https://demo.ucarecd.net/0513dda0-582f-447d-846f-096e5df9e2bb~2/nth/0/'
# # With subdomains: 'https://a1b2c3d4e5.ucarecdn.net/0513dda0-582f-447d-846f-096e5df9e2bb~2/nth/0/'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should remove "with subdomains" part, because now it's with subdomains by default

@IvanTechnicalWriter IvanTechnicalWriter merged commit ca841a7 into main Sep 9, 2025
13 checks passed
@IvanTechnicalWriter IvanTechnicalWriter deleted the Docs-1156-libs-readme-subdomains branch September 9, 2025 12:54
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.

3 participants