forked from MLstate/opalang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHANGELOG
420 lines (274 loc) · 11.8 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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
2012.06.12, Version 0.9.4 (stable), v1900
New features:
* Tools
- 'opa create myapp' to generate a full Opa project
* Stdlib
- Map.filter
- Uri.of_relative and Uri.default_relative
- Support of Gravatar API
Improvements:
* switch to --db-local option and ~/.opa/mongo directory by default
* Use of curl on Mac OS to download mongoDB archive
* Option to include the version on @deprecated directive
* Auto conversion from iterator to xml
* Formbuilder markup compatible with Bootstrap
Bug fixes:
* Compilation of libiconv on FeeBSD, thanks Jeremy Messenger!
* mongoDB archive URL for Mac OS
* Bootstrap white glyphicons
* IMAP Client for Gmail
2012.05.31, Version 0.9.3 (stable), v1869
New supported platform:
* FreeBSD
- Opa commited to FreeBSD port trees: http://www.freshports.org/lang/opa/
Thanks to Jeremy Messenger <mezz.freebsd@gmail.com>
New features:
* Doc
- 5 first chapters translated in Chinese.
Thanks to Li Wenbo <li.wenbo@whu.edu.cn> for this major contribution!
Online preview: http://cn.doc.opalang.org
* Syntax
- Possibility to use underscore inside numbers
- In js-like syntax, block braces of inserts can be used as delimiting a anonymous block function.
e.g. <div onready={ {function(_) code} }></>
and <div onready={ function(_){ code} }></>
can be written <div onready={ function(_) code }></>
- Projection database syntax
- Allows several match case with the same production
* IMAP Client
* SMTP Client
- plain authentication
* HTTP Server
- PUT and DELETE methods are now handled
* Iconv
- binded libiconv with the help of iconv-ocaml
- added an Iconv module consequently
* The directive @atomic(expr) now checks that the compiler is able to emit an atomic expression computation
(i.e. containing no scheduling point)
* New package stdlib.core.concurrency that provides (on server side only):
- generic Mutex mecanism
- exclusive section
- and reference with exclusive access
* Database
- Mongo is the default database backend
- Sub-path on database set and map
- Projection
- Options for update (ifexists)
- Remove and Remove all operators on database list
- Slice Projection
- Added hole expression and indexed expression on sub-path
- Exists query
Improvements:
* Easier to define several server register: it now accepts a single registrable or a list of registrable
* Better support of html5 void elements: for those elements, the close tag is now optional
Note: html5 void elements can't be closed with a frag tag (</>).
* Easier to change the doctype. For example, to use html5 doctype:
Server.start(Server.http, [{register: { doctype : { html5 }}}, {title:"html5", ~page} ])
* utf-8 charset meta tag automatically added for doctype html5
* namespace on html tag only for doctype xhtml1_1
* Scheduling policy updated to improve concurrency level
* possibility to disable manpages generation with NO_MANPAGES
* do not generate dyn_css link or script tag if useless
* The 'with' construction generate more efficient code (less scheduling points)
* Better check of wrong cyclic type definition
* Faster parsing of Mime Multipart message
* Added a max pang attemps
* Html escaping, faster (x2) and introduces almost no html entities for utf8 encoded html resources
Bug fixes:
* Memory leaks of buffer pools (http and mongodb)
* File descriptor leaks in case of error while answering http request
* Url decoding on multibyte utf8 characters
* UriParser
- fixed bug when parsing ' ' character in path
- accept key without value (including equal sign)
* Mime
- fixed a bug in Mime headers parsing
- various fixes
* Mongodb buffer sharing is now always safe
* Database
- Reference and value on mongo path
- Update of sum path
- Encode special mongo character on mongo fields
- Db.remove on path embedded in mongo database set and map
* Server
- Case insensitive http header parser
* Syntax
- Added 'default' case on Opa trx parser
* RPC
- Generation of client skeleton in some polymorphic case
- Serialized funaction as server cell
* Session
- The error callback was not called in some use of Session.try_send
Updated APIs:
* Server
- {register:...} now accepts a list of registrable instead of a list of string
Use Server.register_from_extension to register a list of string.
* Resource
- allow custom response headers (name, value)
* SMTP Client
- return the raw message sent on success (Ok)
* Cache
- removed deprecated Negociator API (misspelled)
- added reset function to reset cache entirely
* Mime
- Mime.get_text and Mime.get_attachments now takes an additional decoding function
- Mime.Header.decode_value also takes a decoding function
* Bootstrap
- upgraded to Bootstrap 2.0.3
- ability to import Bootstrap CSS with or without responsiveness
- merged WBootstrap Badge and Label importance type
* Queue
- stdlib.queue moved to stdlib.core.queue
- add many folding function
* Set
- add 'mapping' functions that can map to different kind of set
* List
- add 'rev_iter'
* Random add 'bool'
* Parser
- Parser.alphanum, Parser.ident and Parser.bool added
* Scheduler
- New functions for advance users, providing fine-tuning of scheduling policy:
set_max_compute_successive, new set_nb_step_apply, point, yield, switch.
* ThreadContext
- add Client.using
* OpaValue
- Generator of default value (OpaValue.default)
* Json
- Added sort function
2012.04.06, Version 0.9.2 (stable), v1591
New supported platform:
* Windows 64bits
- the platform is now supported via our binary installer while still considered as unstable
Congratulations to shadinger (https://github.com/shadinger) for the major contribution!
Bug fixes:
* Windows
- line error location
* Mime
- fixed a bug in q-parser and qp-parser
- fixed inline plain/text detection
* UriParser
- fixed bug when parsing '+' character in query
- accept empty values for query parameters
* Json
- serialisation: emit an error when an integers serialisation could be out of range for the client
* Mongo
- ref and val path on database set
- sum type updating
- composed path
- always resize buffer when it's full
- detection of primary key query
- update with _id
- use 64bits package for autoinstall
* Separate compilation
- Fix packages ordering issues with compiler packages
Updated APIs:
* `+` : can be used to concatenate two strings
* Bootstrap CSS
- upgraded to v2.0.2
- fixes for Bootstrap and Opa icons inclusion
- changed the import names
- added Font Awesome icons
* Bootstrap Widgets
- upgrade bootstrap widgets to match v2.0 of bootstrap
- the previous implementation (compatible with <= v1.4.0) is moved in stdlib.widgets.deprecated.bootrap
* Mongo low-level drivers
- added authentication parameters and command line options
* HttpRequest
- added a get_form_data to retieves POST data (application/x-www-form-urlencoded )
* Date
- support %z in scanner format (returns GMT date)
Other features:
* Windows
- the installer is now completly standalone, nothing else need to be installed
* Html response, size reduction
- add option --xhtml-enable-inlined-event, that can choose to inline event handler code in the html
- automatic dom ids are shorter
* Dom ids: accept minus char inside ids
* Slicer
- new warning classes that prevent using inadapted slicer directives
- new compile-time option '--slicer-check' that activate predefined configuration for theses warning classes
* Mongo
- added authentication options for @mongo database
- added reference path on database set/map
- use the default command line options if non-specific command line
- use cursors
- 'tilda' syntactic sugar for update request
* Db3
- added reference path on the root
* bslClient
- better handling of DOM appendChild under an HTML5 element in IE (fallback to jQuery)
* Editor
- start support of Sublime Text 2 with a plugin available at https://github.com/OpaOnWindowsNow/OpaSublimeText/downloads
2012.03.09, Version 0.9.1 (stable), v1466
Other features:
* opa-translate tool updated for classic to js-like syntax translation
with support of syntactic sugar, prettier printer and various enhancements and bugfixes
* directive @from
- new @from directive to resolve importation conflicts
- In case of conflicts beetween two types with same original names, error message includes packages.
* cyclic types
- exportation of cyclic types
- typer.cyclic warnings when (non local) cyclic type exportation
* mixing database backends
- Added @db3 and @mongo database options on database schema declaration.
* new exprimental --remote-logs option to send logs to a remote web server
* new --cookie-accept-client-values to use cookie ec/ic values provided by the client instead of generating new ones
New APIs:
* Unification of runtime types (and fix 'magic' functions)
Updated APIs:
* included Twitter's Bootstrap CSS inside the stdlib, and improved the import system (see doc)
* added a way to register favicons (like css and js)
* changed WebClient API concerning additional headers
* improved / fixed MIME library
Bug fixes:
* Improved HTTP gzip compression time
* Various fixes on http client response parser
* Parser fixes : bindinds, declaration directives, sugared list
* Checking of recursives values
* Database queries on primary keys
* Events handler in new syntax
* Coercion on Xhmtl fragment
* File descriptors leak when embedding static files
Other changes:
* Log.* functions take a strings instead of 'alpha
* Http client doesn't log by default (use the new HTTP_CLIENT_DEBUG debug variable if needed)
* --db-local options with mongo databases: download, install and launch a mongo database if needed.
2012.02.14, Version 0.9.0 (stable), v1300
Major features:
* js-like syntax
- new parser for a syntax close to JavaScript
- this is now the default syntax (use --parser classic to the the previous syntax)
- emacs mode and vim mode have been updated for this syntax
* MongoDB support
- new db backend based on MongoDB (not default)
- fully integrated with the langage db syntactic construction
- replica sets are supported using SlaveOk mode
- db syntactic construction extension to support queries with multiple ranges
Other features:
* i18n
- new @i18n directive
- it supports generic value that depends on the language
- more concise and simpler support for string
* directive @public_env
- instructs the compiler that it is legal to serialize a closure
- helps constructing functions on the server side that will be used later on the client side
New APIs:
* Mime, WBootstrap, Bootstrap, Dropbox, GCharts, Markdown, IRC, XlsExport, CsvExport, ...
Updated APIs :
* Email, SmtpClient, SmtpServer, Dom, Resource, OAuth, Canvas, Facebook, Twitter, GitHub, ...
Bug fixes:
* json string escaping: escape all control characters
* many other minor and major bug fixes
* Mongo replica sets now detect unsolicited change in primary due to new
priority feature for replica set nodes
* System.get_memory_usage(() on FreeBSD
Other changes:
* versioning number to semantic versioning (http://semver.org/)
- 1.0s4 => v0.9.0
* no automatic include of the favicon link
* .mlstate renamed into .opa, and no un-necessary creation at runtime
* HTML5 doctype added
opa (1.0s3.4) unstable; urgency=low
* initial open-source release
-- Louis Gesbert <louis.gesbert@mlstate.com> Fri, 10 Jun 2011 15:44:20 +0200