Releases: rbw/aiosnow
Releases · rbw/aiosnow
Release 0.6.0
- Add support for the Attachment API, either directly or via a TableModel
- Add TableModel tests
- Improve test fixtures
- Allow passing of return_only to TableModel.get
- Rework models package structure
- Clean up unused exceptions
- Remove support for passing of custom aiohttp.session objects to Client
- Rework the reference documentation
Note about Client session parameter removal:
Controlling what the Client
session factory produces by passing a session to its constructor is no longer supported. Instead, the Client.get_session
method should be overridden to accomplish the same thing.
Release 0.5.4
Reworks the aiosnow.Client
and its aiohttp.ClientSession
factory.
Release 0.5.3
This release addresses a number of issues related to Model Schema nesting:
Highlights:
- Improve schema registration
- Add support for any level of nesting
- Fix issue with cached documents not getting accessed correctly in the expansion code
Release 0.5.2
- Chained conditions are now stored in a local registry
- QueryBuilder renamed to Selector
- Selector interface improvements
Release 0.5.1
- Fix Condition serialization via
__str__
- Separate querying methods from fields. Adds new type Queryable: a mixin that
can be used withBaseField
to make fields queryable - Fix issue with setting primary key in
BaseModel
in some cases - Refactor the query package
Release 0.5.0
- Decouple Client and Model
- Couple Model and Schema
- Improve request error handling
- Mapped fields refactoring: Mapping.id => Mapping.key
- Remove Choice field types
- Remove Email field type
- TableModel.get_one() now returns a Response object rather than a dict
- Fix IntegerOperator LE/GE bug
- Fix issue with subclasses with common superclass getting attributes overridden
Release 0.4.2
- Improve schema registration
- Improve table model API
Release 0.4.1
Moves aiosnow.model code to aiosnow.models.common
Release 0.4.0
Rename project to aiosnow
Release 0.3.0
- Rework the request-response API
- Removes unnecessary helper layer
- Add custom ClientResponse
- Add custom ClientSession
- Move snow.response to snow.request.response
- Handle HTTP 204 before attempting to deserialize content
- Convert dunders to protected members
- Add support for Schema.Meta inner class
- Update schema system
- Improve linked requests
- Improve schema registration
- Add support for built-in schemas (TableSchema currently)
- Refactor fields
- Numeric, NumericMap => Integer, IntegerMap
- Text, TextMap => String, StringMap
- Rework the Pagestream helper code
- Add support for Schema.Meta.return_only in TableSchema
- Improve DeleteRequest
- Fix MappedField payload serialization
- Use use_ssl from config.session when building URL, independent of using native or foreign session