Skip to content

Releases: Riminder/python-hrflow-api

core: upgrade pydantic v1 to v2

Choose a tag to compare

@nedhirouebnou nedhirouebnou released this 20 Apr 15:12

What's changed

Upgrades pydantic from ^1.10.8 to ^2.7. Pydantic v1 has been in maintenance-only mode since mid-2023; this keeps the project current and compatible with the rest of the v2 ecosystem.

Breaking changes

  • Optional fields now require explicit = None defaults in hrflow/schemas.py — v2 no longer implicitly defaults Optional to None
  • Location._fields renamed to Location.fields — v2 rejects leading-underscore field names
  • If you were monkey-patching or relying on validate_assignment being off, note that the no-op model_config declaration has been removed from test schemas

Files changed

  • hrflow/schemas.py — core model updates
  • hrflow/scoring.py, hrflow/searching.py — util call site fixes
  • tests/utils/schemas.py — full rewrite away from v1-specific APIs (@root_validator, @validator, constr/conint/confloat/conlist)

Migration

If you use hrflow as a library and subclass or reference its Pydantic models directly, audit your Optional field defaults and any _-prefixed field names before upgrading.

v4.2.0

Choose a tag to compare

@the-forest-tree the-forest-tree released this 02 Sep 11:45

Remove dependency on python-magic

Remove dependency on python-magic which requires having libmagic1 system dependency installed via sudo apt-get install libmagic1 or similar. The python library is not used.

v3.3.0

Choose a tag to compare

@the-forest-tree the-forest-tree released this 22 Aug 11:16

Remove dependency on python-magic

Remove dependency on python-magic which requires having libmagic1 system dependency installed via sudo apt-get install libmagic1 or similar. The library is not used as of the v3 release serie.

v4.1.0

Choose a tag to compare

@corentin-hrflow corentin-hrflow released this 27 Jun 11:36
  • Add interest and language fields to experience and education schemas
  • Add a function to utils that checks profile eligibility for searching or scoring
    • from hrflow.utils.searching import is_valid_for_searching
    • from hrflow.utils.scoring import is_valid_for_scoring
  • generate_parsing_evaluation_report
    • Handle the evaluation of indexed jobs in a board
    • Update profile parsing evaluation by changing person (=first_name & last_name) score to full_name score (filling full_name field in parsing)
    • Fix the way the location fill rate is calculated at the root of the profile, which used to result in a constant score of 1. Now it looks at the filling of the location text field for the profile. The location score for experiences & educations was not affected by this bug.

v4.0.1

Choose a tag to compare

@corentin-hrflow corentin-hrflow released this 27 Jun 11:23
6d91cef
  • In file parsing :
    • Use File object instead of bytes (replace file.read() by file)
    • Handle BytesIO objet with no file name
    • Infer filename base on File object
    • Add some tests (multi format resumes)
    • Improve docs
    • Fix bug that hard code the person score in parsing evaluation

v4.0.0

Choose a tag to compare

@corentin-hrflow corentin-hrflow released this 12 Mar 14:41
  • Add parsing evaluation & Function to generate the Excel report in hrflow.utils
  • Add limit rate for each endpoint
  • Add Job/Profile schemas

v3.2.1

Choose a tag to compare

@corentin-hrflow corentin-hrflow released this 02 Jan 13:29
  • Add backwards compatibility with the text parameter in Text Parsing.

v3.2.0

Choose a tag to compare

@corentin-hrflow corentin-hrflow released this 22 Dec 15:31
  • Migrate on Poetry
  • Add Ask endpoint
  • Add Auth endpoint
  • Add Unfold endpoint
  • Handle batch in tagging
  • Fix typo in README.md
  • Create a testsuite

v3.1.1

Choose a tag to compare

@riquelme222 riquelme222 released this 24 Aug 17:03
  • Added detailed Profile and Objects fields description in storing endpoints
  • To be able to seamlessly index Profiles & Jobs from structured sources in HrFlow.ai

v3.1.0

Choose a tag to compare

@riquelme222 riquelme222 released this 18 Jul 16:17

HRFlow API Version 3.1.0 Release Notes

Minor Version Update - Improved Profile and Job Updates

In the 3.1.0 version of the HRFlow API, we have made a minor enhancement to the update process for both Profiles and Jobs. Now, when updating a Profile or a Job, it is no longer mandatory to provide the key as a keyword argument. This change offers more flexibility and ease of use when updating objects.

Key Features and Changes:

  • Profiles and Jobs can now be updated using either the key or reference as a keyword argument.
  • The update process is now more flexible and allows for simpler object updates.
  • This version is backward compatible, and the key is still accepted as a keyword argument.

For detailed information on how to use the updated update functionality, please refer to the latest version of the API documentation and examples.

We recommend all users to update to this latest version to take advantage of the improved object update process. Thank you for your continued support and feedback.

For more information, detailed API documentation, and examples, please visit our GitHub repository.

If you have any questions or need assistance, please reach out to us at integrations@hrflow.ai.