Skip to content

Conversation

@hpouillot
Copy link
Contributor

Changes

  • remove outdate release instructions on posthog-js

@hpouillot hpouillot requested a review from daibhin July 30, 2025 17:25
@vercel
Copy link

vercel bot commented Jul 30, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
posthog-js ✅ Ready (Inspect) Visit Preview Jul 30, 2025 5:29pm

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

Greptile Summary

This PR removes outdated release instructions from the browser package README, cleaning up 33 lines of deprecated documentation. The removed content included manual NPM publishing workflows, prerelease instructions using NPM CLI commands, and alpha release automation details that are no longer relevant.

The change aligns the browser package documentation with the monorepo's current release process. Based on the root RELEASING.md file and the presence of changesets configuration in the codebase, PostHog has migrated from manual release processes to an automated changeset-based workflow. The removed instructions described a deprecated system involving PR labels for version bumping and manual NPM publishing, which would conflict with the current automated release system.

This cleanup ensures developers are directed to use the proper changeset workflow described in the root documentation, maintaining consistency across all packages in the monorepo. The change also fixes a minor trailing whitespace issue on line 6 of the README.

Confidence score: 5/5

  • This PR is extremely safe to merge as it only removes outdated documentation without affecting any code functionality.
  • The removed instructions were deprecated and potentially harmful if followed, so their removal prevents confusion and improper release practices.
  • No files need additional attention - this is a straightforward documentation cleanup.

1 file reviewed, no comments

Edit Code Review Bot Settings | Greptile

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

Size Change: 0 B

Total Size: 4.73 MB

ℹ️ View Unchanged
Filename Size
packages/ai/dist/anthropic/index.cjs 10.2 kB
packages/ai/dist/anthropic/index.mjs 10 kB
packages/ai/dist/gemini/index.cjs 10.3 kB
packages/ai/dist/gemini/index.mjs 10.1 kB
packages/ai/dist/index.cjs 89.3 kB
packages/ai/dist/index.mjs 88.6 kB
packages/ai/dist/langchain/index.cjs 35.2 kB
packages/ai/dist/langchain/index.mjs 34.6 kB
packages/ai/dist/openai/index.cjs 17.7 kB
packages/ai/dist/openai/index.mjs 17.5 kB
packages/ai/dist/vercel/index.cjs 16.2 kB
packages/ai/dist/vercel/index.mjs 16.2 kB
packages/browser/dist/all-external-dependencies.js 221 kB
packages/browser/dist/array.full.es5.js 309 kB
packages/browser/dist/array.full.js 372 kB
packages/browser/dist/array.full.no-external.js 390 kB
packages/browser/dist/array.js 172 kB
packages/browser/dist/array.no-external.js 187 kB
packages/browser/dist/crisp-chat-integration.js 1.97 kB
packages/browser/dist/customizations.full.js 15.9 kB
packages/browser/dist/dead-clicks-autocapture.js 12.6 kB
packages/browser/dist/exception-autocapture.js 9.55 kB
packages/browser/dist/external-scripts-loader.js 2.57 kB
packages/browser/dist/intercom-integration.js 2.02 kB
packages/browser/dist/main.js 173 kB
packages/browser/dist/module.full.js 373 kB
packages/browser/dist/module.full.no-external.js 390 kB
packages/browser/dist/module.js 172 kB
packages/browser/dist/module.no-external.js 188 kB
packages/browser/dist/posthog-recorder.js 207 kB
packages/browser/dist/recorder-v2.js 113 kB
packages/browser/dist/recorder.js 113 kB
packages/browser/dist/surveys-preview.js 70.8 kB
packages/browser/dist/surveys.js 79.2 kB
packages/browser/dist/tracing-headers.js 1.81 kB
packages/browser/dist/web-vitals.js 10.4 kB
packages/browser/react/dist/esm/index.js 14.7 kB
packages/browser/react/dist/umd/index.js 17.3 kB
packages/core/dist/eventemitter.js 1.78 kB
packages/core/dist/eventemitter.mjs 571 B
packages/core/dist/featureFlagUtils.js 7.56 kB
packages/core/dist/featureFlagUtils.mjs 5.34 kB
packages/core/dist/gzip.js 1.95 kB
packages/core/dist/gzip.mjs 650 B
packages/core/dist/index.js 71.7 kB
packages/core/dist/index.mjs 60.3 kB
packages/core/dist/testing/index.js 2.93 kB
packages/core/dist/testing/index.mjs 79 B
packages/core/dist/testing/PostHogCoreTestClient.js 3.5 kB
packages/core/dist/testing/PostHogCoreTestClient.mjs 2.11 kB
packages/core/dist/testing/test-utils.js 2.35 kB
packages/core/dist/testing/test-utils.mjs 783 B
packages/core/dist/types.js 7.67 kB
packages/core/dist/types.mjs 5.56 kB
packages/core/dist/utils.js 3.91 kB
packages/core/dist/utils.mjs 1.76 kB
packages/core/dist/vendor/uuidv7.js 8.57 kB
packages/core/dist/vendor/uuidv7.mjs 7 kB
packages/nextjs-config/dist/index.js 10.8 kB
packages/nextjs-config/dist/index.mjs 8.98 kB
packages/node/dist/edge/index.cjs 81.3 kB
packages/node/dist/edge/index.mjs 81.2 kB
packages/node/dist/node/index.cjs 96.2 kB
packages/node/dist/node/index.mjs 96 kB
packages/react-native/dist/autocapture.js 4.68 kB
packages/react-native/dist/frameworks/wix-navigation.js 1.3 kB
packages/react-native/dist/hooks/useFeatureFlag.js 1.49 kB
packages/react-native/dist/hooks/useFeatureFlags.js 821 B
packages/react-native/dist/hooks/useNavigationTracker.js 2.46 kB
packages/react-native/dist/hooks/usePostHog.js 467 B
packages/react-native/dist/index.js 3.12 kB
packages/react-native/dist/native-deps.js 12.2 kB
packages/react-native/dist/optional/OptionalAsyncStorage.js 299 B
packages/react-native/dist/optional/OptionalExpoApplication.js 377 B
packages/react-native/dist/optional/OptionalExpoDevice.js 347 B
packages/react-native/dist/optional/OptionalExpoFileSystem.js 386 B
packages/react-native/dist/optional/OptionalExpoLocalization.js 383 B
packages/react-native/dist/optional/OptionalReactNativeDeviceInfo.js 415 B
packages/react-native/dist/optional/OptionalReactNativeLocalize.js 303 B
packages/react-native/dist/optional/OptionalReactNativeNavigation.js 415 B
packages/react-native/dist/optional/OptionalReactNativeNavigationWix.js 443 B
packages/react-native/dist/optional/OptionalReactNativeSafeArea.js 644 B
packages/react-native/dist/optional/OptionalSessionReplay.js 455 B
packages/react-native/dist/posthog-rn.js 28.7 kB
packages/react-native/dist/PostHogContext.js 329 B
packages/react-native/dist/PostHogProvider.js 4.77 kB
packages/react-native/dist/storage.js 3.39 kB
packages/react-native/dist/surveys/components/BottomSection.js 1.34 kB
packages/react-native/dist/surveys/components/Cancel.js 909 B
packages/react-native/dist/surveys/components/ConfirmationMessage.js 1.63 kB
packages/react-native/dist/surveys/components/QuestionHeader.js 1.11 kB
packages/react-native/dist/surveys/components/QuestionTypes.js 10.1 kB
packages/react-native/dist/surveys/components/SurveyModal.js 3.95 kB
packages/react-native/dist/surveys/components/Surveys.js 6.17 kB
packages/react-native/dist/surveys/getActiveMatchingSurveys.js 3.06 kB
packages/react-native/dist/surveys/icons.js 7.76 kB
packages/react-native/dist/surveys/index.js 600 B
packages/react-native/dist/surveys/PostHogSurveyProvider.js 5.61 kB
packages/react-native/dist/surveys/surveys-utils.js 5.59 kB
packages/react-native/dist/surveys/useActivatedSurveys.js 3.38 kB
packages/react-native/dist/surveys/useSurveyStorage.js 2.16 kB
packages/react-native/dist/types.js 70 B
packages/react-native/dist/version.js 129 B
packages/react/dist/esm/index.js 14.7 kB
packages/react/dist/umd/index.js 17.3 kB
packages/web/dist/index.cjs 13.8 kB
packages/web/dist/index.mjs 13.7 kB
tooling/rollup-utils/dist/index.js 1.17 kB

compressed-size-action

@hpouillot hpouillot enabled auto-merge (squash) July 30, 2025 17:29
@hpouillot hpouillot merged commit a598ce2 into main Jul 31, 2025
37 of 41 checks passed
@hpouillot hpouillot deleted the clean-release-instructions branch July 31, 2025 08:29
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