VictorNine / bitwarden-go

A Bitwarden-compatible server written in Golang
MIT License
250 stars 33 forks source link

API Breaking Changes Coming #23

Closed kspearrin closed 6 years ago

kspearrin commented 6 years ago

Just thought you should know that there are some breaking changes coming to cipher API models.

  1. Cipher.Login.Uri on the request and response models is being deprecated in favor of Cipher.Login.Uris, an array of { "Uri": string, "Match": enum }
  2. The cipher response model is being updated to better match the request model. Namely:
    • Data prop is being deprecated.
    • Adding: Name, Notes, and Fields to the root object.
    • Adding: Login, Card, Identity, and SecureNote to the root object (their prop values were part of the dynamic Data property in the past).

Our API will handle these changes in a backwards compatible way for a few iterations since outdated client apps will still be expecting the old models for some time.

These changes are already in the Core API project and refactoring is being done in all client apps over the next few days.

VictorNine commented 6 years ago

Thanks, I'll update

VictorNine commented 6 years ago

Temporary fix implemented. Will work as long as the data field is kept

VictorNine commented 6 years ago

implemented