tg2

Python web framework with full-stack layer implemented on top of a microframework core with support for SQL DBMS, MongoDB and Pluggable Applications

OTHER License

Stars
804
Committers
32
tg2 - Version 2.4.3 Latest Release

Published by amol- over 4 years ago

  • Support for i18n.native list of languages to disable translation for languages the templates are natively written in.
  • Support for repoze.who options like Cookie SameSite and Secure.
  • Dunder __ methods are no longer hijacked in context local objects. This allows pytest, doctest and mock to inspect thread local objects like request.
  • Error reporting now gives a proper error if email support is enabled but not properly configured
tg2 - Version 2.4.2

Published by amol- about 5 years ago

  • Fixed support for zope.sqlalchemy 1.2
tg2 - Version 2.4.1

Published by amol- about 5 years ago

  • Fixed hooks documentation (it wasn't updated to 2.4 hooks)
  • Fixed examples in controller wrappers registration (they weren't updated to 2.4)
  • Error controller is now able to properly respond JSON when the client sends Accept: application/json even if the routed action didn't support it.
  • Fixed crash when error controller is accessed directly without any error.
  • Removed stray <p> tag in JSON responses from error controller.
  • Replaced references to 2.3 with 2.4 in quickstarted apps
tg2 - Version 2.4.0

Published by amol- over 5 years ago

2.4.0 is a major release that provides a totally new configuration system where the framework can be extended through Components and allows to replace standard behavior of the framework by replacing the default components.

For an overview of the new TurboGears 2.4 configuration system, have a look at https://medium.com/@__amol__/welcome-turbogears-2-4-6f5f9f0a47a0

Version 2.4.0 includes the following changes:

  • Configuration system rewrite, configuration is now based on a Configurator and Components.
  • All features that were deprecated in 2.2 and 2.3 are now gone (IE support for ToscaWidgets1)
  • Support custom reporters in Slow and Error reporting
  • Removed support for Pylons Compatibility Mode.
  • Removed support for Python 2.6
  • WebTest is no longer a dependency of TurboGears, only of it's quickstarted apps.
  • 100% test coverage guaranteed on PY3 too
  • Removed deprecated transaction manager middleware
  • Deprecated @beaker_cache
  • genshi_custom_format removed
  • Many tests moved from Genshi to Kajiki
  • Make TransactionApplicationWrapper handle changes of active transaction
  • Use transaction>=2.4 public API
  • Support WebOb1.9 and WebTest2
  • Remove constraint on raven during tests
  • Remove support for deprecated request.validation.getitem
  • Deprecated mingauth and sqlauth, only authmetadata is officially supported
  • Get rid of deprecated get_flash and get_status
  • Remove no longer supported Cache and Session middlewares
tg2 - Version 2.3.12

Published by amol- over 6 years ago

  • OPTIONS HTTP method for a RestController will now respond with a 204 "No Content" by default instead of a 404
  • New chain_validation=True option in @validate allows to apply validation to error_handlers too. ( http://turbogears.readthedocs.io/en/latest/reference/classes.html#validation )
  • WebOb version constrained to >=1.2,<1.8.0 to ensure full compatibility with TurboGears2.3
  • Fixed highlight of active page in Jinja quickstart