Excellent work with this and lots of new features.
No major issues with doing some testing so far - but just sharing an
observation that a field definition along the lines of: below will cause an
error if you insert a record and it attempts to use the default value.
Field('plan_editor', 'list:reference auth_user', label='Plan Editors',
default=auth.user_id)
was valid on 2.14.x but now throws an error that the id is not an iterable
so it needs to be amended to:
Field('plan_editor', 'list:reference auth_user', label='Plan Editors',
default=[auth.user_id]),
Which is probably the way I should have defined it in the first place as it
is a list after all - however just sharing for awareness as it can be a
breaking change.
Regards
Donald
On Wednesday, July 5, 2017 at 7:55:21 AM UTC+1, Massimo Di Pierro wrote:
>
> Please help us test the new web2py:
>
> https://mdipierro.pythonanywhere.com/examples/static/nightly/web2py_src.zip
>
> https://mdipierro.pythonanywhere.com/examples/static/nightly/web2py_osx.zip
> https://mdipierro.pythonanywhere.com/examples/static/nightly/web2py_win.zip
>
> Personally and on behalf of the community: thanks to everybody who has
> contributed!
>
> It has been a year but we piled up a huge number of small changes and bug
> fixes.
>
> ## 2.16.0b1
>
> - experimental python 3 support
>
> - experimental authapi for service login
>
> - more tests
>
> - d3.js model visulization
>
> - improved scheduler
>
> - is_email support for internationalized Domain Names
>
> - improved used of cookies with CookieJar
>
> - SQLFORM.grid(showblobs=True)
>
> - import JS events (added w2p.componentBegin event)
>
> - added support for CASv3
>
> - allow first_name and last_name placeholders in verify_email message
>
> - added three-quote support in markmin
>
> - updated pg8000 driver (but we still recommend psycopg2)
>
> - compiled views use . separator not _ separator (must recompile code)
>
> - better serbian, french, and catalan translations
>
> - speed improvements (refactor of compileapp and pyc caching)
>
> - removed web shell (never worked as intended)
>
> - allow Expose(..., follow_symlink_out=False).
>
> - Updated fpdf to latest version
>
> - JWT support
>
> - import fabfile for remote deployment
>
> - jQuery 3.2.1
>
> - PyDAL 17.07 including:
>
> allow jsonb support for postgres
>
> correctly configure adapters that need connection for configuration
>
> better caching
>
> updated IMAP adapter methods to new API
>
> experimental suport for joinable subselects
>
> improved Teradata support
>
> improved mongodb support
>
> overall refactoring
>
> experimental support for Google Cloud SQL v2
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.