Skip to content

chore: remove propertyList class and update comments on ReadOnlyPropertyList - #9767

Merged
vijayh-bruno merged 1 commit into
usebruno:mainfrom
morsh-bruno:chore/property-list-cleanup
Nov 5, 2026
Merged

vijayh-bruno merged 1 commit into
usebruno:mainfrom
morsh-bruno:chore/property-list-cleanup

Conversation

@morsh-bruno

@morsh-bruno morsh-bruno commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

This PR removes the unused PropertyList class and update its reference in ReadOnlyPropertyList's comment section.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Publishing to New Package Managers

Please see here for more information.

Summary by CodeRabbit

  • Bug Fixes
    • Removed the mutable property list capability.

@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request deletes PropertyList and its test suite. It also updates the ReadOnlyPropertyList documentation to describe static and dynamic sources and list CookieList in the hierarchy.

Changes

PropertyList removal

Layer / File(s) Summary
Remove PropertyList
packages/bruno-js/src/property-list.js, packages/bruno-js/src/readonly-property-list.js, packages/bruno-js/tests/property-list.spec.js
The PropertyList implementation and its tests are deleted. The ReadOnlyPropertyList documentation describes static items as copied into an internal array, distinguishes live and snapshot dynamic sources, and lists CookieList in the hierarchy.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related PRs

  • usebruno/bruno#9596: Adds JSDoc for PropertyList and ReadOnlyPropertyList, including annotations for methods in the class removed here.
  • usebruno/bruno#9725: Documents PropertyList and ReadOnlyPropertyList through JSDoc and generated Script API metadata.
  • usebruno/bruno#9739: Changes CookieList to extend ReadOnlyPropertyList instead of PropertyList.

Suggested labels: size/L

Merge Risk: Minimal · up to 132f7

The removal is self-contained within the inspected repository, with no identified merge-blocking impact.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the two changes in the PR: removing the unused PropertyList class and updating comments on ReadOnlyPropertyList. The raw summary confirms the deletion of property-list.js and its spec …
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the two changes in the PR: removing the unused PropertyList class and updating comments on ReadOnlyPropertyList. The raw summary confirms the deletion of property-list.js and its spec file, and the comment/hierarchy update in readonly-property-list.js. The title is specific and accurate. The conventional "chore:" prefix is acceptable. At 76 characters, it is slightly long but within normal limits and readable.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

A list steps out of view
Its tests and methods follow
Static copies stay described
Dynamic sources gain their names
CookieList takes its place in line

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 31ccaf2 and 132f733.

Files selected for processing: 3

  • packages/bruno-js/src/property-list.js
  • packages/bruno-js/src/readonly-property-list.js
  • packages/bruno-js/tests/property-list.spec.js
Files with no reviewable changes: 2

  • packages/bruno-js/src/property-list.js
  • packages/bruno-js/tests/property-list.spec.js

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@vijayh-bruno
vijayh-bruno merged commit 171671b into usebruno:main Nov 5, 2026
13 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants