Change WebServiceDetails.…addresses to be a MultiMap<string, string>
[platform/upstream/folks.git] / NEWS
1 Overview of changes from libfolks 0.5.0 to libfolks 0.5.1
2 =========================================================
3
4 Bugs fixed:
5 * Bug 645388 — Group channels are leaked
6 * Bug 647562 — Don't crash on duplicate group channels
7 * Bug 647121 — Crash in individual_store_contact_sort at
8   empathy-individual-store.c line 1387
9 * Bug 645684 — Implement Iterator on LinkedHashSet
10
11 API changes:
12 * LinkedHashSet.list_iterator() is now disallowed (causes an assertion failure)
13 * LinkedHashSet.iterator() now returns a BidirIterator instead of just an
14   Iterator
15 * ImDetails.im_addresses is now of type MultiMap<string, string>
16 * WebServiceDetails.web_service_addresses is now of type
17   MultiMap<string, string>
18
19 Overview of changes from libfolks 0.4.0 to libfolks 0.5.0
20 =========================================================
21
22 Major changes:
23 * Add support to change primary (writeable) store either via
24   GConf or an env variable (bug 645441).
25 * Bumped Vala dependency to 0.12.0 for bug #646345
26
27 Bugs fixed:
28 * Bug 644968 - _update_phone_numbers() needs to create copies
29   of each List<FieldDetails>
30 * Bug 644966 - _update_emails () needs to create copies of each
31   List<FieldDetails>
32 * Bug 644527 - Add a Tracker backend
33 * Bug 645430 - folks-inspect: Use LinkedHashSet to access im-addresses
34 * Bug 645411 - folks-import segfaults on startup
35 * Crasher when removing Personas
36 * Crasher when reconnecting a Telepathy account
37 * Bug 645680 — Use random integer IDs for Kf.Personas
38 * Bug 645475 — Linker warnings for Tracker backend tests
39 * Bug 645570 — Fix checks for empty and equal StructuredNames
40 * Bug 645989 — Ensure add_persona_from_details handles the basic attribute
41 * Bug 645413 — Write support for Tracker
42 * Bug 645441 — Mechanism to specify primary backend
43 * Bug 638280 — Add a libsocialweb backend
44 * Deal with duplicated phones/e-mails in Tracker
45 * Bug 646944 — Fix libsocialweb updates and removals of contacts
46 * Bug 644867 — add interface for linkable web service contact UIDs
47 * Bug 647168 — print the "web-service-addresses" property correctly
48 * Bug 646831 — Setting an existing phone number or e-mail address on a
49   Trf.Persona fails
50 * Bug 647298 — folks-inspect gets SIGSEGV when trying to auto-complete
51   parameters
52 * Bug 646948 — Support for potential matches
53
54 API changes:
55 * Add equal () to StructuredName
56 * Add detail_key () along with an enum PersonaDetail to PersonaStore
57   which together define the basic attributes that should be supported
58   by add_persona_from_details ().
59 * Add public primary_store to IndividualAggregator
60 * Add LocalIdDetails interface for linking Personas based on local address book
61   IDs (such as for the Tracker backend Personas)
62 * Add WebServiceDetails interface for linking Personas based on web service
63   accounts (such as for the libsocialweb backend Personas)
64 * Add PotentialMatch class and IndividualAggregator.get_potential_matches() and
65   IndividualAggregator.get_all_potential_matches() to suggest Individuals that
66   may match the given Individual or all potential matches, respectively.
67
68 Overview of changes from libfolks 0.3.6 to libfolks 0.4.0
69 =========================================================
70
71 Bugs fixed:
72 * Bug 642351 — BACKEND_STORE_KEY_FILE format should support a wildcard entry
73 * Bug 643241 — _update_urls () needs to create copies of each
74   List<FieldDetails>
75 * Bug 643247 — Folks needs C API documentation
76 * Bug 643201 — folks-inspect can't handle properties which are
77   List<FieldDetails>
78 * Bug 642866 — tp-lowlevel leaks TpChannel
79 * Bug 642861 — FolksLinkedHashSet still alive when exiting Empathy
80 * Bug 642493 — Folks needs API for specifying a contact's organisation
81 * Bug 642500 — Folks needs API for specifying a contact's birthday
82 * Bug 642501 — Folks needs API for attaching notes to a Contact
83 * Bug 641210 — Add interface for postal addresses
84 * Bug 643956 — Use the correct signal name for postal addresses
85 * Bug 643954 — Add to_string () to PostalAddress class
86 * Bug 643955 — Add to_string () to RoleOwner class
87 * Bug 643957 — Deal handle birthday and postal-addresses.
88 * Bug 644457 — Handle structured names
89 * Bug 644165 — An individual's avatar shouldn't be replaced by a null avatar
90
91 API changes:
92 * Add RoleDetails interface
93 * Add BirthdayDetails interface
94 * Add NoteDetails interface
95 * Add PostalAddressDetails interface
96 * Rename Aliasable -> AliasDetails
97 * Rename AvatarOwner -> AvatarDetails
98 * Rename Emailable -> EmailDetails
99 * Rename Favouritable -> FavouriteDetails
100 * Rename GenderOwner -> GenderDetails
101 * Rename Groupable -> GroupDetails
102 * Rename IMable -> ImDetails
103 * Rename NameOwner -> NameDetails
104 * Rename Phoneable -> PhoneDetails
105 * Rename PresenceOwner -> PresenceDetails
106 * Rename Urlable -> UrlDetails
107
108 Overview of changes from libfolks 0.3.5 to libfolks 0.3.6
109 =========================================================
110
111 This is just a repackaging of libfolks 0.3.5 with some documentation comment
112 version numbers fixed.
113
114 Overview of changes from libfolks 0.3.4 to libfolks 0.3.5
115 =========================================================
116
117 Major changes:
118 * Various API breaks and improvements, especially in the IndividualAggregator
119 * Add various new interfaces: NameOwner, FieldDetails, Urlable, GenderOwner,
120   Phoneable and Emailable
121
122 API changes:
123 * Add NameOwner interface
124 * Add FieldDetails interface
125 * Add Urlable interface
126 * Add GenderOwner interface
127 * Add Phoneable interface
128 * Add Emailable interface
129 * Add Tpf.Persona.is_in_contact_list
130 * Rename the URLable interface to Urlable
131 * Take a PersonaStore in IndividualAggregator.add_persona_from_details
132 * Remove IndividualAggregatorError.STORE_NOT_FOUND
133 * Rename the getter for BackendStore.enabled_backends from
134   folks_backend_store_get_enabled_backends() to
135   folks_backend_store_dup_enabled_backends()
136 * Rename BackendStore.get_backend_by_name() to .dup_backend_by_name()
137
138 Bugs fixed:
139 * Bug 640901 — Allow it to be determined whether a user Tpf.Persona is in the
140   contact list
141 * Bug 641780 — Incorrect C function names for URLable interface
142 * Bug 629078 — Folks needs a full API review to take advantage of our
143   compatibility break in 0.2.x
144 * Bug 642036 — No way to pass a message when adding a contact
145
146 Overview of changes from libfolks 0.3.3 to libfolks 0.3.4
147 =========================================================
148
149 Major changes:
150 * Add folks-inspect tool
151 * The use of the new LinkedHashSet type in the API may make libgee a requirement
152   for some clients (to take full advantage of its class lineage).
153
154 API changes:
155 * New type: LinkedHashSet, similar to Gee.HashSet, but ordered.
156 * IMable.im_addresses is now a mapping of string to LinkedHashSet.
157 * Rename the HasAvatar interface to AvatarOwner
158 * Rename the HasPresence interface to PresenceOwner
159
160 Bugs fixed:
161 * Bug 637240 — libfolks-telepathy.so exports private symbols
162 * Bug 638311 — Add a HACKING file that outlines development policies and
163   coding style
164 * Bug 629083 — Review coding conventions in folks
165 * Bug 629075 — Add folks command line application
166 * Bug 638609 — libfolks hard-codes backend names for debugging
167 * Bug 639195 — Print stack traces for failed tests to improve remote
168   debugging
169 * Bug 639113 — Add static aggregation tests
170 * Bug 639742 — Logger service unavailable in make check
171 * Bug 640213 — Add tests for LinkedHashSet
172 * Bug 627397 — Use better interface names
173
174 Overview of changes from libfolks 0.3.2 to libfolks 0.3.3
175 =========================================================
176
177 Major changes:
178 * Fix some minor leaks
179 * Add support for building gtk-doc documentation for the C API
180 * Fix some related documentation problems
181 * Fix some Vala problems caused by differences between Vala 0.10 and 0.12
182 * Finish off renaming interfaces (this is an API break; see below)
183 * Don't trust personas from IRC
184 * Handle invalid IM addresses more gracefully than with an assertion failure
185 * Fix a linking problem with the user's individual when going offline which
186   could lead to infinite loops
187
188 API changes:
189 * Rename the Avatar interface to HasAvatar
190 * Rename the Presence interface to HasPresence
191 * Rename the Favourite interface to Favouritable
192 * Add IMableError
193 * Throw IMableError from IMable.normalise_im_address()
194
195 Bugs fixed:
196 * Bug 635178 — Leak in
197   folks_tp_lowlevel_connection_open_contact_list_channel_async
198 * Bug 635649 — autopoint fails to run
199 * Bug 635703 — Leak in connection_get_requestable_channel_classes_cb
200 * Bug 635823 — [PATCH] telepathy test not linking against GIO
201 * Bug 636251 — Fails to add contact
202 * Bug 629526 — Generate gtk-doc documentation
203 * Bug 627397 — Use better interface names
204 * Bug 636714 — Assertion failure on invalid IM address
205 * Bug 637136 — Infinite loop when disconnecting accounts
206
207 Overview of changes from libfolks 0.3.1 to libfolks 0.3.2
208 ==========================================================
209
210 Major changes:
211 * BackendStore.load_backends() now (un)loads backends which have been
212   (dis|en)abled since the last call
213 * FOLKS_BACKEND_DIR has been replaced by FOLKS_BACKEND_PATH. It accepts any
214   number of files and directories, separated by :
215 * Significantly clean up the build system
216
217 API changes:
218 * Added BackendStore.prepare() and BackendStore::is-prepared
219 * Add BackendStore.enable_backend().
220 * Add BackendStore.disable_backend().
221 * Add BackendStore.unprepare().
222 * Remove casting convenience methods on Individual (casting isn't hard)
223 * Change the visibility of the setters of PersonaStore.type_id,
224   PersonaStore.display_name, PersonaStore.id, Backend.name,
225   Backend.persona_stores and Persona.linkable_properties. This removes the
226   corresponding C setter methods which should never have been exposed
227 * Remove Tpf.PersonaError
228 * Remove the exception from the Tpf.Persona constructor
229
230 Bugs fixed:
231 * Bug 629081 — Add API to allow specific backends to be disabled
232 * Bug 629862 — Add tests for the key-file backend
233 * Bug 628883 — Add localisation support
234 * Bug 633718 — Make the Folks releases buildable without vala, valadoc, or
235   g-i
236 * Bug 633080 — Crash when disconnecting twice
237
238 Overview of changes from libfolks 0.3.0 to libfolks 0.3.1
239 ==========================================================
240
241 Major changes:
242 * Tpf.Persona.contact is now guaranteed to have the client type feature
243
244 API changes:
245 * Add the PersonaStore:can-add-personas property
246 * Add the PersonaStore:can-remove-personas property
247 * Add the PersonaStore:can-alias-personas property
248 * Add the PersonaStore:can-group-personas property
249 * Make Individual implement the IMable interface
250
251 Bugs fixed:
252 * Bug 630431 — notify::alias is never emitted
253 * Bug 631864 — Crash when empathy disconnects
254 * Bug 632096 — build failure: contact-retrieval.o: undefined reference to
255   symbol 'gee_abstract_collection_add'
256 * Bug 632163 — Folks key-file backend needs a way to point to a specific
257   .ini file
258 * Bug 632564 — assertion `EMPATHY_IS_CONTACT (contact)' failed in
259   individual_store_contact_sort
260
261 Overview of changes from libfolks 0.1.17 to libfolks 0.3.0
262 ==========================================================
263
264 Major changes:
265 * Fixed some linking problems
266 * Added some missing documentation
267 * Fixed build problems introduced by switching to gobject-introspection 0.9.6
268   (i.e. GIR format 1.2)
269 * Bumped telepathy-glib dependency to 0.11.16
270 * Bumped Vala dependency to 0.10.0
271 * Bumped gobject-introspection dependency to 0.9.6
272 * Ensured IM addresses are normalised before being compared
273 * Made the folks-import build optional through a configure argument
274 * Added support for a “self” individual
275 * Added support for generating and installing Devhelp format documentation
276 * BackendStore.load_backends and the prepare() functions are now idempotent
277 * Tpf.Persona.contact is now guaranteed to have the avatar token and data
278   features
279 * Tpf.Persona.contact is now guaranteed to have the capabilities feature
280
281 API changes:
282 * Added IMable.normalise_im_address()
283 * Renamed Groups interface to Groupable
284 * Renamed Alias interface to Aliasable
285 * Removed BackendStore constructor
286 * Added BackendStore.dup()
287 * Added BackendStore::enabled-backends
288 * Added Individual::is-user
289 * Added Persona::is-user
290 * Added IndividualAggregator::user
291 * Added PersonaStoreError.UNSUPPORTED_ON_USER
292 * Added {IndividualAggregator, PersonaStoreError}.STORE_OFFLINE, used by the
293   respective add_persona_from_details() functions
294
295 Bugs fixed:
296 * Bug 629452 — [Patch] Add missing gio linking for import-tool
297 * Bug 626008 — Add @since lines to all symbols
298 * Bug 629311 — Folks should normalize IDs written to the writable backend
299 * Bug 629644 — Key file backend cannot be loaded because of linking problems
300 * Bug 629666 — libfolks should not hard autodetect libxml
301 * Bug 628970 — Folks API needs a way to determine whether a specific type of
302   PersonaStore is available
303 * Bug 629096 — Add a library init function
304 * Bug 627402 — Support marking FolksPersonas as "me"
305 * Bug 629642 — individuals-changed emitted in the wrong order
306 * Bug 629643 — do not fall back to the id if alias is empty
307 * Bug 629006 — PersonaStore should gracefully handle offline Persona change
308   attempts
309 * Bug 629331 — BackendStore.load_backends and the prepare() functions should
310   be idempotent.
311 * Bug 629008 — Add a test for Persona additions
312 * Bug 630347 — Avatars are always NULL
313
314 Overview of changes from libfolks 0.1.16 to libfolks 0.1.17
315 ===========================================================
316
317 Major changes:
318 * Added a basic test suite
319 * Cleaned up the build system
320 * Ensured the public libraries' VAPI files are distributed and installed
321 * Prevented the key-file from being saved unnecessarily
322 * Fixed multi-byte character handling in the key-file backend
323 * Ensured account removal and invalidation is handled in the Telepathy backend
324 * Prevented a hang when creating relationships.ini in certain situations
325 * Added a folks-import tool to import meta-contact data from Pidgin; this adds
326   a dependency on libxml
327
328 API changes:
329 * Added PersonaStore.flush()
330
331 Bugs fixed:
332 * Bug 628930 — folks crahses empathy on relationships.ini read
333 * Bug 629082 — Empathy crashes when toggling "Ignore SSL certificate errors"
334   checkbox
335 * Bug 628853 — hangs if there's no relationships.ini file
336 * Bug 629084 — Add a folks-import tool
337
338 Overview of changes from libfolks 0.1.15 to libfolks 0.1.16
339 ===========================================================
340
341 Major changes:
342 * Added more debugging output
343 * Fixed various small outputted code bugs
344 * Fixed problem where key file groups would be overwritten in some situations
345 * Fixed various signal emission problems
346 * Prevented changes to Personas' properties from being propagated back up to the
347   Individuals
348 * Limited libgee dependency to < 0.7 due to API changes in libgee
349 * Added a FOLKS_DISABLE_LINKING environment variable to disable linking (for
350   debugging purposes)
351
352 Bugs fixed:
353 * Bug 628108 — Favorite contacts are not save any more
354 * Bug 628294 — Some contacts appear to be linked together while they shouldn't
355 * Bug 628305 — Signal removal of Individuals containing untrusted Personas
356 * Bug 628131 — error message when trying to link ICQ with jabber
357 * Bug 628343 — Add an environment variable to disable linking
358 * Bug 628335 — Assertion error with master
359
360 Overview of changes from libfolks 0.1.14.1 to libfolks 0.1.15
361 =============================================================
362
363 Major changes:
364 * Fixed various build problems
365 * Ensured duplicate entries don't appear in various sets
366 * Made gobject-introspection dependency explicit
367 * Limited libgee dependency to <= 0.5.2 due to API changes in libgee
368 * Reworked some of the Individual internals to make notifications more efficient
369 * Added the concept of an Individual's “trust level”
370 * Changed alias fallbacks to fall back to a display ID instead of a UID
371 * Added support for storing aliases in the key-file backend and use them in
372   preference to aliases from other Personas in an Individual
373
374 API changes:
375 * Added Individual:personas-changed
376 * Added TrustLevel enum
377 * Added Individual::trust-level
378 * Implemented Alias on Kf.Persona
379
380 Bugs fixed:
381 * Bug 627314 — folks cannot be install in gentoo sandbox
382 * Bug 627506 — Require gobject-introspection
383 * Bug 626725 — Add an Individual.personas_changed signal
384 * Bug 627968 — Add Individual.trust_level property
385 * Bug 626578 — Use vala's vala.m4 to check for telepathy-glib(.vapi)
386 * Bug 626410 — contacts show up with a weird alias
387 * Bug 627508 — Store alias and groups in the key-file backend
388 * Bug 627898 — Fails to install with -j4
389
390 Overview of changes from libfolks 0.1.14 to libfolks 0.1.14.1
391 =============================================================
392
393 Major changes:
394 * Bumped Vala dependency to 0.9.6
395 * Fixed some more warning spew
396
397 Overview of changes from libfolks 0.1.13 to libfolks 0.1.14
398 ===========================================================
399
400 Major changes:
401 * Changed Vala detection code to use the correct macro
402 * Bumped Vala dependency to 0.9.5
403 * Removed some more message spew
404 * Changed tp-lowlevel Vala bindings to be generated using gobject-introspection
405 * Added optional dependency on gobject-introspection 0.6.7
406
407 Overview of changes from libfolks 0.1.12 to libfolks 0.1.13
408 ===========================================================
409
410 Major changes:
411 * Added the concept of “linkable properties”
412 * Added the IMable interface
413 * Added the concept of persona store “trust”
414 * Added a writeable key-file backend
415 * Added linking support to the IndividualAggregator
416 * Tidied up ID handling in the backends
417 * Warn if a backend's MIME type could not be determined, notifying the user if
418   libfolks can't load backends due to shared-mime-info not being installed
419 * Hint to clients the Individual replacing a removed Individual (if any)
420 * Exposed Telepathy contacts' IM addresses using the IMable interface
421 * Fixed some build and dependency issues
422 * Bumped telepathy-glib dependency to 0.11.11 and dropped dependency on
423   telepathy-vala
424 * Added the concept of “writeable” PersonaStores and use this concept to prevent
425   properties being synchronised between PersonaStores unnecessarily (and
426   potentially even destructively)
427
428 API changes:
429 * Added Persona::linkable-properties
430 * Added IMable interface
431 * Added PersonaStoreTrust enum
432 * Added PersonaStore::trust-level
433 * Added Persona.LinkablePropertyCallback()
434 * Added Persona.linkable_property_to_links()
435 * Added Persona.build_uid()
436 * Added Persona.split_uid()
437 * Added Persona::display-id
438 * Added PersonaStore::display-name
439 * Added replacement_individual parameter to Individual:removed
440 * Implemented IMable on Tpf.Persona
441 * Added IndividualAggregatorError.NO_WRITEABLE_STORE
442 * Added IndividualAggregator.link_personas()
443 * Added IndividualAggregator.unlink_individual()
444 * Added PersonaStore::is-writeable
445
446 Bugs fixed:
447 * Bug 625830 — Adding an existing contact to the tp backend results in bogus
448   warnings
449 * Bug 626108 — Defining XDG_DATA_DIRS prevents backends from being loaded
450
451 Overview of changes from libfolks 0.1.11 to libfolks 0.1.12
452 ===========================================================
453
454 Major changes:
455 * Added debug flags support using the FOLKS_DEBUG environment variable
456 * Removed various bits of message and warning spew
457 * Bumped Vala dependency to 0.9.4
458 * Ensured connections which are ready as soon as they're connected are handled
459   correctly
460 * Versioned the installed backends using the main library's libtool version
461
462 Bugs fixed:
463 * Bug 625815 — No contat showed in the contact list
464
465 Overview of changes from libfolks 0.1.10 to libfolks 0.1.11
466 ===========================================================
467
468 Major changes:
469 * Moved various bits of preparation code out into async prepare() methods to
470   avoid race conditions on startup
471 * Reset TpfPersonaStore state when going offline
472 * Made several methods async which could potentially require it in future
473 * Added error throws to various functions which could potentially fail in future
474
475 API changes:
476 * Added PersonaStore.prepare()
477 * Added Backend.prepare()
478 * Removed error thrown from Backend constructor
479 * Added IndividualAggregator.prepare()
480 * Changed return type of Presence.is_online() from uint to int
481 * Made IndividualAggregator.remove_individual() async
482 * Made PersonaStore.remove_persona() async
483 * Added an error throw to BackendStore.load_backends()
484 * Added an error throw to IndividualAggregator.prepare()
485 * Added an error throw to IndividualAggregator.remove_individual()
486 * Added an error throw to IndividualAggregator.remove_persona()
487 * Added an error throw to PersonaStore.remove_persona()
488 * Made Groups.change_group() async
489 * Made Groups:group-changed async
490
491 Overview of changes from libfolks 0.1.9 to libfolks 0.1.10
492 ==========================================================
493
494 Major changes:
495 * Fixed various memory and reference leaks
496 * Lots of build system improvements
497 * Added a libtool version to the installed libraries
498
499 Initial release of libfolks 0.1.9
500 =================================
501
502 Major changes:
503 * Move to GNOME infrastructure