Skip to content

Releases: openfoodfacts/openfoodfacts-php

v0.3.0

01 May 08:08
885b2e9
Compare
Choose a tag to compare

Features

Bug Fixes

Support Guzzle 7.x and update API

10 Nov 20:39
e48e090
Compare
Choose a tag to compare

This Release containes

  • support for Guzzle 7.x
  • updated some API Endpoints
  • Bug fixing
  • Performance Improvement

Bugfix: Correct naming/autoloading for RecursiveSortingTrait

05 Mar 13:49
05d06f5
Compare
Choose a tag to compare
Merge pull request #19 from mikaelcom/feature/recursiveSortingTrait

Fix for https://github.com/openfoodfacts/openfoodfacts-php/issues/18

Bugfix: Re-add API reference to Documents

25 Feb 15:50
63f1460
Compare
Choose a tag to compare
Merge pull request #17 from Dwarfex/master

re-add Api-Info into Document

Typed Documents and sorted raw data

25 Feb 11:10
c776116
Compare
Choose a tag to compare

This release adds typed Documents for each API

  • OpenFoodFacts\Document\FoodDocument;
  • OpenFoodFacts\Document\PetDocument;
  • OpenFoodFacts\Document\BeautyDocument;
  • OpenFoodFacts\Document\ProductDocument;
    These all extend from the fromer used OpenFoodFacts\Document - so no breaking interfaces.

The Document Class now also has a function "getData()" which returns the array representation of the Document.
As the OFF-API returns a randomly ordered JSON on each call, the function also recursively sorts the data by key and string.

Updated README for better usage.

Cache & HTTP Client DI

10 Oct 16:29
d5fc3b1
Compare
Choose a tag to compare
Merge pull request #13 from Dwarfex/cache-DI

Cache & HTTP Client DI