# MiscUtils 1.1 Release Notes

MiscUtils version 1.1 released on 08/03/11

## New Features

- Added the `DateParser` module for parsing strings to datetime values using python-dateutil, mxDateTime or strptime.
- Added the `Funcs.localTimeDelta` function to support setting cookie expiration as datetime without timezone.

## Improvements and Refinements

- Simplified and modernized `DataTable`. Now using only native datetime classes instead of mxDateTime.

## Minor API Changes

- Renamed the `positive_id` function to `positiveId`, using the Webware naming convention.
- The `asclocaltime` function has been from `WebKit.Common` to `MiscUtils`.
- Renamed the `pickleVersion` parameter to `pickleProtocol` since it's referred to as "protocol" in the pickle docs. If not specified, we always use the highest format available (i.e. 2 instead of 1 as before).

## Deprecations

- The methods and objects which have been marked as deprecated in version 1.0 and modules that are now available in the standard library have been removed in Webware for Python 1.1, particularly `BasicDateTime`, `pydoc` and `inspect`.
- The `NamedValueAccess` "magic" was disposed since it has never been well documented and hardly anyone understood and used it. It also made things difficult to maintain, and the key bindings had already caused problems with garbage collection in the past which had been very hard to find. And now that properties and new-style classes exist, this whole approach can be considered outmoded. So the `NamedValueAccess` mix-in and wrapper classes and the `UserDict` monkey-patch are gone now. However, the `valueForKey` and `valueForName` functions are still available and can be useful in some cases (for instance for evaluating the `ActivityLogColumns`).