Release Note¶
v2.7.3¶
Release Date: 2025/1/24
Optimized¶
- Support multiple packages in
DjangoSettings
'sapps_package
- Optimize orm behaviour for optional model field (
default
specified field) - Provided more detailed task logs info and control for Operations system.
- Optmize error handling for Operations data management APIs, return 400 for integrity error.
- Optimize
Content-Type
recognition for nested logic request body type.
v2.7.2¶
Release Date: 2024/12/26
Optimized¶
Client
'sfail_silently=False
will throw an error when the response code does not match any response template, improving the certainty of the response result.
Fix¶
- Fix the data query problem of the data management function of the Operations system (corresponding to the Data plate of the UtilMeta platform)
v2.7.1¶
Release Date: 2024/12/25
New features¶
- The
save
/asave
/bulk_save
/abulk_save
methods oform.Schema
supportsusing
parameters, You can pass in the name of the database connection (the default isdefault
the model or the configured database) as the database connection for the query
Optimized¶
- Optimize the
orm.Schema
solution to the infinite loop nesting problem of the query, and add thePerference.orm_schema_query_max_depth
setting of limiting the Schema query depth, which is 100 by default - The FastAPI / Starlette application optimizes the processing logic of server error reporting, and can record the abnormal call stack information thrown by the FastAPI interface in the log.
Fix¶
- Fixed some issues with MySQL asynchronously connecting to the database
- Fixed some issues with the Retry plugin
- Fixed parsing of parameters in
--
command line tools
API changes¶
utilmeta.core.orm.ModelAdaptor
: The method of the model adapter has been changed, and the query method of the model adapter has been added toModelQueryAdaptor
.
v2.7.0¶
Release Date: 2024/12/19
New features¶
- Support the connection to the Proxy node to manage the intranet service cluster
- OpenAPI documentation for parsing and synchronize Django Ninja
- The current service process PID is specified in
pidfile
ofmeta.ini
, add command to restart the servicerestart
anddown
to stop the service.
Optimized¶
Client
Classbase_url
parameters support carrying URL query parameters, which will be parsed asbase_query
requests added to eachClient
class
Fix¶
- Fixed an issue where the result type of the response template defined
response
on the API class was missing from the generated OpenAPI documentation
v2.6.4¶
Release Date: 2024/11/22
New features¶
- Support direct connection and management of local services
- Support for managing ASGI applications for Django
- Operations system supports the connection and data storage of monitoring and observation database, and supports the down-sampling query of time series data
Optimized item¶
- Optimize the mount logic of the Operations API to support Lazy mount for increased robustness
- Support for checking and following database dependencies before service startup
- Optimize the
secret_names
data processing logic in the Operations system and increase the detection of nested structures - Support
tags
in the@api
decorator for incorporating parameters declared into the generated OpenAPI documentation - Template configuration for the optimization
setup
command - Tuning the
must_create
parameter Logic of a Database Session
Fix¶
- Fix connection closing issue for Async API service using Operations system
Compatibility¶
- Django support down to version 3.0 (can support managing projects with Django > = 3.0)
API changes¶
utilmeta.core.cache.Cache
: Changes to asynchronous API functions to no longer use functions with the same name as synchronous functions (such asget
,update
), but instead use functions withe prefixeda
, such asaget
,aupdate
. The original usage remains, but will be removed in subsequent versions.
v2.6.0¶
Release Date: 2024/11/11
New features¶
- Add a built-in Operations and management system, capable of real-time observation and management of API services
- Support
Perference
configuration and adjust some feature parameters of UtilMeta framework - Support for mounting of Declarative Web Client, automatic generation of hooks and client code
- Supports the creation and update of relationship fields and relationship objects in
orm.Schema
Optimized¶
- Refactoring optimizes the implementation of the API plug-in system so that the execution order logic of the API plug-in is the same as that of the decorator.
- Optimize
orm.Query
logic fordistinct
by adding configurable__distinct__
parameters - Optimization supports type hint resolution for local variables (
locals()
) - The new
request
parameters and properties of theError
error object can access the current API request, which is more convenient for the processing of the error handling plug-in. - Methods that support the Response object
Fix¶
- Fix calling of asynchronous plug-ins
- Fix filename logic in
filename
sending and processingmultipart/form-data
data - Optimize the handling of files in the response
Compatibility¶
- Fix abnormal behavior of SQLite on windows and lower Python (3.9)
v2.5.8¶
Release Date: 2024/9/21
Optimized¶
- Support for yaml profiles
- Support automatic installation of dependencies required to run the server
backend
Fix¶
- Fixed some issues with openapi documentation generation
v2.5.6¶
Release Date: 2024/8/16
Fix¶
- Fixed compatibility issues related to JWT authentication
v2.5.5¶
Release Date: 2024/7/20
Fix¶
- Fixed issues related to OpenAPI documentation generation
v2.5.2¶
Release Date: 4/24/24
v2.4¶
Release Date: 1/29/2024
New features¶
- Basic Declarative Web client features are supported
v2.3¶
Released Date: 2024/1/24
API changes¶
- Adjusted the login function
login
parameters and JWT authentication component parameters for user authentication
v2.2¶
Released Date: 2024/1/20
Optimized¶
- Optimize authentication and API usage related to Session
v.2.1¶
Released Date: 2023/12/18
New features¶
- The first release of the V2 version of the framework, providing declarative API and ORM features
v1¶
Period: 2019/11 ~ 2023/11
Older versions of the UtilMeta framework are no longer supported