Skip to content

Commit 37e6de6

Browse files
committed
bump version to v0.6.3
1 parent 7d35ecb commit 37e6de6

File tree

7 files changed

+350
-45
lines changed

7 files changed

+350
-45
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### v0.6.3 2017.03.10
2+
3+
- 添加插件: `signature auth plugin`
4+
- 将默认的配置文件做成模板,即`ngingx.conf.example``orange.conf.example`
5+
16
### v0.6.2 2017.02.18
27

38
- 兼容Orange与最新版本的[lor]https://github.com/sumory/lor), 即lor v0.3.0

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 sumory.wu
3+
Copyright (c) 2016 - 2017 sumory.wu
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

README.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ A Gateway based on OpenResty(Nginx+lua) for API Monitoring and Management.
1919
- Orange v0.6.1 and versions before v0.6.1 are compatible with lor v0.2.*
2020
- Orange v0.6.2+ is compatible with lor v0.3.0+
2121

22-
Import the SQL file(e.g. install/orange-v0.6.2.sql) which is adapted to your Orange version into MySQL database named `orange`.
22+
Import the SQL file(e.g. install/orange-v0.6.3.sql) which is adapted to your Orange version into MySQL database named `orange`.
2323

2424
#### Install
2525

26-
**1) version < 0.5.0**
26+
1) script management
2727

28-
If you use Orange under v0.5.0, there is no need to `install`.
28+
use shell scripts (e.g. `start.sh`) to manage Orange.
2929

30-
**2) version >= 0.5.0**
30+
2) CLI tool
3131

3232
In addition to `start.sh` script, a new cli tool could be utilized to manage Orange. You should install the cli first:
3333

@@ -38,17 +38,15 @@ make install
3838

3939
then, the Orange runtime lua module is installed in `/usr/local/orange` and an executable command named `/usr/local/bin/orange` is generated.
4040

41-
4241
#### Usages
4342

4443
Before starting Orange, you should ensure that the `orange.conf` and `nginx.conf` are redefined to satisfy the demands of your project.
4544

46-
47-
**1) version < 0.5.0**
45+
1) script management
4846

4947
Just `sh start.sh` to start Orange. You could rewrite some other shell scripts as you need.
5048

51-
**2) version >= 0.5.0**
49+
2) CLI tool
5250

5351
`orange help` to check usages:
5452

@@ -79,10 +77,10 @@ Find more about Orange on its [website](http://orange.sumory.com/docs). There is
7977

8078
### Contributors
8179

82-
- 雨帆([@syhily](https://github.com/syhily))
83-
- lhmwzy([@lhmwzy](https://github.com/lhmwzy))
84-
- 罗泽轩([@spacewander](https://github.com/spacewander))
85-
- joke([@noname007](https://github.com/noname007))
80+
- [@syhily](https://github.com/syhily)
81+
- [@lhmwzy](https://github.com/lhmwzy)
82+
- [@spacewander](https://github.com/spacewander)
83+
- [@noname007](https://github.com/noname007)
8684

8785
### See also
8886

README_zh.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Orange是一个基于OpenResty的API网关。除Nginx的基本功能外,它还
2828
#### 数据表导入MySQL
2929

3030
- 在MySQL中创建数据库,名为orange
31-
- 将与当前代码版本配套的SQL脚本(如install/orange-v0.6.2.sql)导入到orange库中
31+
- 将与当前代码版本配套的SQL脚本(如install/orange-v0.6.3.sql)导入到orange库中
3232

3333
#### 修改配置文件
3434

@@ -47,6 +47,7 @@ orange.conf的配置如下,请按需修改:
4747
"property_rate_limiting",
4848
"basic_auth",
4949
"key_auth",
50+
"signature_auth",
5051
"waf",
5152
"divide",
5253
"kvstore"
@@ -149,10 +150,10 @@ Orange启动成功后, dashboard和API server也随之启动:
149150

150151
### 贡献者
151152

152-
- 雨帆([@syhily](https://github.com/syhily))
153-
- lhmwzy([@lhmwzy](https://github.com/lhmwzy))
154-
- 罗泽轩([@spacewander](https://github.com/spacewander))
155-
- joke([@noname007](https://github.com/noname007))
153+
- [@syhily](https://github.com/syhily)
154+
- [@lhmwzy](https://github.com/lhmwzy)
155+
- [@spacewander](https://github.com/spacewander)
156+
- [@noname007](https://github.com/noname007)
156157

157158
### See also
158159

install/orange-v0.6.2.sql

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -214,31 +214,6 @@ VALUES
214214
/*!40000 ALTER TABLE `property_rate_limiting` ENABLE KEYS */;
215215
UNLOCK TABLES;
216216

217-
# Dump of table signature_auth
218-
# ------------------------------------------------------------
219-
220-
DROP TABLE IF EXISTS `signature_auth`;
221-
222-
CREATE TABLE `signature_auth` (
223-
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
224-
`key` varchar(255) NOT NULL DEFAULT '',
225-
`value` varchar(2000) NOT NULL DEFAULT '',
226-
`type` varchar(11) DEFAULT '0',
227-
`op_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
228-
PRIMARY KEY (`id`),
229-
UNIQUE KEY `unique_key` (`key`)
230-
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
231-
232-
LOCK TABLES `signature_auth` WRITE;
233-
/*!40000 ALTER TABLE `signature_auth` DISABLE KEYS */;
234-
235-
INSERT INTO `signature_auth` (`id`, `key`, `value`, `type`, `op_time`)
236-
VALUES
237-
(1,'1','{}','meta','2016-11-11 11:11:11');
238-
239-
/*!40000 ALTER TABLE `signature_auth` ENABLE KEYS */;
240-
UNLOCK TABLES;
241-
242217
# Dump of table redirect
243218
# ------------------------------------------------------------
244219

0 commit comments

Comments
 (0)