All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Compatible with both MySQLClient and PyMySQL
- Add MySQLClientInstrumentor used to automatic tracing the requests from mysqlClient, the
instrument()
method should be invoked beforeconnect()
.
- Update
updated_at
field implicitly when updating with theonly
option.
some_record.a_field = "updatede a field"
# updated fields: a_field, updated_at
some_record.save(only=["a_field"])
- ensure_ascii is provided in JSONCharField to support storing Chinese in non-ascii way
1.1.0 - 2019-02-15
- Mass assignment protection
- replace count function with fn.SQL COUNT
1.0.0 - 2018-11-05
- Raise UserWarning when trying to use delete() in instance.