Fixes and Enhancements since Version 0.5 alpha 1 |
Fixes and Enhancements since Version 0.5 alpha 1 |
|
|
- Refactored naming.ParsedURL to be a peak.model.Struct; this means that |
- DEPRECATED 'naming.ParsedURL'. It will disappear in 0.5 alpha 3 or beta. |
existing ParsedURL subclasses will need to be revised if they used fields |
It is replaced by the new 'naming.URL.Base'. The 'naming.URL' package |
other than 'scheme' and 'body'. See PEAK's ParsedURL subclasses for |
provides a new URL parsing framework based on 'peak.model'. Upgrading from |
examples of the needed changes. Mainly, '__init__' methods go away, |
'ParsedURL' to 'URL.Base' is trivial for ParsedURL subclasses that used |
'parse' methods change slightly, and explicit field definitions (using |
only the 'scheme' and 'body' fields, and in fact may not require any |
'model.structField' or similar) are required. |
changes except for the choice of base class. |
|
|
|
For more complex URL classes, the '__init__' methods go away, 'parse' |
|
methods change slightly, and explicit field definitions (using |
|
'model.structField' or similar) are required. See PEAK's 'URL.Base' |
|
subclasses for examples. |
|
|
- Added 'binding.whenAssembled(...)' as syntax sugar for |
- Added 'binding.whenAssembled(...)' as syntax sugar for |
'binding.Once(...,activateUponAssembly=True)'. |
'binding.Once(...,activateUponAssembly=True)'. |