Changelog
The websocket on the FacilMap server provides different API versions (implemented as socket.io namespaces such as /
for version 1, /v2
for version 2, etc.) in order to stay backwards compatible with older clients. Each release of facilmap-client is adapted to a particular API version of the server. When upgrading to a new version of the client, have a look at this page to find out what has changed.
v5.0.0 (API v3)
Note: This socket version is still under development and will still change. Do not use it in production yet.
- “symbol” was renamed to “icon” everywhere. This applies to
Marker.symbol
,Type.defaultSymbol
,Type.symbolFixed
,Type.fields[].controlSymbol
andType.fields[].options[].symbol
. - “pad” was renamed “map” everywhere. This applies to the
padData
anddeletePad
socket events andgetPad
(including itspadId
request property), thefindPads
,createPad
,editPad
,deletePad
,setPadId
client/socket methods, thePadNotFoundError
, and theMarker.padId
,Line.padId
,Type.padId
,View.padId
andHistoryEntry.padId
properties.
v4.0.0 (API v2)
- Before, creating a map with an empty name resulted in
padData.name
set to"Unnamed map"
. Now, an empty name will result in""
and the UI is responsible for displaying that in an appropriate way. - Before, creating a marker with an empty name resulted in
marker.name
set to"Untitled marker"
. Now an empty name will result in""
and the UI is responsible for displaying that in an appropriate way. - Before, creating a line with an empty name resulted in
line.name
set to"Untitled line"
. Now an empty name will result in""
and the UI is responsible for displaying that in an appropriate way.