Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Commit 823e566

Browse files
author
Jens Schulze
committed
update changelog and urls to new repository
1 parent e0c17c7 commit 823e566

File tree

7 files changed

+70
-17
lines changed

7 files changed

+70
-17
lines changed

CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,56 @@
1+
<a name"1.0.0-RC2"></a>
2+
### 1.0.0-RC2 (2015-08-03)
3+
4+
5+
#### Bug Fixes
6+
7+
* **ProductVariantDraft:** add images definition ([971cfbf4](https://github.com/sphereio/commercetools-php-sdk/commit/971cfbf4), closes [#135](https://github.com/sphereio/commercetools-php-sdk/issues/135))
8+
9+
10+
#### Breaking Changes
11+
12+
* SphereException and SphereServiceException have been renamed to ApiException and ApiServiceException
13+
14+
Before
15+
```
16+
try {
17+
...
18+
} catch(SphereException $e) {
19+
}
20+
```
21+
22+
After:
23+
24+
```
25+
try {
26+
...
27+
} catch(ApiException $e) {
28+
}
29+
```
30+
31+
([813a6cb7](https://github.com/sphereio/commercetools-php-sdk/commit/813a6cb7))
32+
* Namespace Sphere has been renamed to Commercetools
33+
34+
Namespace and Use statements and fully qualified class names have to be adjusted. E.g.
35+
36+
Before
37+
```
38+
use Sphere\Core\Client;
39+
40+
$class = '\Sphere\Core\Client';
41+
```
42+
43+
After:
44+
45+
```
46+
use Commercetools\Core\Client;
47+
48+
$class = '\Commercetools\Core\Client';
49+
```
50+
51+
([4bc9575f](https://github.com/sphereio/commercetools-php-sdk/commit/4bc9575f))
52+
53+
154
<a name"1.0.0-RC1"></a>
255
### 1.0.0-RC1 (2015-07-27)
356

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
> STATUS: Release Candidate 1. We have done all planned breaking changes and ask you to really use this API thoroughly now, especially the API design and object structure. Thank you very much!
44
>
5-
> See the [Milestone Plan](https://github.com/sphereio/sphere-php-sdk/milestones?direction=desc&sort=completeness&state=open) for details of what's planned in detail. We love feedback and [Issue reports](https://github.com/sphereio/sphere-php-sdk/issues?q=is%3Aopen+is%3Aissue+sort%3Acreated-asc)!
6-
> Up-to-Date planning status can be found on this [Waffle Board](https://waffle.io/sphereio/sphere-php-sdk)
5+
> See the [Milestone Plan](https://github.com/sphereio/commercetools-php-sdk/milestones?direction=desc&sort=completeness&state=open) for details of what's planned in detail. We love feedback and [Issue reports](https://github.com/sphereio/commercetools-php-sdk/issues?q=is%3Aopen+is%3Aissue+sort%3Acreated-asc)!
6+
> Up-to-Date planning status can be found on this [Waffle Board](https://waffle.io/sphereio/commercetools-php-sdk)
77
8-
[![Build Status](https://img.shields.io/travis/sphereio/sphere-php-sdk/master.svg?style=flat-square)](https://travis-ci.org/sphereio/sphere-php-sdk) [![Scrutinizer](https://img.shields.io/scrutinizer/g/sphereio/sphere-php-sdk.svg?style=flat-square)](https://scrutinizer-ci.com/g/sphereio/sphere-php-sdk/) [![Scrutinizer](https://img.shields.io/scrutinizer/coverage/g/sphereio/sphere-php-sdk.svg?style=flat-square)](https://scrutinizer-ci.com/g/sphereio/sphere-php-sdk/) [![Packagist](https://img.shields.io/packagist/v/sphere/php-sdk.svg?style=flat-square)](https://packagist.org/packages/sphere/php-sdk) [![Packagist](https://img.shields.io/packagist/dm/sphere/php-sdk.svg?style=flat-square)](https://packagist.org/packages/sphere/php-sdk)
8+
[![Build Status](https://img.shields.io/travis/sphereio/commercetools-php-sdk/master.svg?style=flat-square)](https://travis-ci.org/sphereio/commercetools-php-sdk) [![Scrutinizer](https://img.shields.io/scrutinizer/g/sphereio/commercetools-php-sdk.svg?style=flat-square)](https://scrutinizer-ci.com/g/sphereio/commercetools-php-sdk/) [![Scrutinizer](https://img.shields.io/scrutinizer/coverage/g/sphereio/commercetools-php-sdk.svg?style=flat-square)](https://scrutinizer-ci.com/g/sphereio/commercetools-php-sdk/) [![Packagist](https://img.shields.io/packagist/v/sphere/php-sdk.svg?style=flat-square)](https://packagist.org/packages/sphere/php-sdk) [![Packagist](https://img.shields.io/packagist/dm/sphere/php-sdk.svg?style=flat-square)](https://packagist.org/packages/commercetools/php-sdk)
99

1010
The PHP SDK allows developers to build applications on the commercetools platform (technically speaking against the SPHERE.IO REST API) using PHP native interfaces, models and helpers instead of manually using the HTTP and JSON API.
1111

@@ -16,7 +16,7 @@ The SDK is licensed under the permissive [MIT License](LICENSE). Don't hesitate
1616

1717
## Using the SDK
1818

19-
The [PHP API documentation](http://sphereio.github.io/sphere-php-sdk/docs/master) provides all the details you need in a searchable form (link points to latest stable release).
19+
The [PHP API documentation](http://sphereio.github.io/commercetools-php-sdk/docs/master) provides all the details you need in a searchable form (link points to latest stable release).
2020

2121
### Install & Integrate the SDK into your Project
2222

@@ -56,7 +56,7 @@ After installing, you need to require Composer's autoloader if that's not yet th
5656
require 'vendor/autoload.php';
5757
```
5858

59-
If you don't use Composer, just [download a zip archive](https://github.com/sphereio/sphere-php-sdk/archive/master.zip) of the latest release, manually integrate it and configure your own autoloader.
59+
If you don't use Composer, just [download a zip archive](https://github.com/sphereio/commercetools-php-sdk/archive/master.zip) of the latest release, manually integrate it and configure your own autoloader.
6060

6161
Until the 1.0.0 release M0, M1 etc. milestone releases can contain incompatible changes. From 1.0.0 on, the project will follow the [semantic versioning](http://semver.org) guidelines, i.e. everything but major version changes are backwards-compatible. This matches composer's default behavior.
6262

@@ -143,7 +143,7 @@ php composer.phar update
143143
Clone the develop branch of the repository (we're using the [gitflow](http://nvie.com/posts/a-successful-git-branching-model/) branching model, so master is for releases only):
144144

145145
```
146-
git clone [email protected]:sphereio/sphere-php-sdk.git
146+
git clone [email protected]:sphereio/commercetools-php-sdk.git
147147
```
148148

149149
Please follow the [PSR-2](http://www.php-fig.org/psr/psr-2/) coding style, ideally via your IDE settings (see below for phpStorm instructions).

build/apigen.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
title: PHP SDK
2-
baseUrl: http://sphereio.github.io/sphere-php-sdk/docs/master
2+
baseUrl: http://sphereio.github.io/commercetools-php-sdk/docs/master
33

44
source: [src/]
55
destination: build/docs

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"license": "MIT",
44
"type": "project",
55
"description": "The commercetools PHP SDK \n The official PHP Interface to the commercetools eCommerce API",
6-
"homepage": "https://github.com/sphereio/sphere-php-sdk",
6+
"homepage": "https://github.com/sphereio/commercetools-php-sdk",
77
"support": {
88
"email": "[email protected]",
99
"forum": "http://support.sphere.io",
10-
"issues": "https://github.com/sphereio/sphere-php-sdk/issues",
11-
"docs": "http://sphereio.github.io/sphere-php-sdk/docs/master/"
10+
"issues": "https://github.com/sphereio/commercetools-php-sdk/issues",
11+
"docs": "http://sphereio.github.io/commercetools-php-sdk/docs/master/"
1212
},
1313
"autoload": {
1414
"psr-4": {

push-docs-to-gh-pages.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010

1111
if [ $(phpenv version-name) = "5.5" ] ; then ant apigen; fi
1212

13-
if [ "$TRAVIS_REPO_SLUG" == "sphereio/sphere-php-sdk" ] && [ $(phpenv version-name) = "5.5" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && ( [ "$TRAVIS_BRANCH" == "master" ] || [ "$TRAVIS_BRANCH" == `git describe --tags --always HEAD` ] ); then
13+
if [ "$TRAVIS_REPO_SLUG" == "sphereio/commercetools-php-sdk" ] && [ $(phpenv version-name) = "5.5" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && ( [ "$TRAVIS_BRANCH" == "master" ] || [ "$TRAVIS_BRANCH" == `git describe --tags --always HEAD` ] ); then
1414
echo -e "Publishing documentation to gh-pages branch ...\n"
1515

1616
cp -R build/docs $HOME/phpdoc-current
1717

1818
cd $HOME
1919
git config --global user.email "[email protected]"
2020
git config --global user.name "travis CI"
21-
git clone --quiet --branch=gh-pages https://${GH_TOKEN}@github.com/sphereio/sphere-php-sdk gh-pages > /dev/null
21+
git clone --quiet --branch=gh-pages https://${GH_TOKEN}@github.com/sphereio/commercetools-php-sdk gh-pages > /dev/null
2222

2323
cd gh-pages
2424
git rm -rf ./docs/$TRAVIS_BRANCH

src/AbstractHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
abstract class AbstractHttpClient
1717
{
1818

19-
const VERSION = '1.0.0 RC1';
19+
const VERSION = '1.0.0 RC2';
2020

2121
/**
2222
* @var AdapterInterface

tools/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "commercetools-php-sdk-changelog",
3-
"version": "1.0.0-RC1",
3+
"version": "1.0.0-RC2",
44
"description": "commercetools PHP SDK changelog generator",
5-
"homepage": "https://github.com/sphereio/sphere-php-sdk",
6-
"bugs": "https://github.com/sphereio/sphere-php-sdk/issues",
5+
"homepage": "https://github.com/sphereio/commercetools-php-sdk",
6+
"bugs": "https://github.com/sphereio/commercetools-php-sdk/issues",
77
"license": "MIT",
88
"repository": {
99
"type": "git",
10-
"url": "https://github.com/sphereio/sphere-php-sdk.git"
10+
"url": "https://github.com/sphereio/commercetools-php-sdk.git"
1111
},
1212
"dependencies": {
1313
},

0 commit comments

Comments
 (0)