Skip to content

Commit

Permalink
New Release: v7.0.0 (#93)
Browse files Browse the repository at this point in the history
* BK-685 Create new client library

* BK-686 Create basic structure of the library (#68)

* BK-708 Search engine CRUD (#69)

Also have are created Jwt classes and a little documentation.

* BK-709 Add Indices CRUD methods in PHP library (#70)

* BK-710 Items crud (#71)

* BK-764 Reindex and temporary index (#72)

* BK-765 Search engine process (#74)

* BK-712 Create search request (#75)

* BK-711 Create suggest request (#76)

* BK-785 Create temporal item (#77)

* BK-788 Create find by ids and count items (#78)

* BK-786 Create temporal bulk item (#79)

* BK-787 Create bulk items (#81)

* BK-713 Create init request (#80)

* BK-715 Create redirection request (#83)

* BK-716 Create banner click request (#84)

* BK-714 Create checkout request (#82)

* BK-717 Create click request (#85)

* BK-718 Create Add to cart request (#86)

* BK-719 Create remove from cart request (#87)

* BK-719  Create clear cart request (#88)

* BK-811 Generate documentation (#89)

* update to use v6 (#94)

* refactor Stat class into Stats

* autoload restored

* Search client api documentation

* update doc index

* autoload autogenerated

* github actions

* git actions push pull

* composer ci adjustment

* php version actions

* php version ci

* update ci file

* ci.yml update

* ci updated with tests

* composer version adjustment ci

* improvements and fixes

* ci.yml format

* tests CI v1

* tests CI

* deleted unused tag

* travis deletion

* update lib version to 7.0.0

* update composer. Delete package require on itself

* homepage url updated

* changelog restored

* badge status CI

Co-authored-by: Gabriel <[email protected]>
Co-authored-by: GLagunilla <[email protected]>
Co-authored-by: Carlos Axel Castex Gudiño <[email protected]>
Co-authored-by: Carlos Axel Castex Gudiño <[email protected]>
  • Loading branch information
5 people authored Oct 6, 2022
1 parent 17f4753 commit 6ed2546
Show file tree
Hide file tree
Showing 252 changed files with 49,577 additions and 34,549 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: CI
on: [push, pull_request]

jobs:
build:
name: PHP ${{ matrix.php }} Build
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ ubuntu-latest ]
php: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4' ]

steps:
- uses: actions/checkout@v3

- name: Validate composer.json and composer.lock
id: composer-validate
run: composer validate --no-check-all # Do not emit a warning if requirements in composer.json use unbound or overly strict version constraints.

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
id: composer-install
run: composer install --prefer-dist --no-progress --ignore-platform-reqs

php-unit-tests:
name: PHP ${{ matrix.php }} Unit Tests
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ ubuntu-latest ]
php: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4' ]

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install composer dependencies
run: composer install --prefer-dist --no-progress --ignore-platform-reqs

- name: Run PHPUnit
run: vendor/bin/phpunit tests
7 changes: 2 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
*~
.DS_Store
*.diff
*.sublime-project
*.sublime-workspace
.idea
vendor/*
.phpdoc
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [7.0.0] - 2022-10-06
### Changed
- Tests changed.
- Travis CI tests enhancements deleted
- Github CI tests implemented
- Client for Search API v6.

## [6.1.2] - 2020-10-20
### Changed
- Added response body to error classes.
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[![Build Status](https://api.travis-ci.org/doofinder/php-doofinder.svg?branch=master)](https://travis-ci.org/doofinder/php-doofinder)
[![CI](https://github.com/doofinder/php-doofinder/actions/workflows/ci.yml/badge.svg)](https://github.com/doofinder/php-doofinder/actions/workflows/ci.yml)

# Official PHP Client for Doofinder

- [Management Client Documentation](src/Management/README_MANAGEMENT.md)
- [Search Client Documentation](src/Search/README_SEARCH.md)

21 changes: 0 additions & 21 deletions autoload.php

This file was deleted.

38 changes: 24 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "doofinder/doofinder",
"version": "6.2.0",
"name": "doofinder/php-doofinder",
"version": "7.0.0",
"type": "library",
"description": "Doofinder PHP API Client",
"keywords": [
Expand All @@ -27,27 +27,37 @@
"role": "Developer"
},
{
"name": "Swagger and contributors",
"homepage": "https://github.com/swagger-api/swagger-codegen"
"name": "Gabriel Lagunilla",
"email": "[email protected]",
"role": "Developer"
},
{
"name": "Carlos Axel Castex Gudiño",
"email": "[email protected]",
"role": "Developer"
}
],
"require": {
"php": ">=5.6",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"guzzlehttp/guzzle": "~7.3"
},
"require-dev": {
"phpunit/phpunit": "4.8.*",
"php-mock/php-mock-phpunit": "1.1.*",
"squizlabs/php_codesniffer": "~2.6"
"ext-dom": "*"
},
"autoload": {
"psr-4": {
"Doofinder\\": "src/",
"Doofinder\\Search\\": "src/Search/",
"Doofinder\\Management\\" : "src/Management/",
"DoofinderManagement\\" : "src/Management/PhpClient/"
"Doofinder\\Management\\": "src/Management/",
"DoofinderManagement\\": "src/Management/PhpClient/"
}
},
"require-dev": {
"phpunit/phpunit": "5.*",
"php-mock/php-mock-phpunit": "1.1.*"
},
"scripts": {
"remove-documentation": "rm -rf doc/*",
"generate-documentation": "php phpDocumentor.phar -d src/ -t doc/",
"tests": "php vendor/bin/phpunit tests/"
}
}
}
Loading

0 comments on commit 6ed2546

Please sign in to comment.