Skip to main content
This topic has been closed for replies.

3 replies

areohbee
areohbeeAuthor
Legend
June 11, 2010

SDK 3.0 - What's New
=================

LrApplication

-------------
.addDevelopPresetForPlugin
.developPresetByUuid
.developPresetFolders
.filenamePresets
.getDevelopPresetsForPlugin
.metadataPresets
.serialNumberHash
.viewFilterPresets

LrBinding - Same.

LrCatalog
---------
:batchGetFormattedMetadata
:batchGetPropertyForPlugin
:batchGetRawMetadata
:createCollection
:createCollectionSet
:createKeyword
:createSmartCollection
:getActiveSources
:getAllPhotos
:getChildCollectionSets
:getChildCollections
:getCollectionByLocalIdentifier
:getCurrentViewFilter
:getFolderByPath
:getFolders
:getKeywords
:getLabelMapToColorName
:getMultipleSelectedOrAllPhotos
:getPath
:getPropertyForPlugin
:getPublishServices
:getPublishedCollectionByLocalIdentifier
:getTargetPhoto
:getTargetPhotos
:setActiveSources
:setPropertyForPlugin
:setSelectedPhotos
:setViewFilter
.kAllPhotos
.kLastCatalogExport
.kPreviousImport
.kQuickCollectionIdentifier
.kTargetCollection
.kTemporaryImages

LrColor - Same.

LrDate
------
.formatLongDate
.formatMediumDate
.formatMediumTime
.formatShortDate
.formatShortTime
.timeFromPosixDate
.timeToPosixDate

LrDevelopPreset - New
---------------------
:getFile
:getName
:getParent
:getSetting
:getUuid

LrDevelopPresetFolder - New
---------------------------
:getDevelopPresets
:getName
:getPath

LrDialogs
---------
.resetDoNotShowFlag

LrErrors - same.

LrExportContext
---------------
.publishService
.publishedCollection
.publishedCollectionInfo

LrExportRendiiton
-----------------
:recordPublishedPhotoId
:recordPublishedPhotoUrl
:skipRender
.publishedPhotoId
.wasSkipped

LrExportSession
---------------
:recordRemoteCollectionId
:recordRemoteCollectionUrl

LrExportSettings - Same.

LrFileUtils
-----------
.readFile
(no writeFile function)

LrFilterContext - same.
LrFtp - same.

LrFunctionContext
-----------------
.callWithEmptyEnvironment
.callWithEnvironment
.pcallWithEmptyEnvironment
.pcallWithEnvironment
:addOperationTitleForError

LrHttp - same.

LrKeyword - New
---------------
:getAttributes
:getChildren
:getName
:getParent
:getPhotos
:getSynonyms
:setAttributes
:type
.catalog
.localIdentifier

LrLocalization
--------------
.currentLanguage

LrLogger - same.
LrMD5 - same.

LrMath - New
------------
.bitAnd
.bitOr
.bitXor

LrObservableTable - New
-----------------------
:addObserver
:pairs
:removeObserver

LrPasswords - New
-----------------
.retrieve
.store

LrPathUtils - same.

LrPhoto
-------
:addKeyword
:applyDevelopPreset
:applyMetadataPreset
:checkPhotoAvailability
:createDevelopSnapshot
:getContainedCollections
:getContainedPublishCollections
:getDevelopSettings
:getNameViaPreset
:removeKeyword
.catalog

LrPhotoInfo - same.

LrPlugin
--------
.enabled

LrPrefs - same.
LrProgressScope - same.

LrPublishService - New
----------------------
:createPublishedCollection
:createPublishedCollectionSet
:createPublishedSmartCollection
:getChildCollectionSets
:getChildCollections
:getName
:getPluginId
:getPublishSettings
:type
.catalog
.localIdentifier

LrPublishedCollection - New
---------------------------
:addPhotoByRemoteId
:addPhotos
:addPublishedPhotos
:delete
:getCollectionInfoSummary
:getName
:getParent
:getPhotos
:getPublishedPhotos
:getRemoteId
:getRemoteUrl
:getService
:isSmartCollection
:removeAllPhotos
:removePhotos
:setCollectionSettings
:setName
:setParent
:setRemoteId
:setRemoteUrl
:setSearchDescription
:type
.catalog
.localIdentifier

LrPublishedCollectionSet - New
------------------------------
:delete
:getChildCollectionSets
:getChildCollections
:getChildren
:getCollectionSetInfoSummary
:getName
:getParent
:getRemoteId
:getRemoteUrl
:getService
:getCollectionSetSettings
:setName
:setParent
:setRemoteId
:setRemoteUrl
:type
.catalog
.localIdentifier

LrPublishedPhoto - New
----------------------
:getEditedFlag
:getPhoto
:getPublishCount
:getRemoteId
:getRemoteUrl
:setEditedFlag
:setRemoteId
:setRemoteUrl
.catalog

LrRecursionGuard - same.

LrShell
-------
.openPathsViaCommandLine

LrStringUtils
-------------
.numberToStringWithSeparators

LrSystemInfo - New
------------------
.appWindowSize
.architecture
.displayInfo
.is64Bit
.memSize
.numCPUs
.osVersion
.summaryString

LrTasks - same.
LrView - appx same.
LrWebViewFactory - same I think.
LrXml - same.

Export Service Provider - Newly documented
------------------------------------------
.endDialog
.processRenderedPhotos
.sectionsForBottomOfDialog
.sectionsForTopOfDialog
.startDialog
.updateExportSettings
.allowColorSpaces
.allowFileFormats
.canExportToTemporaryLocation
.canExportVideo
.disallowColorSpaces
.disallowFileFormats
.exportPresetFields
.hidePrintResolution
.hideSections
.showSections
.supportsIncrementalPublish

Metadata tagset provider - Newly documented.
--------------------------------------------
id
items
title

Publish Service Provider - New
------------------------------
.addCommentToPublishedPhoto
.canAddCommentsToService
.deletePhotosFromPublishedCollection
.deletePublishedCollection
.didCreateNewPublishService
.didUpdatePublishService
.endDialogForCollectionSetSettings
.endDialogForCollectionSettings
.getCollectionBehaviorInfo
.getCommentsFromPublishedCollection
.getRatingsFromPublishedCollection
.goToPublishedCollection
.goToPublishedPhoto
.imposeSortOrderOnPublishedCollection
.metadataThatTriggersRepublish
.renamePublishedCollection
.reparentPublishedCollection
.shouldDeletePhotosFromServiceOnDeleteFromCatalog
.shouldDeletePublishedService
.shouldDeletePublishedCollection
.shouldReverseSequenceForPublishedCollection
.updateCollectionSetSettings
.updateCollectionSettings
.validatePublishedCollectionName
.viewForCollectionSetSettings
.viewForCollectionSettings
.willDeletePublishService
.disableRenamePublishedCollection
.disableRenamePublishedCollectionSet
.publish_fallbackNameBinding
.small_icon
.supportsCustomSortOrder
.titleForGoToPublishedPhoto
.titleForPhotoRating
.titleForPublishedCollection
.titleForPublishedCollectionSet
.titleForPublishedCollectionSet_standalone
.titleForPublishedCollection_standalone
.titleForPublishedSmartCollection
.titleForPublishedSmartCollection_standalone

I wrote this late at night by visual comparison.

Please let me know if you catch any mistakes.

Rob

Inspiring
June 11, 2010

Thanks much, Rob. Apparently your timeout value is about 2 days. :-)

areohbee
areohbeeAuthor
Legend
June 11, 2010

DFBurns wrote:

Thanks much, Rob. Apparently your timeout value is about 2 days. :-)

You're welcome. I was hoping someone else would do it first ;-)

What's new in a nutshell:

1. Publishing

2. Collections (and Folders)

3. Keywords.

4. Applying Presets.

5. View Filters

6. Reading develop settings.

7. Enhanced metadata support.

8. Misc...

Anything else worthy of mention?

Rob

Inspiring
June 8, 2010

Thx for the information. Looks like adobe fullfilled a lot whishes. After briefly checking the api I just miss a movePhoto function....

areohbee
areohbeeAuthor
Legend
June 9, 2010

Yeah, a lot more read functions than write functions were implemented.

If I figure a way to move a photo I'll post.

Just enough to tide us over until SDK 4.0 me-thinks.

Rob

Inspiring
June 8, 2010

That link is the general start page for a first-time downloader of the SDK. Is there doc anywhere that describes only what's changed for people familiar with the 2.0 SDK? I downloaded the PDF and didn't see a section in there either.

db

Inspiring
June 8, 2010

Yes - would be great to have a "what's new"- However - They've added so many stuff that 2/3 of the api looks changed. The pdf is more or less a starting point with example plugins. But not an api description at all. Therefor you have to download the rest.

Inspiring
June 8, 2010

Ok then if I have a working 2.x plug-in, will it work with 3.0 without changes? What's the story re backward compatibility? Do I package and support two separate plug-ins or should I build one for 3.0 that gracefully degrades for 2.x? Seems like important info to have. Maybe I missed a doc or a link.