[Tangelo-users] Announcing Tangelo 0.10
Roni Choudhury
roni.choudhury at kitware.com
Mon Jan 25 11:54:36 EST 2016
We are pleased to announce that Tangelo 0.9 has been released and can be
downloaded from the Python Package Index, or installed by issuing a command
similar to:
pip install -U tangelo
This release consists mainly of security fixes and a few new features meant
to allow greater control over how services can return data and signal other
conditions.
One major behavioral difference is how Tangelo treats changed Python
services. Before, if you edited a python file being served by Tangelo as a
web service, sometimes Tangelo would "notice" the changes, and other times
it wouldn't. Now, this behavior has been abstracted into a new "watch"
plugin, which can be activated by launching Tangelo with the --watch command
line option. While this mode is active, all live Tangelo services will be
kept up-to-date, including edits to dependencies of services, etc. For
production, we recommend *not* using this option in order to prevent the
live server instance from changing its behavior unexpectedly.
See the full list of changes below, and read updated documentation [0] for
in-depth discussion.
As always, please don't hesitate to contact us with questions and concerns
[1], or file issues on GitHub [2].
roni
[0] http://tangelo.readthedocs.org/en/v0.10/
[1] tangelo-users at public.kitware.com
[2] https://github.com/Kitware/tangelo/issues
Changelog
*Added*
- Traceback is logged when a service module can't be imported
- Improvements to release cycle documentation
- Configuration parameter for ``$.controlPanel`` to set height of open panel
explicitly
- Documentation has an explicit "hello world" example in the Quick Start
section
- Quiet option reduces verbosity
- "Watch" plugin controls whether services and dependent modules are
automatically reloaded when they change
- ``tangelo.ensurePlugin()`` function that avoids JavaScript parsing
problems
- Service functions ``tangelo.redirect()`` and
``tangelo.internal_redirect()``
to allow services to redirect to other resources
- Service function ``tangelo.file()`` to serve arbitrary files
- Configuration file takes CherryPy configuration options to apply at
startup in
``server_settings`` property
- ``tangelo.util.set_server_setting()`` can be used to update CherryPy
settings
at runtime
*Changed*
- Documentation introduction is more focused; tutorials are more
front-and-center
- Updated bundled version of GeoJS
- Support Travis containers for better automated testing
- Verbose option can be specified multiple times to increase application
verbosity
- ``--config`` option can now accept either a YAML filename or a raw JSON
string
- Tangelo no longer automatically reloads changed service modules, unless
the
``--watch`` option is specified to load the new watch plugin
- Bundled Mongo plugin updated to use PyMongo 3.2
*Deprecated*
- ``tangelo.getPlugin()`` - use ``tangelo.ensurePlugin()`` instead
*Removed*
- "System Architecture" section in README
*Fixed*
- ``tangelo.paths(".")`` hack no longer necessary to import modules in same
directory as service
- Persistent store no longer cleared when reloading service
- Verbose option (``-v``) properly increases application verbosity
- Plugins are now imported using the ``imp`` module, eliminating some
spurious
error messages
*Security*
- ``Server`` response header now reads "Tangelo" instead of "CherryPy" with
a
version string
- Runtime exceptions no longer send tracebacks to the client; instead, an
error
report code is sent, which can be matched up to a traceback appearing in
the
server log
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/tangelo-users/attachments/20160125/bd0b1232/attachment.html>
More information about the Tangelo-users
mailing list