Skip to content

Releases: exasol/saas-api-python

1.1.0

07 Apr 08:59
ff5329d
Compare
Choose a tag to compare

1.1.0 - 2025-04-07

Summary

This release updates the Python API generated from file openapi.json.

Changes to open-api.json in detail:

Endpoint was renamed

  • from /api/v1/accounts/{accountId}/databases/{databaseId}/database_settings
  • to /api/v1/accounts/{accountId}/databases/{databaseId}/settings

Method GET was added for endpoint

  • /api/v1/accounts/{accountId}/databases/{databaseId}/upgrade

Changes to models below components / schemas:

Attribute streamType was added to

  • CreateDatabase / properties
  • Database / properties / settings / required
  • Database / properties / settings / properties
  • DatabaseSettings / required
  • DatabaseSettings / properties

Model DatabaseUpgradeInfo was added.

  • Refactorings

  • #88: Updated openapi.json

1.0.0

28 Feb 12:27
ef96bce
Compare
Choose a tag to compare

1.0.0 - 2025-02-27

Summary

This release contains a potentially breaking change as class database.Database has been replaced with exasol_database.ExasolDatabase.

This release updates the Python API generated from file openapi.json multiple times:

In the scope of ticket #80 the updated API contains 3 additional fields for object Schedule:

  • createdbyID
  • createdbyFirstName
  • createdbyLastName

In the scope of ticket #84 the updated API contains multiple additions and one removed field.

A class_override has been added to file openapi_config.yml to solve a conflict caused by openapi.json containing model class Database with attribute settings, from which Openapi Python Clientgenerates a moduledatabase_settingscontaining classDatabaseSettings`.

The class_override replaces class database.Database with exasol_database.ExasolDatabase which potentially is a breaking change to the API.

Changes to openapi.json in detail:

In paths added

  • /api/v1/accounts/{accountId}/databases/{databaseId}/database_settings
  • /api/v1/accounts/{accountId}/databases/{databaseId}/upgrade

And

  • In components / schemas: added SetAutoUpdatesDatabase
  • In components / schemas / Schedule / required removed payload

And below components / schemas

In Added
CreateDatabase / properties numNodes
Database / properties / settings required, properties, additionalProperties
DatabaseSettings / required autoUpdatesEnabled, autoUpdatesHardDisabled, numNodes
DatabaseSettings / properties autoUpdatesEnabled, autoUpdatesHardDisabled, numNodes
Schedule / properties / action / oneOf / enum ActionDatabaseUpgrade

Refactorings

  • #80: Updated openapi.json
  • #84: Updated openapi.json again

Security

  • #82: Dependencies updated, especially vitualenv (20.26.4 -> 20.29.2), jinja2 (3.1.4 -> 3.1.5)

0.10.0

16 Sep 11:11
61641d3
Compare
Choose a tag to compare

0.10.0 - 2024-09-16

Code name:

Summary

Refactorings

  • #78: Updated Open API

Dependency Updates

Compared to version 0.9.0 this release updates the following dependencies:

  • Updated dependency types-requests:2.32.0.20240712 to 2.32.0.20240914
  • Updated dependency httpx:0.27.0 to 0.27.2
  • Updated dependency attrs:24.1.0 to 24.2.0
  • Updated dependency openapi-python-client:0.21.2 to 0.21.5
  • Updated dependency pyexasol:0.26.0 to 0.27.0

0.9.0

06 Aug 06:20
55281da
Compare
Choose a tag to compare

0.9.0 - 2024-08-05

Refactorings

  • #76: Updated openapi.json

0.8.0

11 Jul 08:43
0d2d742
Compare
Choose a tag to compare

0.8.0 - 2024-07-11

This release fixes vulnerabilities by updating dependencies.

Security

  • Fixed vulnerabilities by updating dependencies
    • Vulnerability CVE-2024-21503 in transitive dependency via exasol-toolbox to black in versions below 24.3.0

Refactorings

  • #68: Update to Python 3.10
  • #70: Optimized logging
  • n/a: Changed schedule checking if open api is outdated to 2 am
  • #29: Enhanced nox task generate-api to add transitive dependencies into main pyproject.toml

0.7.0

07 Jun 07:15
6b8f87e
Compare
Choose a tag to compare

0.7.0 - 2024-06-06

Refactoring

  • #53: Separated long-running tests
  • Updated GitHub workflow to upload openapi.json as artifact
  • #61: Restricted upload of openapi.json to failures

Features

  • #55 Added publicly callable function finding the database id from its name.
  • #60: Added download of openapi.json when generating python client
  • #64: Add an optional idle time parameter to the database factory.

Documentation

  • Updated instructions for triggering slow tests in Developer Guide

0.6.0

22 May 10:39
89af5ac
Compare
Choose a tag to compare

0.6.0 - 2024-05-22

Feature

  • #45 Added a helper function to assemble DB connection parameters.

Documentation

  • #50: Described release process in Developer Guide

Bugfixes

  • #44 Fixed the return value of the operational_saas_database_id fixture.

Refactoring

  • #19: Removed slack notifications for events other than schedule

0.5.0

16 May 15:44
6bad277
Compare
Choose a tag to compare

0.5.0 - 2024-05-16

Bugfixes

  • Fixed typehint for optional argument to enable usage with python 3.9

0.4.0

15 May 13:24
dd5f02b
Compare
Choose a tag to compare

0.4.0 - 2024-05-15

Summary

This release adds a method to get the data for establishing a connection to a SaaS database cluster and moves file api_access.py to package exasol/saas/client.

Refactorings

  • #31: Wrapped connect to cluster
  • #37: Moved file api_access.py to package exasol/saas/client

0.3.0

14 May 06:26
01451b5
Compare
Choose a tag to compare

Saas API Python 0.3.0, released 2024-05-14

Summary

This release renamed the package published on pypi from saas-api to exasol-saas-api. The old package has been removed to avoid confusion.

Additionally, this release adds integration tests for the most important calls to SaaS API.

Refactorings

  • #21: Added integration test for operation "create database"
  • #23: Added integration test for operation "add IP to whitelist"

Feature

  • #14: Added fixture waiting until SaaS database is running
  • #25: Fixed transitive dependencies required by generated API client

Bugfixes

  • #34: Fixed handling secrets in CI/CD build
  • #28: Renamed pypi package from saas-api to exasol-saas-api