Ceylon 1.3.0 Is Now Available
Ceylon 1.3.0 Is Now Available
Ceylon 1.3 is out, and it's a big one. This is the first release of Ceylon which supports Android development, Docker, the Node Package Manager (npm), and Wildfly Swarm.
Join the DZone community and get the full member experience.Join For Free
How do you break a Monolith into Microservices at Scale? This ebook shows strategies and techniques for building scalable and resilient microservices.
Ceylon 1.3.0 is a major release of the Ceylon language, with over 330 issues closed. This is the first release of Ceylon that supports Android development, the Node Package Manager (npm), and Wildfly Swarm.
For the JVM, this release is backwards-compatible with all releases of Ceylon 1.2 (1.2.0 to 1.2.2).
Ceylon IDE 1.3.0 is now available for the two leading Java development environments:
- for the very first time, as a plugin for IntelliJ IDEA and Android Studio, alongside
- existing support for the Eclipse platform.
Ceylon IDE for IntelliJ was designed for high performance in large projects with many Java dependencies, and is currently the best-performing IDE for Ceylon.
Enhancements to the language and command-line distribution include:
- Support for developing Android applications.
- Support for importing modules from npm and for publishing Ceylon modules to npm.
- Support for developing microservices with WildFly Swarm.
- Cross-platform services, abstracting the Java service loader.
- Addition of the
fat-jartool for packaging a Ceylon program and its dependencies into a single assembly.
- Much slimmer runtime.
- Destructuring for parameters of anonymous functions.
- Destructuring in
cases of a
- Addition of the
- Addition of
- Many minor improvements to interoperation with Java.
- Experimental support for Java APT processors.
- Improved behavior for
istests with generic Java types.
- Correct typing for things annotated
- Full support for Java 8.
- Reduced typechecker memory footprint.
Naturally, the release incorporates many more bugfixes, minor enhancements, and performance improvements.
Support for Docker
Docker images for Ceylon are now available, making it very easy to run Ceylon programs in a Docker container.
Ceylon IDE for IntelliJ is a brand new development tool for IntelliJ IDEA and Android Studio, featuring incremental error reporting, code completion, basic refactoring, many intention actions, sophisticated navigation, searching, type hierarchy and file structure, online documentation, full integration with Ceylon Herd and much, much more.
Almost 60 issues were fixed in Ceylon IDE for Eclipse, and code completion was redesigned around a non-blocking approach which is much more responsive in large projects. In addition, improvements to the typechecker have resulted in significantly lower memory usage.
Exactly 40 issues affecting the Ceylon SDK have been fixed.
Migration from Ceylon 1.2.2
Ceylon 1.3.0 is backward-compatible with Ceylon 1.2.2, and so it's not necessary to recompile or change dependencies. However, upgrading to version 1.3.0 of any Ceylon platform module is recommended.
Ceylon enables the development of cross-platform modules that execute portably in both virtual machine environments. Alternatively, a Ceylon module may target one or the other platform, in which case it may interoperate with native code written for that platform.
In the Box
This release includes:
- A complete language specification that defines the syntax and semantics of Ceylon in language accessible to the professional developer.
- A powerful module architecture for code organization, dependency management, and module isolation at runtime, which also supports interoperation with OSGi, Jigsaw, Maven, and npm.
- The language module, our minimal, cross-platform, foundation-level API.
- Updated versions of the platform modules that comprise the Ceylon SDK.
- A code formatter as a plugin for the
- A plugin for the
ceyloncommand that supports compilation and execution for the Dart VM.
- Two full-featured integrated development environments: for Eclipse and IntelliJ IDEA.
Ceylon is a highly understandable object-oriented language with static typing. The language features:
- an emphasis upon readability and a strong bias toward omission or elimination of potentially-harmful or potentially-ambiguous constructs and toward highly disciplined use of static types,
- an extremely powerful and uncommonly elegant type system combining subtype and parametric polymorphism with:
- first-class union and intersection types,
- both declaration-site and use-site variance, and
- the use of principal types for local type inference and flow-sensitive typing,
- a unique treatment of function and tuple types, enabling powerful abstractions, along with the most elegant approach to
nullof any modern language,
- first-class constructs for defining modules and dependencies between modules,
- a very flexible syntax including comprehensions and support for expressing tree-like structures,
The source code for Ceylon, its specification, and its website, is freely available from GitHub.
Information about Ceylon's open source licenses is available here.
Bugs and suggestions may be reported in GitHub's issue tracker.
Published at DZone with permission of Gavin King , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.