The format is inspired by Keep a Changelog.
- Django fields
- docs/integrations: django fields
- docs/internals
- improve repr
- logging
- CI & version compatibility badges
- fix missing
_objdir
bug (when using populate() instead of define_set())
0.4.0 - 2023-10-13
- changed
all_cname
from classproperty to classmethod and addfilter
keyword - added
filter
keyword toall_dict
andall_tuple
- renamed
all_cname
toas_cnames
,all_dict
toas_dicts
, andall_tuple
toas_tuples
- added
pick
andchoices
class methods - added
getattr_inclusive
instance method (supports "cname_pretty" and "ordinal" as if they were attributes) - use
getattr_inclusive
in all methods that acceptname
/names
params - added index instance method
- added Graphene integration
- wrote Django and Graphene sections for docs/integration
- removed
children
class attribute in Error classes (unnecessary and would require metaclasses to handle properly) - added strict version:
- prevents mixing definition forms
- enforces consistent attributes across instances
- wrote Strict section for docs/customizing
0.3.0 - 2023-10-12
- renamed
label
attribute tovalue
- replaced
canonical_name
attribute andcn
property withcname
attribute - removed
cn_lower
(adds no value) - renamed
cn_title
tocname_pretty
- wrote docs/index
- wrote docs/customizing
- defined docs nav order
- replaced deepcopy strategy (for immutability) with
_attrdir
dict + custom attribute access methods, which also facilitates attributes overriding existing properties and methods when collisions occur - added
as_dict
,all_dict
,as_tuple
, andall_tuple
0.2.0 - 2023-10-09
- renamed package to
simpleset
- renamed
Object
toConstant
- renamed
Object.define
toConstant.define_set
- renamed
ErrorSet
toError
- rewrote
Error
to subclass from itself (define_family
,define_children
) - wrote docs/cheatsheet
- wrote docs/error
0.1.0 - 2023-10-09
- complete rewrite to combine Object + ObjectMananger into single class and simplify API
- added changelog
- added changelog link to
pyproject.toml
for PyPI - added pytest to dev dependencies
- configured pytest in
pyproject.toml
andtests/conftest.py
- converted
test.py
to a pytest test suite stored undertests/
- rewrote README to act as a preview of the docs
0.0.3 - 2023-10-08
- added
docs/
andmkdocs.yml
for MkDocs (intitial version identical to README) - added
.readthedocs.yaml
for integration with Read the Docs - added documentation link to
pyproject.toml
for PyPI
0.0.2 - 2023-03-27
- first working version