Skip to content

Commit

Permalink
Merge pull request #103 from juvenn/feature/rename
Browse files Browse the repository at this point in the history
Ready to release v0.4.0
  • Loading branch information
juvenn authored Aug 10, 2016
2 parents 0766921 + 6c98f97 commit 0316e09
Show file tree
Hide file tree
Showing 25 changed files with 19 additions and 4 deletions.
15 changes: 15 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@

0.4.0 发布日期:2016-08-10
----

**不兼容改动**

为了与其它语言 SDK 类型名保持一致,将主要类型名称的 Lean 前缀去掉。如
果升级,请注意同步修改代码。

以下是去掉 `Lean` 前缀的类型列表:

```
LeanACL LeanBytes LeanClient LeanFile LeanObject LeanPush
LeanQuery LeanRelation LeanRole LeanUser
```

0.3.0 发布日期:2016-06-30
----

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
test:
vendor/bin/phpunit
vendor/bin/phpunit test

release:
./release.sh $V
Expand All @@ -8,6 +8,6 @@ doc:
vendor/bin/apigen generate --source src --destination docs

test_engine:
php -S ${LC_APP_HOST}:${LC_APP_PORT} tests/engine/index.php
php -S ${LC_APP_HOST}:${LC_APP_PORT} test/engine/index.php

.PHONY: test doc test_engine
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ mv Changelog.md.0 Changelog.md

# portable solution in perl
perl -pi -e "s/const VERSION = .*\;/const VERSION = \'$version\'\;/" \
src/LeanCloud/LeanClient.php
src/LeanCloud/Client.php

echo "Done! Ready to commit and release $version!"

2 changes: 1 addition & 1 deletion src/LeanCloud/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Client {
/**
* Client version
*/
const VERSION = '0.3.0';
const VERSION = '0.4.0';

/**
* API Endpoints for Regions
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0316e09

Please sign in to comment.