Skip to content

Releases: ApiLogicServer/ApiLogicServer-src

SQLAlchemy Typing, Docker Python and ODBC

05 Jul 02:49

Choose a tag to compare

This release is available on Docker and pip. Key enhancements are noted below.

SQLAlchemy Typing - Attributes, Relationships

models.py creation has been enhanced to take advantage of SQLAlchemy 2 typing improvements:

  • Decimal attributes are typed, complementing SQLAlchemy typing for int, string and date.

  • Relationship typing has been reworked.

These provide improved code completion in your IDE.

To see examples, click here.

In addition, projects now include a simple Python program to explore SQLAlchemy connectivity. To see it for the sample app, click here.

Breaking change: in the past, the parent accessor was named parent. It is now the name of the parent class. See Department in the sample database.

 

Docker Python and ODBC versions

Docker support has been upgraded:

  • Python version: now 3.11.4
  • ODBC Version: now version 18

Optimistic Locking, Dependencies Upgrade

24 Jun 04:49

Choose a tag to compare

This is a major new release, available via pip and docker.

Optimistic Locking

Optimistic Locking enables you to optionally ensure your API rejects update attempts for rows that have been altered by other users since read.

 

Upgrade safrs, SQLAlchemy and Flask

A significant upgrade to dependencies:

  • safrs>=3.1.0
  • SQLAlchemy==2.0.15
  • Flask==2.3.2

 

Source moved to ApiLogicServer

This is the last release of API Logic Server on this git account. The project source is now stored here. This does not affect user install options (pip, docker installs are unchanged).

The old source is available here. Please do not use this source.

Also, note that the source tree has changed, and is reflected in the new dev install procedure.