-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Comparing changes
Open a pull request
base repository: google/langextract
base: v1.0.4
head repository: google/langextract
compare: v1.0.5
- 20 commits
- 18 files changed
- 4 contributors
Commits on Aug 5, 2025
-
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>
Configuration menu - View commit details
-
Copy full SHA for 87beb4f - Browse repository at this point
Copy the full SHA 87beb4fView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for db140d1 - Browse repository at this point
Copy the full SHA db140d1View commit details -
Fix custom comment in linked issue check (#77)
- Use specific version v1.2.7 of nearform action - Ensures custom-body parameter is properly recognized
Configuration menu - View commit details
-
Copy full SHA for ed97f73 - Browse repository at this point
Copy the full SHA ed97f73View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for ad1f27b - Browse repository at this point
Copy the full SHA ad1f27bView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 41bc9ed - Browse repository at this point
Copy the full SHA 41bc9edView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 54e57db - Browse repository at this point
Copy the full SHA 54e57dbView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 25ebc17 - Browse repository at this point
Copy the full SHA 25ebc17View commit details
Commits on Aug 6, 2025
-
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.
Configuration menu - View commit details
-
Copy full SHA for 1290d63 - Browse repository at this point
Copy the full SHA 1290d63View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 42687fc - Browse repository at this point
Copy the full SHA 42687fcView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 234081e - Browse repository at this point
Copy the full SHA 234081eView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 46b4f0d - Browse repository at this point
Copy the full SHA 46b4f0dView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 6fb66cf - Browse repository at this point
Copy the full SHA 6fb66cfView commit details
Commits on Aug 7, 2025
-
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.
Configuration menu - View commit details
-
Copy full SHA for 47a251e - Browse repository at this point
Copy the full SHA 47a251eView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for b28e673 - Browse repository at this point
Copy the full SHA b28e673View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 6b02efb - Browse repository at this point
Copy the full SHA 6b02efbView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for e6dcc8e - Browse repository at this point
Copy the full SHA e6dcc8eView commit details -
Add PR update automation workflows
Auto-updates PRs behind main, handles forks/conflicts gracefully, skips bot/draft PRs, monitors API limits
Configuration menu - View commit details
-
Copy full SHA for 1c3c1a2 - Browse repository at this point
Copy the full SHA 1c3c1a2View commit details -
- Apply end-of-file and whitespace fixes to workflows
Configuration menu - View commit details
-
Copy full SHA for b60f0b2 - Browse repository at this point
Copy the full SHA b60f0b2View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for ea71754 - Browse repository at this point
Copy the full SHA ea71754View commit details
Commits on Aug 8, 2025
-
Configuration menu - View commit details
-
Copy full SHA for b3bff86 - Browse repository at this point
Copy the full SHA b3bff86View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.0.4...v1.0.5