Skip to content

Releases: FamilySearch/familysearch-javascript-sdk

v2.1.1

19 Oct 16:18
Compare
Choose a tag to compare

#130 - Better throttling behavior.

v2.1.0

14 Sep 18:42
Compare
Choose a tag to compare
  • Support Pending Modifications by adding the getPendingModifications() method and the pending_modifications configuration option.
  • Fix Person.getPersonPortraitUrl()
  • Add getCurrentUserPerson() method

v2.0.5

10 Sep 19:45
Compare
Choose a tag to compare

Fix serialization when the object has properties with a value of undefined.

2.0.4

01 Sep 19:48
Compare
Choose a tag to compare

Fix the CDN

2.0.3

01 Sep 19:44
Compare
Choose a tag to compare

Fix bug when handling http errors in the browser.

2.0.2

28 Aug 17:44
Compare
Choose a tag to compare

Fix CDN configuration

2.0.0

28 Aug 16:31
Compare
Choose a tag to compare

This is a major release with breaking changes. Read the migration guide for help with migrating from v1 to v2.

  • Remove the http_function, deferred_function, and timeout_function configuration options. Angular users must now call $scope.apply().
  • All API methods return a promise which always resolves with a Response object on success and an Error on failure. This particularly affects methods which used to return strings such as authentication methods and POSTs which would return an ID or URL. This also affects an situations where a user was accessing data directly as opposed to using the provided convenience methods. The convenience methods remain but the parsed JSON data is not the main object anymore; it is accessed via response.getBody(). An exception is getOAuth2AuthorizeURL which returns a promise but it doesn't actually make an HTTP request so it doesn't return a response object. Another exception are batch requests which return a map of response objects.
  • The HTTP methods previously attached to the promise are now attached to the response object.
  • sdk.restorePerson() was removed; must call person.$restore()
  • sdk.getPersonChanges(), sdk.getCoupleChanges(), sdk.getChildAndParentsChanges() were replaced with sdk.getChanges()
  • sdk.getAgent() requires a full URL; an agent ID can no longer be given
  • sdk.setPreferredSpouse() and sdk.setPreferredParents() require the full relationship URL instead of just the ID.
  • removed refresh option from some $save() functions.
  • removed $memoryId and $discussionId from Comment
  • removed $personId, $coupleId, and $childAndParentsId from Note
  • removed $memoryId from MemoryPersona
  • removed $personId from MemoryPersonaRef
  • replaced sdk.getPersonNotes(), sdk.getCoupleNotes(), and sdk.getChildAndParentsNotes() with sdk.getNotes()
  • replaced sdk.getPersonNote(), sdk.getCoupleNote(), and sdk.getChildAndParentsNote() with sdk.getNote()
  • replaced sdk.getMultiPersonNote(), sdk.getMultiCoupleNote(), and sdk.getMultiChildAndParentsNote() with sdk.getMultiNote()
  • replaced sdk.deletePersonNote(), sdk.deleteCoupleNote(), and sdk.deleteChildAndParentsNote() with sdk.deleteNote()
  • removed $personId, $coupleId, and $childAndParentsId from SourceRef
  • sdk.deleteSourceDescription() no longer deletes all dangling source references
  • $ prefix on object methods has been removed.
  • Object properties are no longer directly accessible. Getter methods have been added.
  • The Date interface has completely changed. It is now simply a container with getters and setters. It does not do any generation or interpretation of formal dates.
  • New PlaceReference used by Fact
  • Easy serialization of all objects via JSON.stringify() and toString()
  • Gender is now a class.

v1.0.0

09 Jul 20:28
Compare
Choose a tag to compare

🎉

There's nothing new in this release compared to previous 1.0 beta versions; we just finally got the automated publish/deploy working with npm and our cdn.

1.0.0-beta4

08 Jul 14:44
Compare
Choose a tag to compare
1.0.0-beta4 Pre-release
Pre-release

Testing cdn and npm publishing

v1 beta 3

07 Jul 15:48
Compare
Choose a tag to compare
v1 beta 3 Pre-release
Pre-release

#75 Restore persons and relationships
#40 Use new place authority
#76 Use new date authority