Skip to content

Latest commit

 

History

History
398 lines (320 loc) · 12.1 KB

CHANGELOG.md

File metadata and controls

398 lines (320 loc) · 12.1 KB

Teknoo Software - Sellsy client library - Change Log

[3.0.28] - 2024-11-25

Stable Release

  • Fix deprecation with PHP 8.4

[3.0.27] - 2023-11-29

Stable Release

  • Update dev lib requirements

[3.0.26] - 2023-05-15

Stable Release

  • Update dev lib requirements
  • Update copyrights

[3.0.25] - 2023-04-28

Stable Release

  • Support of last PSR7

[3.0.24] - 2023-04-16

Stable Release

  • Update dev lib requirements
  • Support PHPUnit 10.1+
  • Migrate phpunit.xml

[3.0.23] - 2023-04-11

Stable Release

  • Allow psr/http-message 2

[3.0.22] - 2023-04-02

Stable Release

  • Add RateLimitTransport to manage rate limiting system of Sellsy to prevent abuse of the API. Thanks to Julien Herr.

[3.0.21] - 2023-03-12

Stable Release

  • Q/A

[3.0.20] - 2023-02-11

Stable Release

  • Remove phpcpd and upgrade phpunit.xml

[3.0.19] - 2023-02-03

Stable Release

  • Update dev libs to support PHPUnit 10 and remove unused phploc

[3.0.18] - 2022-11-16

Stable Release

  • Remove support of PHP 8.0. But composer.json stell compliant with 7.4+ but no bugfix for theses versions will be released

[3.0.17] - 2022-03-28

Stable Release

  • Methods's collection can be called in camel case from the client : $sellsy->Infos() => $sellsy->infos(). Original notation still available Thanks to @tgeorgel for this contribution (PR 28)

[3.0.16] - 2022-03-14

Stable Release

  • Support Teknoo Immutable 3.0

[3.0.15] - 2022-01-18

Stable Release

  • Support Document.getNumberingDraftStatus

[3.0.14] - 2021-12-12

Stable Release

  • Remove unused QA tool

[3.0.13] - 2021-11-11

Stable Release

Switch to PHPStan 1.1+

[3.0.12] - 2021-07-05

Stable Release

Reference :

  • Client.updateSharingStaffs
  • Peoples.updateSharingStaffs
  • Opportunities.updateSharingStaffs
  • Prospects.updateSharingStaffs

[3.0.11] - 2021-07-05

Stable Release

  • Update documents and dev libs requirements
  • Some display improvements

[3.0.10] - 2021-05-31

Stable Release

  • Minor version about libs requirements

[3.0.9] - 2021-03-21

Stable Release

  • Fix license in header
  • QA

[3.0.8] - 2020-12-17

Stable Release

  • Fix Docrows typo to DocRows #26

[3.0.7] - 2020-12-03

Stable Release

  • Official Support of PHP8

[3.0.6] - 2020-10-15

Stable Release

  • Fix minimum stability required

[3.0.5] - 2020-10-12

Stable Release

  • Prepare library to support also PHP8.

[3.0.4] - 2020-09-18

Stable Release

  • Update QA and CI tools
  • fix minimum requirement about psr/http-factory and psr/http-message

[3.0.3] - 2020-08-25

Stable Release

Update

  • Update libs and dev libs requirements

[3.0.2] - 2020-07-17

Stable Release

Change

  • Add travis run also with lowest dependencies.

[3.0.1] - 2020-07-09

##Stable Release

Fix

  • Hashbang has to be #!/usr/bin/env php, not #!/usr/bin/php (@MoogyG)

[3.0.0] - 2020-06-12

##Stable Release

Add

  • Improve errors management from returns of API. All errors and exceptions thrown by the API are now mapped to an explicit PHP exception
  • Improve result management: key/values are directly accessible, as object's property from the result object, thanks to voku/arrayy
  • Improve result object, error message is now accessible from dedicated getter.
  • Add Asynchronous requests capabilities

Changes

  • Rename oauthAccessToken to oauthUserToken to follow Sellsy api change
  • Change makefile behavior for test target to auto enable xdebug to check coverage
  • Remove dependence to php-http/async-client-implementation
  • Remove some methods into PromiseInterface to keep only essentials methods.
  • Migrate some methods into TransportInterface to use some PSR 17 interface (RequestFactory and UriInterface)
  • Update TransportInterface 's Stream factory method to pass also Request object
  • Add HttpPlug implementation as Support to support other libraries
  • Most methods have been updated to include type hints where applicable. Please check your extension points to make sure the function signatures are correct. _ All files use strict typing. Please make sure to not rely on type coercion.
  • PHP 7.4 is the minimum required
  • Switch to typed properties
  • Remove some PHP useless DockBlocks
  • Replace array_merge by "..." operators
  • Enable PHPStan in QA Tools
  • Update copyright
  • Fix PSR4 issue with tests
  • Synchronize API definitions
  • Switch Guzzle6 and HttpPlug implementations from main namespace to dedicated infrastructures namespace :
    • Teknoo\Sellsy\Transport\Guzzle6 become Teknoo\Sellsy\Guzzle6\Transport\Guzzle6
    • Teknoo\Sellsy\Transport\Guzzle6Promise become Teknoo\Sellsy\Guzzle6\Transport\Guzzle6Promise
    • Teknoo\Sellsy\Transport\HttpPlug become Teknoo\Sellsy\Guzzle6\Transport\HttpPlug
    • Teknoo\Sellsy\Transport\HttpPlugPromise become Teknoo\Sellsy\Guzzle6\Transport\HttpPlugPromise

[3.0.0-beta9] - 2020-05-29

Fix

  • Remove empty Expect HTTP header in Client
  • Fix "400 Bad request" on Document.create #22 (Thanks @fdglefevre)

[3.0.0-beta8] - 2020-03-12

Change

  • Switch Guzzle6 and HttpPlug implementations from main namespace to dedicated infrastructures namespace :
    • Teknoo\Sellsy\Transport\Guzzle6 become Teknoo\Sellsy\Guzzle6\Transport\Guzzle6
    • Teknoo\Sellsy\Transport\Guzzle6Promise become Teknoo\Sellsy\Guzzle6\Transport\Guzzle6Promise
    • Teknoo\Sellsy\Transport\HttpPlug become Teknoo\Sellsy\Guzzle6\Transport\HttpPlug
    • Teknoo\Sellsy\Transport\HttpPlugPromise become Teknoo\Sellsy\Guzzle6\Transport\HttpPlugPromise

[3.0.0-beta8] - 2020-03-12

Change

  • Switch Guzzle6 and HttpPlug implementations from main namespace to dedicated infrastructures namespace :
    • Teknoo\Sellsy\Transport\Guzzle6 become Teknoo\Sellsy\Guzzle6\Transport\Guzzle6
    • Teknoo\Sellsy\Transport\Guzzle6Promise become Teknoo\Sellsy\Guzzle6\Transport\Guzzle6Promise
    • Teknoo\Sellsy\Transport\HttpPlug become Teknoo\Sellsy\Guzzle6\Transport\HttpPlug
    • Teknoo\Sellsy\Transport\HttpPlugPromise become Teknoo\Sellsy\Guzzle6\Transport\HttpPlugPromise

[3.0.0-beta7] - 2020-03-11

Change

  • Fix PSR4 issue with tests
  • Synchronize API definitions

[3.0.0-beta6] - 2020-02-12

Change

  • Rename oauthAccessToken to oauthUserToken to follow Sellsy api change

[3.0.0-beta5] - 2020-02-12

Change

  • Rename oauthAccessToken to oauthUserToken to follow Sellsy api change
  • Change makefile behavior for test target to auto enable xdebug to check coverage

[3.0.0-beta4] - 2020-01-29

Change

  • Remove dependence to php-http/async-client-implementation

[3.0.0-beta3] - 2020-01-29

Change

  • Fix QA
  • Update requirement for dev tools

[3.0.0-beta2] - 2020-01-26

Change

  • Remove some methods into PromiseInterface to keep only essentials methods.
  • Migrate some methods into TransportInterface to use some PSR 17 interface (RequestFactory and UriInterface)
  • Update TransportInterface 's Stream factory method to pass also Request object
  • Add HttpPlug implementation as Support to support other libraries

[3.0.0-beta1] - 2020-01-15

Change

  • Most methods have been updated to include type hints where applicable. Please check your extension points to make sure the function signatures are correct. _ All files use strict typing. Please make sure to not rely on type coercion.
  • PHP 7.4 is the minimum required
  • Switch to typed properties
  • Remove some PHP useless DockBlocks
  • Replace array_merge by "..." operators
  • Enable PHPStan in QA Tools
  • Update copyright

Add

  • Improve errors management from returns of API. All errors and exceptions thrown by the API are now mapped to an explicit PHP exception
  • Improve result management: key/values are directly accessible, as object's property from the result object, thanks to voku/arrayy
  • Improve result object, error message is now accessible from dedicated getter.
  • Add Asynchronous requests capabilities

#[2.0.8] - 2019-12-27

Update

  • Replace PHPMd by PHPStan
  • Fix QA issues spotted by PHPStan
  • Register method Catalogue.getOneByRef
  • Enable check with PHP7.4 in travis

#[2.0.7] - 2019-06-19

Update

  • Methods definitions update
  • Add new definition for ElectronicSign, thanks to @aguerin.
  • Update copyright declaration

#[2.0.6] - 2019-04-14

Update

  • Methods definitions, thanks to @aguerin.

#[2.0.5] - 2018-12-21

Fix

  • Synchronize definitions with API documentations
  • Supplier getList error #14

#[2.0.4] - 2018-08-03

Add

Add Supplier collection methods from Sellsy Api Documentation

#[2.0.3] - 2018-07-11

Fix

Change oauth_nonce generation to avoid collision on several calls. (bis)

#[2.0.2] - 2018-07-11

Fix

Change oauth_nonce generation to avoid collision on several calls

#[2.0.1] - 2018-05-01

Add

Add reference to API endpoint : Document.enablePublicLink and Document.disablePublicLink

[2.0.0] - 2018-04-14

Stable release

[2.0.0-beta2] - 2017-12-07

Fix

  • Fix issue in client, query's parameters must be sent following "Content-Type: multipart/form-data" and not url-form-encoded. (Thanks to Benjamin JeanJean for the help)
  • Fix mistake in the documentation

Updated

  • Set insensitive to the case the collection name and method name (the sellsy api has many inconsistencies)
  • Add tools to check if all methods defined in the Sellsy Api are registered into this library, in definitions
  • Update makefile to checks if all methods of the api are available at each build (daily)
  • Update definitions list from the Sellsy api

[2.0.0-beta1] - 2017-08-01

Updated

  • Update dev libraries used for this project and use now PHPUnit 6.2 for tests.

[2.0.0-alpha4] - 2017-07-24

Fix

  • Fixing a missing return call on Uri PSR7 instance on the Client #4 (Thanks to @gouaille)

[2.0.0-alpha3] - 2017-02-15

Fix

  • Code style fix
  • License file follow Github specs
  • Add tools to checks QA, use make qa and make test, make to initalize the project, (or composer update).
  • Update Travis to use this tool
  • Fix QA Errors

[2.0.0-alpha2] - 2016-12-30

Updated

  • Add an helper into collection to execute directly method without use "{}" in PHP.

[2.0.0-alpha1] - 2016-12-30

  • First release on new version

Updated

  • New management of Collections and Methods with dedicated class, used as proxy to configure the client.
  • Refactoring client to be simpler and the library architecture to facilitating future developments.
  • Refactoring of tests.

Added

  • Support of PSR-7 and by default this library is provided with Guzzle.
  • Transport behavior, build on PSR-7, to customize Sellsy's requests.
  • Result interface to encapsulate Sellsy's return.
  • A front class, used to generate automatically client and collections instance to perform naturally requests to Sellsy.

Removed

  • Dependency to Teknoo/curl-request.
  • Remove Generator.

[1.0.6] - 2016-08-04

Fixed

  • Improve optimization on call to native function and optimized

[1.0.5] - 2016-07-26

Fixed

  • Fix code style with cs-fixer

Updated

  • Improve documentation and add API Doc

[1.0.4] - 2016-04-09

Fixed

  • Fix code style with cs-fixer

[1.0.3] - 2016-02-02

Fixed

  • Fix composer minimum requirements

[1.0.2] - 2016-01-27

Fixed

  • Clean .gitignore

[1.0.1] - 2015-10-27

Changed

  • Migrate from Uni Alteri Organization to Teknoo Software

[1.0.0] - 2015-08-23

Fixed

  • Documentation

[0.8.3-RC] - 2015-05-24

Added

  • Add travis file to support IC outside Uni Alteri's server

[0.8.2-beta] - 2015-05-06

Fixed

  • Code style fixe
  • Wrong parameter for exception - Github issue #1

[0.8.1-beta] - 2015-03-06

Changed

  • Update composer requirements
  • Update documentation

[0.8.0-beta] - 2015-02-20

Fixed

  • Constructor arguments are not mandatory
  • Several bugs in query processing
  • Code style

Changed

  • Use default array notation to be compliant with PHp 5.3

Added

  • Documentation
  • Tests
  • Client generator

[0.1.1] - 2015-02-06

Added

  • Methods to update client configuration
  • Methods collection like on the Sellsy API.

[0.1.0.0] - 2015-02-06

  • Initial version of this library

Changed

  • Fork from official Sellsy library
  • Redesign of this library
  • Fix issues and guidelines violations

Added

  • Composer
  • Uni Alteri cUrl Request library instead of cUrl extension.