diff --git a/.CHANGELOG.md.swp b/.CHANGELOG.md.swp deleted file mode 100644 index 8a7380416a..0000000000 Binary files a/.CHANGELOG.md.swp and /dev/null differ diff --git a/.gitignore b/.gitignore index 2030a510f3..89d6ac70ff 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,6 @@ package.tgz .VSCodeCounter .env .vscode + +# Editor swap files +*.swp diff --git a/README.md b/README.md index a9a3134af2..53b2eb77d2 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,16 @@ This repository contains several packages: ## CDN bundle -https://static.flashcat.cloud/browser-sdk/v0/flashcat-rum.js +``` +https://static.flashcat.cloud/browser-sdk//flashcat-rum.js +``` + +`` is the release tag, `v` prefix included. The [SDK versions page][versions] is where to +look the current one up. Each release gets its own directory and earlier ones are never rewritten, +so a url serves the version it names. + +The earlier `/browser-sdk/v0/` path, named for the major version rather than the release, is no +longer updated. It still resolves, but stays at the release it last held. ## License Information @@ -31,6 +40,7 @@ This project is modified and distributed by flashcat under the Apache License 2. For complete license information, please refer to the [LICENSE](./LICENSE) file. +[versions]: https://docs.flashcat.cloud/en/rum/sdk/versions [18]: https://docs.flashcat.cloud/zh/flashduty/rum/introduction [01]: https://badge.fury.io/js/%40flashcatcloud%2Fbrowser-logs.svg [02]: https://badge.fury.io/js/%40flashcatcloud%2Fbrowser-logs diff --git a/packages/rum-legacy/README.md b/packages/rum-legacy/README.md index 6c06a134eb..e2e0886aa3 100644 --- a/packages/rum-legacy/README.md +++ b/packages/rum-legacy/README.md @@ -49,8 +49,9 @@ https://static.flashcat.cloud/browser-sdk//fc-rum-legacy.js https://static.flashcat.cloud/browser-sdk//flashcat-rum.js ``` -`` is the release tag, `v` prefix included. This build ships from `v0.1.0` onwards; the -directories of earlier releases exist but hold no `fc-rum-legacy.js`. +`` is the release tag, `v` prefix included. The [SDK versions page](https://docs.flashcat.cloud/en/rum/sdk/versions) is where to +look the current one up. This build ships from `v0.1.0` onwards; the directories of earlier +releases exist but hold no `fc-rum-legacy.js`. Each release gets its own directory and earlier ones are left as they were, so a url pins the version it names. Updating a self-hosted copy means pointing at the next release, not