Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: google/langextract
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.4
Choose a base ref
...
head repository: google/langextract
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.5
Choose a head ref
  • 20 commits
  • 18 files changed
  • 4 contributors

Commits on Aug 5, 2025

  1. build(deps): bump tj-actions/changed-files (#66)

    Bumps the github_actions group with 1 update in the /.github/workflows directory: [tj-actions/changed-files](https://github.com/tj-actions/changed-files).
    
    
    Updates `tj-actions/changed-files` from 44 to 46
    - [Release notes](https://github.com/tj-actions/changed-files/releases)
    - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
    - [Commits](tj-actions/changed-files@v44...v46)
    
    ---
    updated-dependencies:
    - dependency-name: tj-actions/changed-files
      dependency-version: '46'
      dependency-type: direct:production
      dependency-group: github_actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 5, 2025
    Configuration menu
    Copy the full SHA
    87beb4f View commit details
    Browse the repository at this point in the history
  2. Add PR validation workflows and update contribution guidelines (#74)

    - Add check-linked-issue.yml: Enforces that PRs reference issues with 5+ community reactions
    - Add check-pr-size.yml: Labels PRs by size and enforces 1000 line limit
    - Update CONTRIBUTING.md: Document new PR requirements and size guidelines
    - Include helpful error messages with links to contribution guidelines
    - Create a scalable system for maintaining code quality and review efficiency
    aksg87 authored Aug 5, 2025
    Configuration menu
    Copy the full SHA
    db140d1 View commit details
    Browse the repository at this point in the history
  3. Fix custom comment in linked issue check (#77)

    - Use specific version v1.2.7 of nearform action
    - Ensures custom-body parameter is properly recognized
    aksg87 authored Aug 5, 2025
    Configuration menu
    Copy the full SHA
    ed97f73 View commit details
    Browse the repository at this point in the history
  4. Add infrastructure file protection workflow (#76)

    * Add infrastructure file protection workflow
    
    - Prevents non-maintainers from modifying .github/ directory
    - Provides helpful guidance to use autoformat.sh for formatting
    - Updates CONTRIBUTING.md to document this restriction
    
    * Expand infrastructure protection to build config and core docs
    
    - Protect pyproject.toml, tox.ini, .pre-commit-config.yaml, .pylintrc, Dockerfile
    - Protect autoformat.sh, .gitignore, CONTRIBUTING.md, LICENSE, CITATION.cff
    - Update workflow name to 'Protect Infrastructure Files'
    - Simplify CONTRIBUTING.md language to be more general
    
    * Add note about special circumstances for build config changes
    
    Clarify that build configuration updates may be considered in special
    circumstances with proper discussion, testing evidence, and community support.
    aksg87 authored Aug 5, 2025
    Configuration menu
    Copy the full SHA
    ad1f27b View commit details
    Browse the repository at this point in the history
  5. Allow maintainers to bypass community support requirement

    - Add maintainer permission check to linked issue workflow
    - Maintainers (admin/maintain) can bypass 5+ thumbs up requirement
    - Provides informational logging when maintainer bypass is used
    aksg87 committed Aug 5, 2025
    Configuration menu
    Copy the full SHA
    41bc9ed View commit details
    Browse the repository at this point in the history
  6. Add manual trigger capability to validation workflows (#75)

    * Add workflow_dispatch trigger to validation workflows
    
    - Enable manual triggering for check-linked-issue, check-pr-size, and validate_pr_template
    - Add conditional logic to ensure PR-specific steps only run on PR events
    - Allows maintainers to manually trigger workflows when needed
    
    * Add manual trigger to infrastructure protection workflow
    
    - Add workflow_dispatch trigger
    - Add conditional logic for PR-specific checks
    - Ensures consistency across all validation workflows
    aksg87 authored Aug 5, 2025
    Configuration menu
    Copy the full SHA
    54e57db View commit details
    Browse the repository at this point in the history
  7. Fix fork PR labeling by using pull_request_target

    - Change from pull_request to pull_request_target in all validation workflows
    - This gives workflows proper permissions to add labels and comments on PRs from forks
    - Fixes 'Resource not accessible by integration' error (HTTP 403)
    - Safe because workflows only read PR metadata and don't execute PR code
    aksg87 committed Aug 5, 2025
    Configuration menu
    Copy the full SHA
    25ebc17 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2025

  1. Add workflow_dispatch trigger to CI workflow

    Enables manual triggering of CI workflow including live API tests.
    This allows maintainers to run live API tests for PRs from forks
    where the tests would normally be skipped for security reasons.
    aksg87 committed Aug 6, 2025
    Configuration menu
    Copy the full SHA
    1290d63 View commit details
    Browse the repository at this point in the history
  2. Add secure label-based testing for fork PRs

    Enables two ways to run live API tests:
    1. workflow_dispatch: Manual trigger via Actions tab
    2. Label trigger: Add 'ready-to-merge' label to any PR
    
    The label-based approach uses pull_request_target for security:
    - Runs in base repository context with access to secrets
    - Safely merges PR into main branch before testing
    - Only maintainers can trigger
    - Comments test results back to PR
    
    This provides a production-ready solution for testing PRs from forks
    while maintaining security, following patterns used by major projects.
    aksg87 committed Aug 6, 2025
    Configuration menu
    Copy the full SHA
    42687fc View commit details
    Browse the repository at this point in the history
  3. Add base_url to OpenAILanguageModel (#51)

    * Add base_url to OpenAILanguageModel
    
    * Github action lint is outdated, so adapting
    
    * Adding base_url to parameterized test
    
    * Lint fixes to inference_test.py
    mariano authored Aug 6, 2025
    Configuration menu
    Copy the full SHA
    234081e View commit details
    Browse the repository at this point in the history
  4. Fix validation workflows that were skipping all checks

    Bug: Workflows triggered on pull_request_target but checked for pull_request,
    causing all validations to be skipped.
    
    Fixed:
    - Event condition checks now match trigger type
    - Add manual revalidation workflow
    - Enable workflow_dispatch with PR number input
    aksg87 committed Aug 6, 2025
    Configuration menu
    Copy the full SHA
    46b4f0d View commit details
    Browse the repository at this point in the history
  5. Add commit status to revalidation workflow

    - Creates visible PR checks (pass/fail status)
    - Shows validation errors in status description (up to 140 chars)
    - Links to workflow run for full details
    - Maintains backward compatibility with comment reporting
    aksg87 committed Aug 6, 2025
    Configuration menu
    Copy the full SHA
    6fb66cf View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2025

  1. Fix boolean comparison in revalidation workflow

    The workflow was comparing boolean true to string 'true', causing all validations to incorrectly show as failed even when all checks passed.
    aksg87 committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    47a251e View commit details
    Browse the repository at this point in the history
  2. Add maintenance scripts for PR management

    - revalidate-all-prs.sh: Triggers manual validation for all open PRs
    - add-size-labels.sh: Adds size labels (XS/S/M/L/XL) based on change count
    - add-new-checks.sh: Adds required status checks to branch protection
    
    These scripts require maintainer permissions and help manage PR workflows.
    aksg87 committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    b28e673 View commit details
    Browse the repository at this point in the history
  3. Fix IPython import warnings and notebook detection (#86)

    - Add type ignore comments for IPython imports
    - Fix return type annotation (remove unnecessary quotes)
    - Add _is_jupyter() to properly detect notebook environments
    - Replace lambda with def function for pylint compliance
    
    Fixes #65
    aksg87 authored Aug 7, 2025
    Configuration menu
    Copy the full SHA
    6b02efb View commit details
    Browse the repository at this point in the history
  4. Fix CI to validate PR branch formatting directly

    - Add format-check job that checks actual PR code, not merge commit
    - Validate formatting before expensive fork PR tests
    - Provide clear error messages when formatting fails
    
    Fixes false positives where incorrectly formatted PRs passed CI
    aksg87 committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    e6dcc8e View commit details
    Browse the repository at this point in the history
  5. Add PR update automation workflows

    Auto-updates PRs behind main, handles forks/conflicts gracefully,
    skips bot/draft PRs, monitors API limits
    aksg87 committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    1c3c1a2 View commit details
    Browse the repository at this point in the history
  6. Fix workflow formatting

    - Apply end-of-file and whitespace fixes to workflows
    aksg87 committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    b60f0b2 View commit details
    Browse the repository at this point in the history
  7. Fix chunking bug and improve test documentation (#88)

    - Fix empty interval bug when newline falls at chunk boundary (issue #71)
    - Add concise comment explaining the fix logic
    - Remove excessive/obvious comments from chunking tests
    - Improve test docstring to be more descriptive and professional
    aksg87 authored Aug 7, 2025
    Configuration menu
    Copy the full SHA
    ea71754 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2025

  1. Bump version to 1.0.5

    aksg87 committed Aug 8, 2025
    Configuration menu
    Copy the full SHA
    b3bff86 View commit details
    Browse the repository at this point in the history
Loading