Skip to content

Releases: flooris/ergonode-api-laravel

Multi Language Support

03 Feb 08:20
87e4c0c
Compare
Choose a tag to compare

What's Changed

  • Multi language support by @TimBlommestijn-flooris in #11

Full Changelog: 0.5.4...0.5.5

Changes from Pull Request 11

  • added LanguageClient
  • added LanguageBaseModel
  • added LanguageModel
  • added function resolveTranslationsOnProductResource to resolve translation of attributes from the product.
  • updated productModel to have a $translations array
  • added setLocale function to the connector to retrieve values from a different language
  • added a languages function to access LanguageClient

Ergonode authentication update

27 Aug 13:40
bb6888f
Compare
Choose a tag to compare
  • Created custom ErgnodeConnectionError
  • Changed the connector to authenticate once a request is being send if its not authenticated
  • Updated the Authenticator to have a function that checks the cache tokens
  • Updated the Authenticator to use the ErgonodeConnectionError when the login fails

Added create and update methods for the productClient

25 Aug 11:09
9b538a5
Compare
Choose a tag to compare

Added functionalities

  • added a create method in the productClient
  • added a update method in the productClient
  • added a patch method in the Connector for the update requests

0.3.7

17 Aug 07:15
3d02a7d
Compare
Choose a tag to compare

Bugfix: Ergonode connection will not throw an error when credentials are not given in env until an actual request is made.

Adding the client of AttributeOption with a few fixes

06 Aug 08:46
Compare
Choose a tag to compare

Full list of changes:

  • Client of AttributeOption has been added
  • Extra function on AttributeOption to get all the options of an attribute, including id, code and label
  • Code formatting
  • The model factory will now provide the ID as key when resolving a multi select element from the template

Can get a Collection of ProductListItemModel with the given columns (locale specific attributes)

21 May 12:33
842390f
Compare
Choose a tag to compare

Functionalities added:

  • Added productsList to the ErgonodeApi for retrieving a list of products incl. the given columns
  • Added a option function on the AttributeClient, this can get the option of an attribute
  • Added a function that gets the value of an option of an attribute to the ErgonodeObjectApiAbstract