17
0
Files
python-tri.declarative/python-tri.declarative.changes
Dirk Mueller 6d801089d4 Accepting request 866064 from home:bnavigator:branches:devel:languages:python
- Update to 5.7.0
  * Make getattr_path more in line with the standard library 
    getattr semantics
  * If a default value is provided, return that on missing 
    attributes
  * If no default value is given, give a more detailed 
    error message of what was missing
  * Added the special case of the empty path returning the object
- Changes in 5.6.0
  * Fix corner case of class Meta failing to merge with 
    None namespace values
- Changes in 5.5.0
  * Include tri.struct 4.x as possible requirement

OBS-URL: https://build.opensuse.org/request/show/866064
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tri.declarative?expand=0&rev=12
2021-01-22 23:18:03 +00:00

77 lines
3.4 KiB
Plaintext

-------------------------------------------------------------------
Fri Jan 22 15:42:07 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
- Update to 5.7.0
* Make getattr_path more in line with the standard library
getattr semantics
* If a default value is provided, return that on missing
attributes
* If no default value is given, give a more detailed
error message of what was missing
* Added the special case of the empty path returning the object
- Changes in 5.6.0
* Fix corner case of class Meta failing to merge with
None namespace values
- Changes in 5.5.0
* Include tri.struct 4.x as possible requirement
-------------------------------------------------------------------
Thu Jul 23 13:02:19 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 5.4.1
* Minor bug fix on trailing comma explanation TypeException
* Fix bug when nesting `@class_shortcut` with same name i sub classes
* Refactor code to separate modules to get better stack traces
-------------------------------------------------------------------
Fri May 29 09:28:07 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Switch to pytest5 and disable one test that does not work with it
-------------------------------------------------------------------
Fri Apr 17 11:19:26 UTC 2020 - pgajdos@suse.com
- version update to 5.3.0
* Enable `@class_shortcut` to override baseclass shortcuts with the same name.
* Fix `@with_meta` failing on method declarations with `@staticmethod` declaration
-------------------------------------------------------------------
Wed Mar 11 09:57:25 UTC 2020 - pgajdos@suse.com
- version update to 5.2.0
5.2.0 (2020-02-28)
------------------
* The namespace merge is narrowed to only affect the @with_meta case.
* Handle calling `Namespace` with `call_target__attribute=None`
5.1.1 (2020-02-11)
------------------
* Improve namespace merge in @with_meta to not trip up @declarative
5.1.0 (2020-02-11)
------------------
* Fix @with_meta argument injector to merge namespaces
5.0.1 (2019-02-03)
------------------
* A minor update to the documentation generation to make it play nice with rST
5.0.0 (2019-01-30)
------------------
* Added private field to shortcuts: `__tri_declarative_shortcut_stack`. This is useful to be able to figure out a shortcut stack after the fact
* `get_callable_description` thought stuff that contained a lambda in its string representation was a lambda
* Removed all deprecated APIs/behaviors:
* `creation_ordered`
* The promotion of string values to keys in `Namespace`
* Much improved error messages
4.0.1 (2019-10-23)
------------------
* Bugfix to correctly handle Namespace as callable/not callable depending on content
4.0.0 (2019-10-11)
------------------
* `get_meta()` now collects extra arguments in a `Namespace` to get consistent override behaviour.
* `should_show` no longer accepts a callable as a valid return value. It will assert on this, because it's always a mistake.
* Added `evaluate_strict` and `evaluate_recursive_strict` that will not accept callables left over after the evaluation. If possible prefer these methods because they will stop the user of your library from making the mistake of not matching the given signature and ending up with an unevaluated callable in the output.
-------------------------------------------------------------------
Thu Aug 8 01:26:58 AM UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v3.1.0