forked from Bandwidth/php-bandwidth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
179 lines (136 loc) · 5.43 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
Old CHANGELOG was erased. If you have a version, please report it to me
at: matrix.nad@gmail.com
Continuing from 0.5.0
0.5.0
-----------------------------------------------------
- Added logging support
Catapult\Log. Static class used with
all exception handling. Provides information of
the error line, time and application id. Logs
are generated in ./logs of the working directory.
Individual files are prefixed (changable) with 'catapult_'
- Fixes to match PHP standards, omit warnings.
Catapult uses reporting mode ERROR_STRICT ^ CRITICAL.
this is only visible in the API and not externally. I.e scripts
using it.
0.5.1
---------------------------------------------------
- Full SSL support in RESTful client. Ability to use
identity keys when authenticating with Catapult. Usage:
BEFORE initiating a client object:
Catapult\RESTClient::sslKey("mykey.pem");
fully turning ssl checks off (not recommended, only do if unable to sign certificate):
Catapult\RESTClient::verify(FALSE);
- Fixes to log for Windows, Local machine setup fixes, with CURL
0.5.2
--------------------------------------------------
- Version based checking for PHP > 5.3.0 and libCurl
currently Catapult needs these to run.
0.5.3
-----------------------------------------------------
- Add credentials.json location options. Usage:
Catapult\Credentials::path("credentials.json");
0.5.4
-----------------------------------------------------
- BaML support, translation to native BaML verbs,
attributes, and containers
- XML reading, writing support with builtin BaML
checks. needs 'xml_parser'
0.7.0
----------------------------------------------------
- Project refactoring, directory structure, models.
- Transcription support.
Use Catapult\Transcription
* prequisites:
needs recording id
- MMS support, using local and absolute media urls
* add field 'media' in Catapult\Message
- Underscores now deprecated please use camelCase in place
- Minor:
* deprecated Credentials object you 'should' only use Client now.
* other sub api functions added to modules.
* listAll generic listing function for all lists
* MediaURL type added
* CallEvents object added
* Patches for events
* Tuple based initialization:
Gather('call-id', 'gather-id')
this will automatically get the resource and its parent.
* only applies to secondary models
* CollectionSequences, Collections method find/1 will now
update the object directly. So:
PhoneNumbers->find(array("from" => "__NUMBER__"))
PhoneNumbers = PhoneNumbers->find(array("from" => "__NUMBER__"))
are the same.
You should now use PHP's native clone function to keep
reference to older states
* Collections can now be called directly, as a result:
PhoneNumbers = new PhoneNumbersCollection
PhoneNumbers->listAll
and
PhoneNumber = new PhoneNumbers
PhoneNumbers = PhoneNumber->listAll
is the same.
* Important:
for credentials.json if you plan on using another directory
please call (statically):
Catapult\Credentials::setPath("./some_external_path/");
When not using this credentials.json will default to the source directory
0.7.1
---------------------------------------------------------
- Media object needed urgent patch.
previously media objects preserved headers,
this has been deprecated and media objects will
only keep Catapult Media Info and content.
Please update
0.7.2
Event format:
answerCallEvent = new AnswerCallEvent;
incomingCallEvent = new IncomingCallEvent;
Catapult will now look at these two objects and provide data
to the activated one. So you can use: isActive/0 to acheive this.
answerCallEvent->isActive() will be switch on when eventType is "answer"
* Adds domains & endpoints
* New Models:
Domains: Support for Catapult domains
Endpoints: Support for Catapult endpoints
EndpointsMulti: a class to make endpoints in batch for one domain
* New Types:
SIP: SIP address validation (RFC3261)
SIPRealm: four dot validation of a SIP realm,
EndpointsCredentials: An endpoints credentials object
* needs:
username, password and realm
* returns a serializable object for Endpoints
* Event:
HangupCallEvent is now supported. Previously only available with eventType
* Tests:
Domains
Endpoints
expand on Transcription tests
* Minor bug fixes / additions:
* adds toArray/1 which works on CollectionObject and GenericResources
will provide an array version of object
* Collections objects will now return list on listAll/1
* Public TODO list of internal things that can be updated,
* php-bandwidth-examples requires toArray/0 added to collections
0.8.0 RC1
-----------------------------------------------------
- add listBased iterator example and tests in source
- minor fixes to 0.7.5
- default credentials directory now current directory
- fix getMediaContents as function for getting media objects
- listIterator will return a collection object
- application:patch/1 will now reload the application with the new properties
0.8.0 RC
-----------------------------------------------------
- fix Media objects get/0
- add fetchAll to listIterator
- credentials bug fixed, credentials will default to current working directory
as per 0.8.0 RC1
0.8.0
----------------------------------------------------
- fix E_STRICT warnings
- readd sample-call.php without deprecated feature
- fix for credentials.json config
- default error mode now E_ALL