Skip to content

Release Notes

krczeck edited this page Feb 4, 2019 · 48 revisions

API Changes

These are modifications since the previous release that may require changes in your calls to the binding.

1.12.1

  • New Similar Terms endpoint /semantics/similar
  • New Similar Terms example
  • /text-embedding endpoint changed to /semantics/vector
  • /text-embedding example changed to /semantics/vector example
  • New example URL in Categories example
  • Comments added to examples demonstrating how to set options

1.9.0

  • Multilingual language identification example
  • User Agent includes runtime version
  • No longer tested on 2.6 or 3.3

1.8.2

  • Fixed an open file handle

1.8.0

  • New Topics endpoint
  • New Topics example

1.7.0

  • New Endpoints, transliteration and name_deduplication
  • MorphologyOutput class, used for setting the morphology output in the call to morphology has been refactored as api.morphology_output[''], where output type is 'COMPOUND_COMPONENTS', 'HAN_READINGS', 'LEMMAS', 'PARTS_OF_SPEECH', 'COMPLETE'
  • Examples added for transliteration and name_deduplication
  • Deprecated several API methods to conform to python snake_case
  • Deprecated MorphologyOutput class, please use API.morphology_output

1.5.0

  • Bug fix for file + setUrlParameter

1.4.1

  • Api.setUrlParameter(name, value) added, NOTE: "name" can be removed by setting value = None
  • Api.getUrlParameter(name) added
  • Api.clearUrlParameters() added

1.4.0

  • Api.syntax_dependencies added

1.3.0

  • Api.text_embedding added

1.2.0

  • Binding reflects unification of /entities and /entities/linked endpoints; /entities returns a new response model which includes QIDs by default
  • resolve_entities parameter is not available anymore (entities method returns QIDs by default)
  • linkEntities option is available to turn off QIDs through api.setOption("linkEntities", False)

1.1.1

  • Added api.setOption, api.getOption and api.clearOptions to allow users to manage options as needed
  • Removed RelationshipParameters. It's only purpose was to extend DocumentParameters to accept an options parameter. With the advent of the api option methods, it is no longer needed. Use DocumentParameters and api.setOption('accuracyMode', 'RECALL|PRECISION') instead. PRECISION is the default if no options are specified.

1.1.0

  • (optional) genre parameter added

1.0.0

  • Functions translate_name() and matched_name() have been deprecated and replaced with name_translation() and name_similarity() to represent the respective RosetteAPI endpoint name changes.
  • All responses now include the response headers in the returned dict -- make sure to access or filter the desired JSON response object in your code. Related to Rosette API's new headers mentioned here.

Internal Changes

These changes should not require modifications to your bindings calls, but represent major internal changes, often correlating to Rosette API functional changes indicated here.

1.8.3 (Develop)

1.8.1

  • Resolved InsecureRequestWarning

1.8.0

  • topics endpoint
  • example code cleanup

1.7.0

  • Code cleanup per pep8
  • unit tests added for the new endpoints, transliteration and name_deduplication

1.5.0

  • added setUrlParameter logic to multipart handling

1.4.0

  • removed 429 loop. All non-200 codes will be reported as exceptions

1.3.0

  • max connections set according to Concurrency returned from Rosette API

1.2.0

1.1.1

  • Updated unit tests to test the option methods
  • Updated the relationship example to use DocumentParameters and api.setOption

1.1.0

  • Internal restructuring to remove obsolete code and encapsulate request operations
  • Revised unit tests to be individual per endpoint and exception

1.0.0

  • The unit, contentType, and contentBytes input parameters have been removed. Base64-encoded input should be sent as an input file.
  • The X-RosetteAPI-Request-Id and X-RosetteAPI-ProcessedLanguage values have been added as response headers.
Clone this wiki locally