Skip to content

Releases: rbw/aiosnow

Release 0.6.0

21 Nov 22:07
@rbw rbw
dc99114
Compare
Choose a tag to compare
  • 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

19 Nov 22:58
@rbw rbw
Compare
Choose a tag to compare

Reworks the aiosnow.Client and its aiohttp.ClientSession factory.

Release 0.5.3

02 Nov 12:31
@rbw rbw
Compare
Choose a tag to compare

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

08 Oct 23:49
@rbw rbw
Compare
Choose a tag to compare
  • Chained conditions are now stored in a local registry
  • QueryBuilder renamed to Selector
  • Selector interface improvements

Release 0.5.1

28 Sep 20:34
@rbw rbw
Compare
Choose a tag to compare
  • Fix Condition serialization via __str__
  • Separate querying methods from fields. Adds new type Queryable: a mixin that
    can be used with BaseField to make fields queryable
  • Fix issue with setting primary key in BaseModel in some cases
  • Refactor the query package

Release 0.5.0

13 Sep 20:49
@rbw rbw
Compare
Choose a tag to compare
  • 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

27 Jul 22:51
@rbw rbw
Compare
Choose a tag to compare
  • Improve schema registration
  • Improve table model API

Release 0.4.1

24 Jul 19:01
@rbw rbw
61c7aa8
Compare
Choose a tag to compare

Moves aiosnow.model code to aiosnow.models.common

Release 0.4.0

24 Jul 18:53
@rbw rbw
Compare
Choose a tag to compare

Rename project to aiosnow

Release 0.3.0

05 Jun 09:49
@rbw rbw
Compare
Choose a tag to compare
  • 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