Skip to content

Releases: wikirate/wikirate4py

2.0.6

16 Jan 09:10
6ccf3a9

Choose a tag to compare

Add company_category filter on get_answers

2.0.5

16 Dec 20:30
1054515

Choose a tag to compare

Key Changes

🔧 API Client Refactors

  • Introduce shared kwarg validation helpers (API._require, API._warn_unexpected)
  • Refactor write endpoints to use explicit required/optional parameter lists
  • Centralize query and filter parameter construction
  • Improve filter handling and expand support for topics and topic frameworks
  • Switch to a persistent requests.Session with:
    • Session-wide headers and auth
    • Context manager support for deterministic cleanup
    • More robust request handling and file cleanup
  • Improve logging and warnings for unexpected parameters
  • Avoid shared mutable defaults in request helpers

🧩 Model Updates (Platform Alignment)

  • Update Topic, Metric, and AnswerItem models to match current API responses
  • Ensure compatibility with updated topic and topic framework structures
  • Fix type validation and source parsing in detailed views

🧪 Tests & Fixtures

  • Regenerate VCR cassettes to reflect current API behavior
  • Apply minor test updates following API changes

2.0.4

29 May 09:11

Choose a tag to compare

  • fix NoneType error on get content

2.0.3

22 May 04:22

Choose a tag to compare

  • bug fixing
  • readthedocs documentation updates

2.0.2

13 Feb 07:34

Choose a tag to compare

  • Replaced list[Type] with List[Type] from the typing module to ensure compatibility with Python versions <3.9.

Refactor: Code cleanup and nomenclature updates

12 Feb 17:11

Choose a tag to compare

  • Thorough refactoring of multiple methods for improved readability, structure, and performance.
  • Updated nomenclature: RelationshipAnswer(s) renamed to Relationship(s).
  • Enhanced parameter validation and error handling.
  • Improved documentation across key functions for clarity and consistency.
  • Reduced redundancy in filter and parameter handling.
  • Optimized API request methods and logging for easier debugging.

1.2.8

20 Sep 17:16

Choose a tag to compare

  • filter by company_identifiers
  • metric_keyword
  • metric (an array of metric ids or metric names can be given as input
  • rename filter wikirate_topic to topic
  • add update_card & update_metric functions
  • update models
  • remove redundant methods
  • fixes and refactoring

1.2.5

14 Feb 14:01

Choose a tag to compare

  • include subject_company_id and object_company_id when filter relationship answers

1.2.4

14 Feb 13:19

Choose a tag to compare

  • Introduction of generate_url_key: Added a new function for creating URL-friendly string entity identifiers.
  • Enhancements to get_answers method: Allows users to retrieve answers for Wikirate entities using both numeric and alphanumeric identifiers.
  • Refactor and rename of get_relationship_answers_by_metric_id: Renamed to get_relationship_answers, enabling users to provide numeric or alphanumeric identifiers for entity retrieval of relevant relationship answers.
  • Renaming of get_relationship_answers to get_relationship_metric_answers: Improved method naming for clarity.

1.2.3

01 Feb 17:27

Choose a tag to compare

minor changes:

  • allow adding website when add company or update company
  • rename oar_id to os_id