Changelog¶
All notable changes to this project will be documented in this file.
0.2.4¶
- Added the
py.typedmarker so that type checkers use the type hints incamina.
0.2.3¶
Changed¶
- Revised the README: added a gif, reworded the "Why use camina?" section, and noted that modifiers support generics and subtypes.
0.2.2¶
Changed¶
- Updated to the
snickerdoodle0.4.0 template. - Removed
ruff formatfrom thepre-commithooks because it removes the spaces around "=" in keyword arguments. - Made
ruffprefer single quotes and converted the strings in the code to single quotes. - Relaxed
pydoclintchecks of class attributes and raised exceptions. - Excluded
uv.lockfrom the large file check. - Fixed typos in the contributing guide and noted that the project does not use a code formatter.
0.2.1¶
Changed¶
- README examples are easier to read: one call per line, grouped by task, and without
>>>prompts.
0.2.0¶
Added¶
- The
to_*converters incamina.convertthat the README described. drop_dundersanddrop_privatesfor sets and tuples.- A full test suite (including tests that run the README examples), docs pages, and typed
Argsin all docstrings.
Changed¶
- Updated to snickerdoodle v0.3.3:
uvandhatchlingreplacepdm, workflows were consolidated, andmypyandpydoclintare used in CI. - Dropped support for Python 3.10. Python 3.11 or later is required.
milleris no longer a dependency. It depended oncamina, which made a circular dependency.listifyandtuplifyconvert non-str collections (tuples, sets, generators, etc.) and no longer split strings.drop_dundersonly drops names that both start and end with double underscores.iterifyreturns its input if it is already iterable.
Removed¶
- The container classes (
Bunch,Dictionary,Catalog,ChainDictionary,Repository,Listing,Hybrid,Proxy,Descriptor, andName) and their helpers (resolve_default,set_key_namer,get_key_namer,set_method_namer, andget_method_namer). They now live in the separatebunchespackage.
Fixed¶
import caminafailed becausecamina.__init__imported a nonexistentBaseclass.how_soon_is_nowraised an error (tz_infoargument), andtimercould not be used as a decorator.cleavesplit incorrectly whenreturn_lastwas False;uniquifyanddrop_suffix(with a divider) returned wrong results.numifyraised onNoneand truncated floats;tuplifysplit strings;pathlibifyfailed on strings;windowifydid not validate arguments until iterated.add_slotsfailed for classes with a__weakref__slot.
0.1.0¶
Initial Commit