Cairngorm 2.2 が Adobe Labs に公開されました。(Cairngorm@Labs)
今回の大きな変更の一つは Flex Data Services への依存の解消です。Cairngorm 2.2 では Flex Data Services が必要ない場合の Cairngorm と必要な場合の Cairngorm Enterprise との 2 つのパッケージに分かれました。具体的には ServiceLocator が mx.data.DataService のインスタンスを指すようであれば Cairngorm Enterprise を選択することになります。
ダウンロードはこちらのページです。(Download Cairngorm 2.2@Labs) Cairngorm と Cairngorm Enterprise それぞれのドキュメントやソースコードへのリンクがありますので必要なものを選んでダウンロードしてください。
そのほかの主な変更点は以下の通りです。(英語でごめんなさい)
- Flex SDK SWCs are no longer linked into Cairngorm.swc (produces a smaller cairngorm.swc)
- Added support for setting remote credentials
- Fixed bug with Web services not loading the WSDL (no need to call loadWSDL() explicitly)
- ModelLocator interface has been deprecated. Added com.adobe.cairngorm.model.IModelLocator
- Added deprecation metadata for compiler support
- Added dispatch() helper method to CairngormEvent class
- Commands are now added to base Controller with weak references
- Added removeCommand to FrontController
- Made commands protected in FrontController (was private)