Skip to content
This repository
tree: ec1868fe4d
Fetching contributors…

Cannot retrieve contributors at this time

file 534 lines (357 sloc) 15.851 kb
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 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534
2012.07.30, Version 1.0.5 (stable), v2980
New features:
  * Stdlib :
    - Added Binary module
    - Added Pack module

Improvements:

  * Compiler :
    - Improved type error messages (by adding type witnesses)
    - Improved syntax error messages
    - Character } is treated as reserved in html environment (avoid an ambiguity of the syntax)
    - Reduce the javascript size by reduces size of some generated idents
    - Added the new 'pure' bsltag, allows some JS optimizations
    - Do not copy standard Opa JS plugins and packages when building object
    - Output a package.json descriptor for packages and plugins
- Add flag --package-version to specify version in package.json
- Opa now accepts .js and .nodejs files when compiling packages and
executables. Files should be in plugin format and used with standard
plugin syntax

  * Node.js runtime:
    - Launch script improved, with node version check and node module dependencies check
    - Launch helper is now in tools/dependencies
    - Speedup of the runtime (fibo : 3.75, hello siege: 1.70)
    - Improve the function of logger and clean the server outputs
    - Closure serialization (empty closure and published closure)
    - Binaries manipulation

  * Other:
    - Better compliance with Lintian
    - Reorganization of the project source code in order to be clearer and comply to license change (ocamllib and compiler: AGPL, lib and tools: MIT)
    - opa-plugin-builder and opa-plugin-brower now have their manpages
    - add plugins to opacapi checker

Bug fixes:

  * File manipulation on node backend
  * installation_helper.sh install PATH fixed
  * Added explicit dependency to simplesmtp (was expecting to be in nodemailer)
  * serve "application/xhtml+xml" to webkit browser (fix especially svg)
  * Opa applications stop if no server
  * Server runtime options
  * Opa timer delay the first call to the callback
  * Javascript inlining
  * Safari hangs when mixing asynchronous and synchronous request
  * Wrong renaming of variables in JS catch statements
  * Obj. dependency directory placed in same path as main file

Documentation:

  * Manual examples are now separate repositories: https://github.com/MLstate/
  * Git submodules used for manual examples
  * Chapter 7 "Hello, database" translated in Chinese. Thanks to Li Wenbo <li.wenbo@whu.edu.cn>

Removed:
  * Process management functions (e.g. fork) that were not implemented in the
    NodeJS backend were removed

2012.07.03, Version 1.0.4 (stable), v2403

Bug fixes:
- install.sh is not installed in /usr by debian package anymore

Improvements:
- Reduced the generated JS code size
- Split final JS object in several parts
- Load standard library packages dynamically
- Detection of node and node_modules dependencies at launch


2012.06.26, Version 1.0.3 (stable), v2309

Dropped OCaml back-end from the release package
- Reduced the package size from more than 66%

Removed node and node_modules inclusion from the release package
- You have to install node and npm yourself
- You will need to install node modules: mongodb, formidable, nodemailer, imap

2012.06.25, Version 1.0.2 (stable), v2276

Bug fixes:
- Debian package installer when OCaml was already present

Improvements:
- iconv, formbuilder and xls for node.js backend


2012.06.21, Version 1.0.1 (stable), v2258

New features:
- opa create myapp now available for node.js backend

Improvements:
- SSL for node.js backend

Bug fixes:
- MongoDB fields decoding


2012.06.20, Version 1.0.0 (stable), v2242

New features:

- Node.js backend by default

Updated APIs:

  * Bootstrap
    - upgraded to Bootstrap 2.0.4
    - import stdlib.themes.bootstrap does not import responsive CSS anymore
    - see Boostrap module description for more info


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
Something went wrong with that request. Please try again.