Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 24, 2022

Bumps responses from 0.21.0 to 0.22.0.

Release notes

Sourced from responses's releases.

0.22.0

  • Update requests dependency to the version of 2.22.0 or higher. See #584.
  • [BETA] Added possibility to record responses to TOML files via @_recorder.record(file_path="out.toml") decorator.
  • [BETA] Added possibility to replay responses (populate registry) from TOML files via responses._add_from_file(file_path="out.toml") method.
  • Fix type for the mock's patcher object. See #556
  • Fix type annotation for CallList
  • Add passthrough argument to BaseResponse object. See #557
  • Fix registries leak. See #563
  • OriginalResponseShim is removed. See #585
  • Add support for the loose version of json_params_matcher via named argument strict_match. See #551
  • Add lists support as JSON objects in json_params_matcher. See #559
  • Added project links to pypi listing.
  • delete, get, head, options, patch, post, put shortcuts are now implemented using functools.partialmethod.
  • Fix MaxRetryError exception. Replace exception by RetryError according to requests implementation. See #572.
  • Adjust error message when Retry is exhausted. See #580.
Changelog

Sourced from responses's changelog.

0.22.0

  • Update requests dependency to the version of 2.22.0 or higher. See #584.
  • [BETA] Added possibility to record responses to TOML files via @_recorder.record(file_path="out.toml") decorator.
  • [BETA] Added possibility to replay responses (populate registry) from TOML files via responses._add_from_file(file_path="out.toml") method.
  • Fix type for the mock's patcher object. See #556
  • Fix type annotation for CallList
  • Add passthrough argument to BaseResponse object. See #557
  • Fix registries leak. See #563
  • OriginalResponseShim is removed. See #585
  • Add support for the loose version of json_params_matcher via named argument strict_match. See #551
  • Add lists support as JSON objects in json_params_matcher. See #559
  • Added project links to pypi listing.
  • delete, get, head, options, patch, post, put shortcuts are now implemented using functools.partialmethod.
  • Fix MaxRetryError exception. Replace exception by RetryError according to requests implementation. See #572.
  • Adjust error message when Retry is exhausted. See #580.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [responses](https://github.com/getsentry/responses) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/getsentry/responses/releases)
- [Changelog](https://github.com/getsentry/responses/blob/master/CHANGES)
- [Commits](getsentry/responses@0.21.0...0.22.0)

---
updated-dependencies:
- dependency-name: responses
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 24, 2022
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (main@cb6f7c8). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #4   +/-   ##
=======================================
  Coverage        ?   66.19%           
=======================================
  Files           ?       47           
  Lines           ?     1855           
  Branches        ?        0           
=======================================
  Hits            ?     1228           
  Misses          ?      627           
  Partials        ?        0           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@JSv4 JSv4 merged commit 49f2381 into main Oct 24, 2022
@JSv4 JSv4 deleted the dependabot/pip/responses-0.22.0 branch October 24, 2022 06:05
@claude claude bot mentioned this pull request Nov 4, 2025
JSv4 added a commit that referenced this pull request Dec 7, 2025
Critical Issue #1 - Data Integrity:
- Add CheckConstraint to Annotation model ensuring annotations in
  structural_set must have structural=True (enforces assumption in
  query_optimizer.py:207-209)
- Add same constraint to Relationship model for consistency
- Add migration 0050 for the new database constraints
- Add 6 test cases in test_structural_annotation_sets.py

Critical Issue #2 - IDOR Prevention:
- Fix CreateThreadMessageMutation to check permissions BEFORE checking
  locked status (prevents information disclosure via different error msgs)
- Fix ReplyToMessageMutation with same pattern
- Use generic "Cannot post/reply in this thread" for both cases

Issue #4 - Frontend Test Configuration:
- Add --reporter=list to test:ct script in package.json to prevent
  test hanging as documented in CLAUDE.md
JSv4 added a commit that referenced this pull request Jan 2, 2026
- Add FILE_SIZE and TIME_UNITS constants to constants.ts
- Create formatters.ts with shared formatting utilities:
  - formatFileSize: Human-readable file size formatting
  - formatRelativeTime: Relative time formatting (e.g., "5 hours ago")
  - formatCompactRelativeTime: Compact format for activity feeds
  - getInitials: Extract initials from name/email for avatars
- Update Documents.tsx to use shared utilities
- Remove duplicate helper functions from Documents.tsx

This addresses CLAUDE.md Critical Concept #4 (no magic numbers) and
improves DRY compliance by consolidating formatting logic.
JSv4 added a commit that referenced this pull request Jan 2, 2026
- Add concept #6: Utility functions belong in utility files
- Remind agents to check existing utils before writing new ones
- Guide agents to extract inline utilities during code review
- Update concept #4 to reference both backend and frontend constants
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants