Blog Post

#940 Build 1.0.49

brian Wed 27 Jan 2010

The latest and greatest has been posted and the online docs updated.

Note: if you use the bootstrap script, grab the latest version before bootstrapping with this build.

This is largely a transitional build which removes all the stuff deprecated in 1.0.48, and deprecates a bunch of new stuff in preparation for 1.0.50.

Breaking Changes

All the stuff deprecated in 1.0.48 is now gone including:

  • bitwise operators
  • support for |,| closures, use |->|
  • use it instead of val in a field setter

Quick summary of deprecated APIs:

Obj.type     =>  typeof
Sys.*        =>  Env.cur
Repo.home    =>  Env.homeDir, workDir, or tempDir
Pod.findType =>  type
Field.of     =>  type
Param.of     =>  type
Symbol.of    =>  type
Test.id      =>  curTestMethod
Buf.empty    =>  isEmpty

Change Log

Build 1.0.49 (27 Jan 10)

  • Obj.type => typeof
  • List added: containsAny, moveTo
  • List removed: containsSame, containsAllSame
  • Buf.empty => isEmpty
  • Test.id => curTestMethod
  • Field.of, Param.of, Symbol.of, Pod.findType => type
  • DateTime, Time: isMidnight
  • DateTime, Date support for DDD pattern 1st, 2nd, etc
  • Integrate JavaScript compiler into main compiler pipeline
  • js: Int.toCode, toDuration, toDateTime
  • js: Remove Long support; use native Numbers for integers
  • compiler::Location => Loc
  • Remove methods deprecated in 1.0.48
  • Remove deprecated support for |,| closure syntax
  • Remove deprecated support for val in field setters
  • #749: compilerJs bug in list initializer
  • #750: JS: (Int?)null == (Int)0
  • #789: File upload support for web pod
  • #800: += operator doesn't work correctly in JavaScript
  • #849: Internal compiler error
  • #869: Obj.type => Obj.typeof
  • #870: Proposal: bitwise operators
  • #878: Use Native Number type for sys::Int on JavaScript
  • #883: Simplify standard build targets
  • #889: compilerJs Rework
  • #892: Proposal: using ?: operator with throw
  • #922: Don't allow one char scheme names in File(Uri)
  • #927: List API Changes

Login or Signup to reply.