Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): pulling release/3.1.0 into main #1657

Closed
wants to merge 12 commits into from

Conversation

devops-github-rudderstack
Copy link
Contributor

@devops-github-rudderstack devops-github-rudderstack commented Mar 21, 2024

👑 An automated PR

Summary by CodeRabbit

  • New Features

    • Introduced a new version 0.0.1 for the analytics-js-common package with significant updates.
    • Updated dependencies across various packages to enhance functionality and compatibility.
  • Documentation

    • Corrected the capitalization of "JavaScript" across multiple README.md files for consistency and clarity.
    • Updated change logs and documentation to reflect the new version releases and dependency updates.
  • Chores

    • Updated GitHub Actions workflows for deployment and security checks, improving efficiency and reliability.
    • Modified the list of code owners to reflect current project maintainers.
  • Refactor

    • Renamed steps in deployment workflows for clearer understanding and consistency.
    • Updated URLs and paths in the codebase to point to production versions, enhancing reliability.
  • Bug Fixes

    • Adjusted CDN path assertion in tests to align with updated URLs, ensuring accurate testing outcomes.

saikumarrs and others added 12 commits March 18, 2024 16:49
… test (#1654)

* chore: default constant for plugins and integrations base url updated

* chore: updated beta path in unit test
* feat: remove beta status for all the packages

* fix: mono repo version bump

* chore: remove beta status from package version

* chore: use user group for code owners

* chore: use github runner for publishing new releases

* chore: fix inconsistencies in github workflows

* fix: dependency chain across all the packages and typos

* fix: reset the crypto-es version

* fix: crypto-js, crypto-es and vulnerable versions

* chore: upgrade size-limit action to the latest version
Copy link
Contributor

coderabbitai bot commented Mar 21, 2024

Walkthrough

The recent updates primarily focus on renaming steps in GitHub workflows for clarity, updating dependencies across various packages, and correcting the capitalization of "JavaScript" in documentation. A significant version change is noted in the analytics-js-common package, alongside adjustments in testing and URL updates for production readiness. These refinements enhance the project's structure, ensuring consistency and the latest support for its components.

Changes

File Path Change Summary
.github/workflows/deploy-*.yml Renamed steps for syncing files to S3 and sending messages to Slack. Updated comments and step names for clarity.
.github/workflows/publish-new-release.yml Changed the OS for job execution to ubuntu-latest.
.github/workflows/security-code-quality-and-bundle-size-checks.yml Updated github-action-check-size-limit action version to v2.10.0.
CODEOWNERS Modified owners list for a directory.
packages/analytics-js-*/CHANGELOG.md, CHANGELOG_LATEST.md Introduced new versions and updated dependencies. Corrected "Javascript" to "JavaScript".
packages/analytics-js-*/README.md Corrected "Javascript" to "JavaScript" in descriptions.
packages/analytics-js/__tests__/.../cdnPaths.test.ts, src/constants/urls.ts Updated CDN path assertion and URLs to production versions.
sonar-project.properties Updated sonar.projectVersion to 3.1.0-beta.29.

🐰✨
In the land of code and might,
A rabbit hopped through the night.
With each leap and bound,
Bugs were fixed, updates found.
"To JavaScript," it cheered with delight,
As the project shone, ever so bright.
🌟📦🌙

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share

Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit-tests for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit tests for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit tests.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

@saikumarrs
Copy link
Member

Invalid PR. Hence, closing it.

@saikumarrs saikumarrs closed this Mar 21, 2024
@saikumarrs saikumarrs deleted the release/3.1.0 branch March 21, 2024 06:44
Copy link

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.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 2d804a5 and 5bd1e13.
Files ignored due to path filters (18)
  • migrations.json is excluded by: !**/*.json
  • package-lock.json is excluded by: !**/*.json
  • package.json is excluded by: !**/*.json
  • packages/analytics-js-common/package.json is excluded by: !**/*.json
  • packages/analytics-js-common/project.json is excluded by: !**/*.json
  • packages/analytics-js-integrations/package.json is excluded by: !**/*.json
  • packages/analytics-js-integrations/project.json is excluded by: !**/*.json
  • packages/analytics-js-plugins/package.json is excluded by: !**/*.json
  • packages/analytics-js-plugins/project.json is excluded by: !**/*.json
  • packages/analytics-js-service-worker/package.json is excluded by: !**/*.json
  • packages/analytics-js/package.json is excluded by: !**/*.json
  • packages/analytics-js/project.json is excluded by: !**/*.json
  • packages/analytics-v1.1/package.json is excluded by: !**/*.json
  • packages/analytics-v1.1/project.json is excluded by: !**/*.json
  • packages/loading-scripts/package.json is excluded by: !**/*.json
  • packages/loading-scripts/project.json is excluded by: !**/*.json
  • packages/sanity-suite/package.json is excluded by: !**/*.json
  • packages/sanity-suite/project.json is excluded by: !**/*.json
Files selected for processing (29)
  • .github/workflows/deploy-npm.yml (2 hunks)
  • .github/workflows/deploy-prod.yml (6 hunks)
  • .github/workflows/deploy-staging.yml (1 hunks)
  • .github/workflows/publish-new-release.yml (1 hunks)
  • .github/workflows/security-code-quality-and-bundle-size-checks.yml (1 hunks)
  • CODEOWNERS (1 hunks)
  • packages/analytics-js-common/CHANGELOG.md (1 hunks)
  • packages/analytics-js-common/CHANGELOG_LATEST.md (1 hunks)
  • packages/analytics-js-common/README.md (1 hunks)
  • packages/analytics-js-integrations/CHANGELOG.md (1 hunks)
  • packages/analytics-js-integrations/CHANGELOG_LATEST.md (1 hunks)
  • packages/analytics-js-integrations/README.md (1 hunks)
  • packages/analytics-js-plugins/CHANGELOG.md (1 hunks)
  • packages/analytics-js-plugins/CHANGELOG_LATEST.md (1 hunks)
  • packages/analytics-js-plugins/README.md (1 hunks)
  • packages/analytics-js-service-worker/README.md (1 hunks)
  • packages/analytics-js/CHANGELOG.md (1 hunks)
  • packages/analytics-js/CHANGELOG_LATEST.md (1 hunks)
  • packages/analytics-js/README.md (1 hunks)
  • packages/analytics-js/tests/components/configManager/cdnPaths.test.ts (1 hunks)
  • packages/analytics-js/src/constants/urls.ts (1 hunks)
  • packages/analytics-v1.1/CHANGELOG.md (1 hunks)
  • packages/analytics-v1.1/CHANGELOG_LATEST.md (1 hunks)
  • packages/loading-scripts/CHANGELOG.md (1 hunks)
  • packages/loading-scripts/CHANGELOG_LATEST.md (1 hunks)
  • packages/loading-scripts/README.md (1 hunks)
  • packages/sanity-suite/CHANGELOG.md (1 hunks)
  • packages/sanity-suite/README.md (1 hunks)
  • sonar-project.properties (1 hunks)
Files skipped from review due to trivial changes (16)
  • packages/analytics-js-common/README.md
  • packages/analytics-js-integrations/CHANGELOG.md
  • packages/analytics-js-integrations/README.md
  • packages/analytics-js-plugins/CHANGELOG.md
  • packages/analytics-js-plugins/CHANGELOG_LATEST.md
  • packages/analytics-js-plugins/README.md
  • packages/analytics-js-service-worker/README.md
  • packages/analytics-js/CHANGELOG.md
  • packages/analytics-js/README.md
  • packages/analytics-v1.1/CHANGELOG.md
  • packages/analytics-v1.1/CHANGELOG_LATEST.md
  • packages/loading-scripts/CHANGELOG.md
  • packages/loading-scripts/README.md
  • packages/sanity-suite/CHANGELOG.md
  • packages/sanity-suite/README.md
  • sonar-project.properties
Additional comments: 22
CODEOWNERS (1)
  • 1-1: The update to the CODEOWNERS file, assigning @rudderlabs/js-sdk as the owner for the /packages/analytics-js-integrations/ directory, is clear and makes sense for organizational purposes. Ensure that all relevant parties are aware of this change.
packages/analytics-js-common/CHANGELOG_LATEST.md (1)
  • 1-1: The version update in CHANGELOG_LATEST.md from 3.0.0-beta.19 to 0.0.1 is noted. Please confirm that this version change aligns with the intended versioning strategy for the project.
packages/analytics-js-integrations/CHANGELOG_LATEST.md (1)
  • 1-5: The version update to 0.0.1 and the dependency update for @rudderstack/analytics-js-common to version 0.0.1 in CHANGELOG_LATEST.md are consistent with project-wide updates. Please ensure that these dependency updates are correctly reflected in the package.json files.
packages/loading-scripts/CHANGELOG_LATEST.md (1)
  • 1-5: The version update to 0.0.1 and the dependency update for @rudderstack/analytics-js to version 0.0.1 in CHANGELOG_LATEST.md are part of the project-wide updates. Please ensure that these dependency updates are correctly reflected in the package.json files.
packages/analytics-js/CHANGELOG_LATEST.md (1)
  • 1-6: The version update to 0.0.1 and the dependency updates for @rudderstack/analytics-js-common and @rudderstack/analytics-js-plugins to version 0.0.1 in CHANGELOG_LATEST.md are consistent with the project-wide updates. Please ensure that these dependency updates are correctly reflected in the package.json files and check for any compatibility issues.
packages/analytics-js/src/constants/urls.ts (1)
  • 7-8: The update to use production URLs instead of beta versions in urls.ts is a significant step towards ensuring stability. Please ensure thorough testing is conducted to verify that the SDK functions as expected with these new URLs.
.github/workflows/security-code-quality-and-bundle-size-checks.yml (1)
  • 26-26: Updating the github-action-check-size-limit action to v2.10.0 in the workflow is a good practice. Please ensure that this new version is fully compatible with the existing workflow and does not introduce any issues.
packages/analytics-js/__tests__/components/configManager/cdnPaths.test.ts (1)
  • 64-64: The update to use the dummyVersion variable directly in cdnPaths.test.ts, instead of a hardcoded beta version, is a good improvement for test maintainability. Please ensure that all tests pass with this new configuration.
.github/workflows/publish-new-release.yml (1)
  • 16-16: Switching to ubuntu-latest simplifies runner management. Ensure all dependencies and tools required by the workflow are available in the ubuntu-latest environment.
.github/workflows/deploy-staging.yml (3)
  • 72-72: Renaming steps for syncing files to S3 improves clarity and maintainability. Good practice.
  • 80-80: Updating the Cloudfront invalidation step name enhances clarity. Consistent with best practices.
  • 85-85: Adjusting step names for syncing files to the S3 v1.1 staging directory is a positive change for readability.
.github/workflows/deploy-npm.yml (2)
  • 21-21: Switching to ubuntu-latest for NPM deployment simplifies runner management. Ensure compatibility with the ubuntu-latest environment.
  • 75-75: Modifying the step name for sending a message to the Slack channel improves clarity. Good practice.
packages/analytics-js-common/CHANGELOG.md (2)
  • 5-5: The introduction of version 0.0.1 marks a significant reset or change in the versioning strategy. Ensure that this versioning change is intentional and communicated clearly to users, as it might cause confusion given the previous versioning scheme (3.0.0-beta.19).
  • 2-9: > 📝 NOTE

This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [6-172]

Ensure that all relevant changes, features, and bug fixes introduced in version 0.0.1 are documented in the changelog. Given the significant version reset, it's crucial to provide users with comprehensive information about what has changed.

.github/workflows/deploy-prod.yml (6)
  • 98-98: The step renaming from "Sync files to S3 v3 folder" to "Sync files to S3" simplifies the naming and removes the version-specific reference, which could make the workflow more maintainable in the long run.
  • 110-110: Renaming "Sync files to S3 v3 versioned folder" to "Sync files to S3 versioned directory" improves consistency in terminology (using "directory" instead of "folder"). This change aligns with common terminology in documentation and code comments.
  • 122-122: The comment update from "unused '/latest' folder" to "unused '/latest' directory" maintains consistency in terminology across the workflow file. It's a minor change but contributes to overall readability and clarity.
  • 137-137: Renaming the step for sending messages to the Slack channel removes the version-specific reference ("v3"), which could be beneficial for future workflow adjustments. This change might also simplify the process of updating the workflow for subsequent releases.
  • 172-172: The step renaming from "Sync files to S3 v1.1 folder" to "Sync files to S3 v1.1 directory" is consistent with the changes made for the v3 steps, improving overall consistency in the workflow file.
  • 187-187: Renaming "Sync files to S3 v1.1 versioned folder" to "Sync files to S3 v1.1 versioned directory" aligns with the terminology adjustments made in other parts of the workflow. This consistency in terminology is crucial for maintainability and readability.

Copy link

size-limit report 📦

Name Size (Base) Size (Current) Size Limit Status
Common Code - No bundling 15.81 KB 15.81 KB (0%) 16.5 KB
Remote Module Federation Mapping - CDN 330 B 330 B (0%) 512 B
Remote Module Federated Plugins - CDN 5.71 KB 5.71 KB (0%) 6 KB
Core ESM - NPM 7.64 KB 7.64 KB (-0.03% ▼) 8 KB
Core CJS - NPM 22.43 KB 22.44 KB (+0.02% ▲) 23 KB
Core - NPM 22.6 KB 22.56 KB (-0.2% ▼) 23 KB
Core Legacy - CDN 42.88 KB 42.89 KB (+0.04% ▲) 44 KB
Core - CDN 22.7 KB 22.68 KB (-0.07% ▼) 23 KB
Core (legacy build) - CDN - v1.1 31.54 KB 31.45 KB (-0.27% ▼) 32 KB
Core - NPM - v1.1 31.52 KB 31.5 KB (-0.09% ▼) 32 KB
Service Worker Module 22.64 KB 22.64 KB (0%) 24 KB
All Integrations (legacy build) - CDN 98.57 KB 98.57 KB (0%) 105 KB

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.

4 participants