Read Post
Building cc_flasher on Mac OS X Yosemite
I have been working with TI CC2530 lately with Contiki OS. Since I don't work on Windows environment, cc-tool is my tool to flash CC2530 binary. It should work for TI CC2430 as well, but for some reason it does not flash the chip properly. So, I remembered there was another open source tool I used to program CC2430 with. It was called cc_flasher. Unfortunately, the project seems to be abandoned by now. I just wanted to share what I did to make it build on OS X Yosemite in here.
The repository I have is a copy of the legacy cc_flasher software by Modula.d.o.o., a Slovenian company. It includes minor fixes to build on OS X (Yosemite) with macports. The original project seems to be abandoned because TI came out with a cheaper solution to flash its entire line of 802.15.4 SoC using CC Debugger.
TI provides only software support for Windows. The only hardware programmer available on that time was the SmartRF04EB. It was too expensive to buy for hobbyists, therefore cc_flasher project was born. It came with a USB dongle programmer as you can see in the picture.
The USB dongle schematic is available, but the source code for the chip (AT902313S) is not available as open source. This is very unfortunate since someone might learn the knowledge of programming CC2430 without having to go through building the firmware from scratch. Anyway, the CC2430 is not recommended for new product design by now. Releasing the firmware source code would not hurt anyone :P
Visit my github repository to learn more about it.


--- layout: default title: Page Not Found permalink: /404.html --- 404 Page Not Found Oops, the page you're looking for does not exist. Click here to return to the homepage. If you think something is broken, report a problem.
Click here to return to the homepage. If you think something is broken, report a problem.


{% extends "base.html" %} {% set hideMenu = True %} {% block title %}404 - Not found{% endblock %} {% block body %} {{ super() }}
The page you were looking for does not exist.


Total flexibility to choose the number of keys and address types.
Easily import or recover any setup. Compatible with most wallets.
Safely backup your signing keys simultaneously with all pubkeys.
Easily backup and spread your coordination setup (pubkeys) for better protection.
Support for PSBTs and QR codes for maximum security.
Easily change your setup to allow key rotation or fast signing for emergency situations.
Provides better protection or safety on...
In this demo of the Multisig Vaults you can see 2 BlueWallet apps signing transactions offline and airgapped.


Last week, I got to give a talk at Strata with my buddy Linus about our former employer, Embrace . We spoke to a crowd of ~80 about Embrace Angel, an R&D effort by Embrace to add sensors to their warming devices - measuring temperature, heartbeat, pulse oximetry, et. al. It was fun to discuss two of our big passions: social change and nascent technology.
Linus was part of original team when Embrace was founded at Stanford’s d.school and worked as the company’s first COO. I moved there a few years later and worked as a Product Manager for the 2nd product, the Embrace Care (an at-home infant warmer).


Teams Members (34) Collaborators
| Angela (angang) | 12 datasets, 15 forms | 1 team | |
|
bobo Bo |
3 datasets, 6 forms | 2 teams | Remove |
|
tigtig Tigus |
2 datasets, 6 forms | 2 teams | Remove |
|
rowo Roger Wong |
14 datasets, 6 forms | 3 teams | Remove |
|
pld Peter |
3 datasets, 6 forms | 2 teams | Remove |
|
lweya Larry |
8 datasets, 6 forms | 4 teams | Remove |


You've recorded a track ! Validate it and return to dashboard by hovering the button below or try again !
bpm


Libero Contributor License Agreements
Thank you for your interest in contributing to Libero.
There are two Contributor License Agreements (CLAs) available and you need to choose one depending on the capacity in which you have made your contribution.
Individuals
If you have made your contribution as an individual and not on behalf of a company then please review the Individual Contributor License Agreement and sign digitally at https://libero.pub/sign-cla/.
Entities
If you are an employee, and have made the contribution on behalf of your employer, please have your employer review the Entity Contributor License Agreement then contact the team on<EMAIL_ADDRESS>to request a digitally signable copy.
Others
For any other situation or if you have any questions please contact us on<EMAIL_ADDRESS>or in the Libero Community Slack.


Car Simulator
Start
This is where the simulation begins.
start
car
Car Simulator
Start
back to start
Start


Our handsome champion Beckham has been turning heads in both Canada and the USA. He is of good size, length and height. His lovely dark chocolate coat is correct in colour and texture. He has one of those big, beautiful heads without being overdone. He has been in the ribbons at US specialties under such expert judges as Jean Louis Blais. We have received a great deal of positive feedback and interest in this boy. Like his chocolate half siblings here, his lovely otter tail never stops wagging thanks to their happy and outgoing personalities. He's a very calm and smart boy, very easy to manage and to live with. We proudly co-own him with Julie Ellis of Breezeline Labradors. Julie and I couldn't be happier with Beckham. He is available at stud to approved females. Please direct stud inquiries to either myself or Julie Ellis. See below for more photos of Beckham.


--- layout: post title: How to pop up and remain compliant tags: [] status: publish type: post published: true meta: {} ---
An interesting thread over at simplebits (http://www.simplebits.com/archives/2004/05/06/sq.html - SimpleQuiz ? Part XVI: Launching Windows) on luanching pop-ups and what path to take. It's an interesting discussion on attitudes towards standards and the methods devised to work with them. For many remaining with a strict doctype and using JavaScript was the way to go, but there were a number of good solutions. Here are two that I liked:


|
MIT
|
|
At MIT Solve Contest, Startups — From Kittens To Green Gas — Talk Innovation. (2019). Wbur.org. Retrieved 10 May 2019, from https://www.wbur.org/bostonomix/2018/07/09/mit-solve-startup-tech
|
|
Byrne, D. (2012). MIT: the world's best university. Telegraph.co.uk. Retrieved 10 May 2019, from https://www.telegraph.co.uk/education/universityeducation/9535651/MIT-the-worlds-best-university.html
|
|
Ornate, J. (2018). Massachusetts Institute of Technology (MIT), USA | Education Point. Education Point. Retrieved 10 May 2019, from http://webstarbd.com/massachusetts-institute-of-technology-mit-usa/
|
|
Services, I. (2019). Manipal Institute of Technology Bangalore | MIT Bangalore. Iesonline.co.in. Retrieved 16 May 2019, from https://www.iesonline.co.in/manipal-institute-of-technology/
|
|
MIT logo.svg. (2019). En.wikipedia.org. Retrieved 28 May 2019, from https://en.wikipedia.org/wiki/File:MIT_logo.svg
|
|
Stanford
|
|
Shervine Amidi. (2019). Stanford.edu. Retrieved 12 May 2019, from https://stanford.edu/~shervine/
|
|
stanford - Dr Clue Build. (2019). Dr Clue Build. Retrieved 12 May 2019, from https://drclue.com/stanford-university-palo-alto/stanford/
|
|
Stanford University. (2019). En.wikipedia.org. Retrieved 12 May 2019, from https://en.wikipedia.org/wiki/Stanford_University
|
|
(2019). 1000logos.net. Retrieved 28 May 2019, from https://1000logos.net/stanford-logo/
|
|
бет, Н. (2019). Қытайлық отбасы қыздарының Стэнфордқа түсуі үшін 6,5 миллион доллар берген. Tengrinews.kz. Retrieved 29 May 2019, from https://kaz.tengrinews.kz/world_news/kyitaylyik-otbasyi-kyizdaryinyin-stenfordka-tusu-ushn-65-297587/
|
|
Blog. (2019). Telemetrytv.com. Retrieved 29 May 2019, from https://www.telemetrytv.com/posts/2
|
|
Harvard
|
|
The Universitat the València reflects and promotes its presence in Harvard. (2019). Uv.es. Retrieved 12 May 2019, from https://www.uv.es/uvweb/uv-news/en/news/universitat-valencia-reflects-promotes-its-presence-harvard-1285973304159/Novetat.html?id=1286039131669&plantilla=UV_Noticies/Page/TPGDetaillNews
|
|
Harvard University: Education and Higher Learning. (2019). Intercontinentalboston.com. Retrieved 12 May 2019, from https://www.intercontinentalboston.com/nearby-attractions/harvard-university
|
|
Buell, S., & Buell, S. (2018). Harvard Women Are Suing over the Single-Gender Clubs Policy. Boston Magazine. Retrieved 12 May 2019, from https://www.bostonmagazine.com/education/2018/12/03/harvard-women-suing-single-gender-clubs-policy/
|
|
BHARATKNOWLEDGE . (2019). Bharatknowledge.com. Retrieved 16 May 2019, from http://bharatknowledge.com/
|
|
AERIAL BANNERS INC NATIONWIDE specializes in Boston aerial advertising, airplane banners, flying billboards and air signs across the county. - Aerial Advertising Boston. (2019). Aerialbannersnationwide.com. Retrieved 19 May 2019, from http://www.aerialbannersnationwide.com/where-we-fly/aerial-advertising-massachusetts/aerial-advertising-boston/
|
|
Harvard University. (2013). En.wikipedia.org. Retrieved 28 May 2019, from https://en.wikipedia.org/wiki/Harvard_University
|
|
From a waiter working in Singapore to becoming a Harvard graduate. (2017). Times Higher Education (THE). Retrieved 30 May 2019, from https://www.timeshighereducation.com/student/blogs/waiter-working-singapore-becoming-harvard-graduate
|
|
Caltech
|
|
California institute of technology. (2016). Worldtopversities.blogspot.com. Retrieved 13 May 2019, from http://worldtopversities.blogspot.com/2016/02/california-institute-of-technology.html
|
|
THE UNIVERSITIES — SCHOLARSHIP. (2019). SCHOLARSHIP. Retrieved 13 May 2019, from http://www.akerscholarship.no/universities
|
|
Fermilab Today | California Institute of Technology. (2019). Fnal.gov. Retrieved 13 May 2019, from http://www.fnal.gov/pub/today/universities/caltech.html
|
|
Made this little California banner, would appreciate some feedback on what I did well and what I need work on : AdobeIllustrator. (2019). Reddit.com. Retrieved 20 May 2019, from https://www.reddit.com/r/AdobeIllustrator/comments/5e1pbx/made_this_little_california_banner_would/
|
|
Oxford
|
|
A-Z of colleges | University of Oxford. (2019). Ox.ac.uk. Retrieved 13 May 2019, from https://www.ox.ac.uk/admissions/undergraduate/colleges/a-z-of-colleges?wssl=1
|
|
Desk. (2018). Want to be a part of Oxford University? A new college is opening shortly after a gap of 30 years. India Today. Retrieved 13 May 2019, from https://www.indiatoday.in/education-today/news/story/want-to-be-a-part-of-oxford-university-here-s-a-new-college-opening-shortly-after-a-gap-of-30-years-says-report-1318209-2018-08-19
|
|
Rhodes Scholars from Harvard reflect on learning at Oxford. (2017). Harvard Gazette. Retrieved 13 May 2019, from https://news.harvard.edu/gazette/story/2017/11/rhodes-scholars-from-harvard-reflect-on-learning-at-oxford/
|
|
Divisions | University of Oxford. (2019). Ox.ac.uk. Retrieved 21 May 2019, from https://www.ox.ac.uk/research/divisions?wssl=1
|
|
Oxford Real Estate Society – Oxford Real Estate Society. (2019). Oxres.org. Retrieved 30 May 2019, from https://oxres.org/
|
|
ETH Zuirch
|
|
ETH Zurich. (2019). Ethz.ch. Retrieved 13 May 2019, from https://www.ethz.ch/en/the-eth-zurich.html
|
|
ETH and University of Zurich launch Wyss Translational Center Zurich. (2019). Ethz.ch. Retrieved 13 May 2019, from https://www.ethz.ch/en/news-and-events/eth-news/news/2014/12/eth-and-university-of-zurich-launch-wyss-translational-center-zurich.html
|
|
News, L. (2015). Swiss immigration vote: no impact on top university enrollments. Le News. Retrieved 13 May 2019, from https://lenews.ch/2015/05/05/swiss-immigration-vote-no-impact-on-top-university-enrollments/
|
|
Stern, J. (2019). Bedford Area Guide | Fisher German. Fisher German. Retrieved 23 May 2019, from https://www.fishergerman.co.uk/offices/area-guides/bedford-area-guide
|
|
ETH Zurich - Homepage. (2019). Ethz.ch. Retrieved 28 May 2019, from https://www.ethz.ch/en.html
|
|
File:ETH Zürich, Kuppel bei Nacht.jpg - Wikimedia Commons. (2015). Commons.wikimedia.org. Retrieved 29 May 2019, from https://commons.wikimedia.org/wiki/File:ETH_Z%C3%BCrich,_Kuppel_bei_Nacht.jpg
|
|
Vallecillo), R. (2019). OCL 2011. Gres.uoc.edu. Retrieved 29 May 2019, from http://gres.uoc.edu/OCL2011/
|
|
(2019). Ethz.ch. Retrieved 29 May 2019, from https://www.ethz.ch/content/dam/ethz/special-interest/mtec/mtec-department-dam/news/files/Calmy-Rey_Plakat_A3.pdf
|
|
Imperial College London
|
|
Campus, S. (2019). Campuses and maps. Imperial College London. Retrieved 13 May 2019, from https://www.imperial.ac.uk/visit/campuses/
|
|
https://venues4hire.org/venue/details/16948/imperial-venues-imperial-college-london
|
|
The Hamlyn Centre | TERRINet. (2019). Terrinet.eu. Retrieved 13 May 2019, from https://www.terrinet.eu/infrastructures/imperial-hamlyn-centre/
|
|
Imperial College London. (2019). En.wikipedia.org. Retrieved 29 May 2019, from https://en.wikipedia.org/wiki/Imperial_College_London
|
|
Campus, S. (2019). Introducing Imperial. Imperial College London. Retrieved 23 May 2019, from https://www.imperial.ac.uk/about/introducing-imperial/
|
|
Bil.ac.uk Login (2019). Copyright © 2019, fromhttp://residencia.ezaap.com/bil-ac-uk-login.html
|
|
University of Chicago
|
|
Landsbaum, C. (2019). This College Just Banned Trigger Warnings and Safe Spaces. The Cut. Retrieved 13 May 2019, from https://www.thecut.com/2016/08/university-of-chicago-bans-trigger-warnings-safe-spaces.html
|
|
The University of Chicago sent a bold letter to its incoming freshmen about the school's 'commitment to academic freedom'. (2019). Business Insider. Retrieved 13 May 2019, from https://www.businessinsider.com/university-of-chicago-no-trigger-warnings-and-safe-spaces-2016-8
|
|
University of chicago Logos. (2019). Logolynx.com. Retrieved 13 May 2019, from https://www.logolynx.com/topic/university+of+chicago
|
|
5 Kampus Terbaik di Eropa buat Lo yang Haus Ilmu. (2019). kincir.com. Retrieved 16 May 2019, from https://www.kincir.com/chillax/job-education/5-kampus-terbaik-di-eropa-buat-lo-yang-haus-ilmu
|
|
Tree House in London by 6a Architects | Yellowtrace.. (2014). Yellowtrace. Retrieved 29 May 2019, from https://www.yellowtrace.com.au/tree-house-6a-architects/
|
|
(2019). Web.math.rochester.edu. Retrieved 29 May 2019, from https://web.math.rochester.edu/people/faculty/doug/Talks/UC17.pdf
|
|
Why UChicago is Wrong About “Safe Spaces” and “Trigger Warnings”. (2016). Medium. Retrieved 29 May 2019, from https://medium.com/@cmclymer/why-uchicago-is-wrong-about-safe-spaces-and-trigger-warnings-215e0976525
|
|
UCL
|
|
Online courses from UCL (University College London) . (2019). FutureLearn. Retrieved 13 May 2019, from https://www.futurelearn.com/partners/ucl
|
|
You are being redirected.... (2019). Theboar.org. Retrieved 13 May 2019, from https://theboar.org/2018/02/eugenics-conference-secretly-held-on-university-of-college-londons-campus/
|
|
University College London. (2019). Pinterest. Retrieved 13 May 2019, from https://www.pinterest.com/studentcrowd/university-college-london/
|
|
Twitter. (2019). Twitter.com. Retrieved 29 May 2019, from https://twitter.com/uclnews/status/908684094304919553
|
|
LLM News - LLM Student of UCL Wins Georg Schwarzenberger Prize. (2018). TransLegal. Retrieved 29 May 2019, from https://www.translegal.com/llm-news/llm-student-ucl-wins-georg-schwarzenberger-prize
|
|
Cornell University
|
|
Turrillo, H. (2019). Global Economy Slowdown: The Key Drivers for 2019 - tradersdna - resources for traders/investors for Forex, Stocks, Commodities, Bitcoin, Blockchain, Fintech and Forum. tradersdna - resources for traders/investors for Forex, Stocks, Commodities, Bitcoin, Blockchain, Fintech and Forum. Retrieved 24 May 2019, from https://www.tradersdna.com/global-economy-slowdown-the-key-drivers-for-2019/
|
|
Schiavetta, Z. (2019). Fear and Loathing in NYC: 5 Things We Hate Yet Love About the Big Apple. Broke-Ass Stuart's Website. Retrieved 25 May 2019, from https://brokeassstuart.com/2016/01/27/fear-and-loathing-in-nyc-5-things-we-hate-yet-love-about-the-big-apple/
|
|
Cornell University: Elite Ivy League Education. (2019). Statlerhotel.cornell.edu. Retrieved 29 May 2019, from https://statlerhotel.cornell.edu/explore/cornell-university
|
|
Cornell University. (2016). Collegeconsensus.com. Retrieved 29 May 2019, from https://www.collegeconsensus.com/schools/cornell-university/
|
|
Cornell University. (2018). Daytripper University. Retrieved 29 May 2019, from https://www.daytripperuniversity.com/dtuschool/cornell-university
|
|
Duke University
|
|
How to Pay for Duke University. (2016). Earnest Blog | Money Advice for Young Professionals. Retrieved 29 May 2019, from https://www.earnest.com/blog/how-to-pay-for-duke-university/
|
|
http://time.com. (2019). Time. Retrieved 29 May 2019, from http://time.com/3670470/duke-wont-broadcast-muslim-call-to-prayer-after-all/
|
|
Duke University Complex General Surgical Oncology Fellowship | Society of Surgical Oncology. (2019). Society of Surgical Oncology. Retrieved 29 May 2019, from https://www.surgonc.org/fellows/surgical-oncology-fellowships/program-list/duke-university-complex-general-surgical-oncology-fellowship/
|
|
Duke University Medical Center | Balfour Beatty US . (2019). Balfourbeattyus.com. Retrieved 29 May 2019, from https://www.balfourbeattyus.com/our-work/project-portfolio/duke-university-medical-center
|
|
Lees, K., Lees, K., Lees, K., Lees, K., & Lees, K. (2015). charlie hebdo | Suffragio. Suffragio.org. Retrieved 29 May 2019, from http://suffragio.org/tag/charlie-hebdo/
|
|
Other
|
|
Pait, J., & →, V. (2013). The test you cannot fail. Low Cadence. Retrieved 29 May 2019, from http://lowcadence.com/2013/01/11/the-test-you-cannot-fail/
|
|
UNITED WAY EARNS PERFECT SCORE FROM CHARITY NAVIGATOR. (2019). River Style. Retrieved 29 May 2019, from https://riverstylemag.com/2019/02/08/united-way-earns-perfect-score-from-charity-navigator/
|
|
City. (2019). En.wikipedia.org. Retrieved 29 May 2019, from https://en.wikipedia.org/wiki/City
|
|
Adina Apartment Hotel Britomart Auckland | Official site | Book Direct for Best Rate Guaranteed . (2019). Tfehotels.com. Retrieved 29 May 2019, from https://www.tfehotels.com/en/hotels/adina-apartment-hotels/auckland-britomart/
|
|
Top Universities in the World 2019. (2018). Top Universities. Retrieved 13 May 2019, from https://www.topuniversities.com/university-rankings-articles/world-university-rankings/top-universities-world-2019
|
|
Collage Maker | BeFunky: Create Photo Collages. (2019). BeFunky. Retrieved 13 May 2019, from https://www.befunky.com/create/collage/
|


[orm] [feature] Added a new method Query.select_entity_from() which will in 0.9 replace part of the functionality of Query.select_from(). In 0.8, the two methods perform the same function, so that code can be migrated to use the Query.select_entity_from() method as appropriate. See the 0.9 migration guide for details.(link)
[orm] [bug] A warning is emitted when trying to flush an object of an inherited class where the polymorphic discriminator has been assigned to a value that is invalid for the class.(link)
[orm] [bug] Fixed bug in polymorphic SQL generation where multiple joined-inheritance entities against the same base class joined to each other as well would not track columns on the base table independently of each other if the string of joins were more than two entities long.(link)
[orm] [bug] Fixed bug where sending a composite attribute into Query.order_by() would produce a parenthesized expression not accepted by some databases.(link)
[orm] [bug] Fixed the interaction between composite attributes and the aliased() function. Previously, composite attributes wouldn’t work correctly in comparison operations when aliasing was applied.(link)
[orm] [bug] [ext] Fixed bug where MutableDict didn’t report a change event when clear() was called.(link)
[orm] [bug] Fixed a regression caused by #2682 whereby the evaluation invoked by Query.update() and Query.delete() would hit upon unsupported True and False symbols which now appear due to the usage of IS.(link)
[orm] [bug] Fixed a regression from 0.7 caused by this ticket, which made the check for recursion overflow in self-referential eager joining too loose, missing a particular circumstance where a subclass had lazy=”joined” or “subquery” configured and the load was a “with_polymorphic” against the base.(link)
[orm] [bug] Fixed a regression from 0.7 where the contextmanager feature of Session.begin_nested() would fail to correctly roll back the transaction when a flush error occurred, instead raising its own exception while leaving the session still pending a rollback.(link)
[feature] [orm] [declarative] ORM descriptors such as hybrid properties can now be referenced by name in a string argument used with order_by, primaryjoin, or similar in relationship(), in addition to column-bound attributes.(link)
[engine] [bug] Fixed bug where the reset_on_return argument to various Pool implementations would not be propagated when the pool was regenerated. Courtesy Eevee.(link)
[engine] [bug] [sybase] Fixed a bug where the routine to detect the correct kwargs being sent to create_engine() would fail in some cases, such as with the Sybase dialect.(link)
[sql] [feature] Provided a new attribute for TypeDecorator called TypeDecorator.coerce_to_is_types, to make it easier to control how comparisons using == or != to None and boolean types goes about producing an IS expression, or a plain equality expression with a bound parameter.(link)
[sql] [bug] Multiple fixes to the correlation behavior of Select constructs, first introduced in 0.8.0:
[sql] [bug] Fixed bug whereby joining a select() of a table “A” with multiple foreign key paths to a table “B”, to that table “B”, would fail to produce the “ambiguous join condition” error that would be reported if you join table “A” directly to “B”; it would instead produce a join condition with multiple criteria.(link)
[sql] [bug] [reflection] Fixed bug whereby using MetaData.reflect() across a remote schema as well as a local schema could produce wrong results in the case where both schemas had a table of the same name.(link)
[sql] [bug] Removed the “not implemented” __iter__() call from the base ColumnOperators class, while this was introduced in 0.8.0 to prevent an endless, memory-growing loop when one also implements a __getitem__() method on a custom operator and then calls erroneously list() on that object, it had the effect of causing column elements to report that they were in fact iterable types which then throw an error when you try to iterate. There’s no real way to have both sides here so we stick with Python best practices. Careful with implementing __getitem__() on your custom operators!(link)
[sql] [bug] [mssql] Regression from this ticket caused the unsupported keyword “true” to render, added logic to convert this to 1/0 for SQL server.(link)
[postgresql] [feature] Support for Postgresql 9.2 range types has been added. Currently, no type translation is provided, so works directly with strings or psycopg2 2.5 range extension types at the moment. Patch courtesy Chris Withers.(link)
[postgresql] [feature] Added support for “AUTOCOMMIT” isolation when using the psycopg2 DBAPI. The keyword is available via the isolation_level execution option. Patch courtesy Roman Podolyaka.(link)
[postgresql] [bug] The behavior of extract() has been simplified on the Postgresql dialect to no longer inject a hardcoded ::timestamp or similar cast into the given expression, as this interfered with types such as timezone-aware datetimes, but also does not appear to be at all necessary with modern versions of psycopg2.(link)
[postgresql] [bug] Fixed bug in HSTORE type where keys/values that contained backslashed quotes would not be escaped correctly when using the “non native” (i.e. non-psycopg2) means of translating HSTORE data. Patch courtesy Ryan Kelly.(link)
[postgresql] [bug] Fixed bug where the order of columns in a multi-column Postgresql index would be reflected in the wrong order. Courtesy Roman Podolyaka.(link)
[postgresql] [bug] Fixed the HSTORE type to correctly encode/decode for unicode. This is always on, as the hstore is a textual type, and matches the behavior of psycopg2 when using Python 3. Courtesy Dmitry Mugtasimov.(link)
[mysql] [feature] The mysql_length parameter used with Index can now be passed as a dictionary of column names/lengths, for use with composite indexes. Big thanks to Roman Podolyaka for the patch.(link)
[mysql] [bug] Fixed bug when using multi-table UPDATE where a supplemental table is a SELECT with its own bound parameters, where the positioning of the bound parameters would be reversed versus the statement itself when using MySQL’s special syntax.(link)
[mysql] [bug] Added another conditional to the mysql+gaerdbms dialect to detect so-called “development” mode, where we should use the rdbms_mysqldb DBAPI. Patch courtesy Brett Slatkin.(link)
[mysql] [bug] The deferrable keyword argument on ForeignKey and ForeignKeyConstraint will not render the DEFERRABLE keyword on the MySQL dialect. For a long time we left this in place because a non-deferrable foreign key would act very differently than a deferrable one, but some environments just disable FKs on MySQL, so we’ll be less opinionated here.(link)
[mysql] [bug] Updated mysqlconnector dialect to check for disconnect based on the apparent string message sent in the exception; tested against mysqlconnector 1.0.9.(link)
[firebird] [feature] Added new flag retaining=True to the kinterbasdb and fdb dialects. This controls the value of the retaining flag sent to the commit() and rollback() methods of the DBAPI connection. Due to historical concerns, this flag defaults to True, however in 0.9 this flag will be defaulted to False.(link)
[firebird] [bug] Type lookup when reflecting the Firebird types LONG and INT64 has been fixed so that LONG is treated as INTEGER, INT64 treated as BIGINT, unless the type has a “precision” in which case it’s treated as NUMERIC. Patch courtesy Russell Stuart.(link)
[bug] [ext] Fixed bug whereby if a composite type were set up with a function instead of a class, the mutable extension would trip up when it tried to check that column for being a MutableComposite (which it isn’t). Courtesy asldevi.(link)
[bug] [examples] Fixed an issue with the “versioning” recipe whereby a many-to-one reference could produce a meaningless version for the target, even though it was not changed, when backrefs were present. Patch courtesy Matt Chisholm.(link)
[bug] [examples] Fixed a small bug in the dogpile example where the generation of SQL cache keys wasn’t applying deduping labels to the statement the same way Query normally does.(link)
[requirements] The Python mock library is now required in order to run the unit test suite. While part of the standard library as of Python 3.3, previous Python installations will need to install this in order to run unit tests or to use the sqlalchemy.testing package for external dialects.(link)
[orm] [feature] Added a convenience method to Query that turns a query into an EXISTS subquery of the form EXISTS (SELECT 1 FROM ... WHERE ...).(link)
[orm] [bug] Fixes to the sqlalchemy.ext.serializer extension, including that the “id” passed from the pickler is turned into a string to prevent against bytes being parsed on Py3K, as well as that relationship() and orm.join() constructs are now properly serialized.(link)
[orm] [bug] A significant improvement to the inner workings of query.join(), such that the decisionmaking involved on how to join has been dramatically simplified. New test cases now pass such as multiple joins extending from the middle of an already complex series of joins involving inheritance and such. Joining from deeply nested subquery structures is still complicated and not without caveats, but with these improvements the edge cases are hopefully pushed even farther out to the edges.(link)
[orm] [bug] Added a conditional to the unpickling process for ORM mapped objects, such that if the reference to the object were lost when the object was pickled, we don’t erroneously try to set up _sa_instance_state - fixes a NoneType error.(link)
[orm] [bug] Fixed bug where many-to-many relationship with uselist=False would fail to delete the association row and raise an error if the scalar attribute were set to None. This was a regression introduced by the changes for #2229.(link)
[orm] [bug] Improved the behavior of instance management regarding the creation of strong references within the Session; an object will no longer have an internal reference cycle created if it’s in the transient state or moves into the detached state - the strong ref is created only when the object is attached to a Session and is removed when the object is detached. This makes it somewhat safer for an object to have a __del__() method, even though this is not recommended, as relationships with backrefs produce cycles too. A warning has been added when a class with a __del__() method is mapped.(link)
[orm] [bug] Fixed bug whereby ORM would run the wrong kind of query when refreshing an inheritance-mapped class where the superclass was mapped to a non-Table object, like a custom join() or a select(), running a query that assumed a hierarchy that’s mapped to individual Table-per-class.(link)
[orm] [bug] Fixed __repr__() on mapper property constructs to work before the object is initialized, so that Sphinx builds with recent Sphinx versions can read them.(link)
[orm] [bug] Fixed bug when a query of the form: query(SubClass).options(subqueryload(Baseclass.attrname)), where SubClass is a joined inh of BaseClass, would fail to apply the JOIN inside the subquery on the attribute load, producing a cartesian product. The populated results still tended to be correct as additional rows are just ignored, so this issue may be present as a performance degradation in applications that are otherwise working correctly. Also in 0.7.11.(link)
[orm] [bug] Fixed bug in unit of work whereby a joined-inheritance subclass could insert the row for the “sub” table before the parent table, if the two tables had no ForeignKey constraints set up between them. Also in 0.7.11.(link)
[bug] [orm] [declarative] Fixed indirect regression regarding has_inherited_table(), where since it considers the current class’ __table__, was sensitive to when it was called. This is 0.7’s behavior also, but in 0.7 things tended to “work out” within events like __mapper_args__(). has_inherited_table() now only considers superclasses, so should return the same answer regarding the current class no matter when it’s called (obviously assuming the state of the superclass).(link)
[sql] [feature] Loosened the check on dialect-specific argument names passed to Table(); since we want to support external dialects and also want to support args without a certain dialect being installed, it only checks the format of the arg now, rather than looking for that dialect in sqlalchemy.dialects.(link)
[sql] [bug] [mysql] Fully implemented the IS and IS NOT operators with regards to the True/False constants. An expression like col.is_(True) will now render col IS true on the target platform, rather than converting the True/ False constant to an integer bound parameter. This allows the is_() operator to work on MySQL when given True/False constants.(link)
[sql] [bug] A major fix to the way in which a select() object produces labeled columns when apply_labels() is used; this mode produces a SELECT where each column is labeled as in <tablename>_<columnname>, to remove column name collisions for a multiple table select. The fix is that if two labels collide when combined with the table name, i.e. “foo.bar_id” and “foo_bar.id”, anonymous aliasing will be applied to one of the dupes. This allows the ORM to handle both columns independently; previously, 0.7 would in some cases silently emit a second SELECT for the column that was “duped”, and in 0.8 an ambiguous column error would be emitted. The “keys” applied to the .c. collection of the select() will also be deduped, so that the “column being replaced” warning will no longer emit for any select() that specifies use_labels, though the dupe key will be given an anonymous label which isn’t generally user-friendly.(link)
[sql] [bug] Fixed bug where disconnect detect on error would raise an attribute error if the error were being raised after the Connection object had already been closed.(link)
[sql] [bug] Reworked internal exception raises that emit a rollback() before re-raising, so that the stack trace is preserved from sys.exc_info() before entering the rollback. This so that the traceback is preserved when using coroutine frameworks which may have switched contexts before the rollback function returns.(link)
[sql] [bug] [postgresql] The _Binary base type now converts values through the bytes() callable when run on Python 3; in particular psycopg2 2.5 with Python 3.3 seems to now be returning the “memoryview” type, so this is converted to bytes before return.(link)
[sql] [bug] Improvements to Connection auto-invalidation handling. If a non-disconnect error occurs, but leads to a delayed disconnect error within error handling (happens with MySQL), the disconnect condition is detected. The Connection can now also be closed when in an invalid state, meaning it will raise “closed” on next usage, and additionally the “close with result” feature will work even if the autorollback in an error handling routine fails and regardless of whether the condition is a disconnect or not.(link)
[sql] [bug] Fixed bug whereby a DBAPI that can return “0” for cursor.lastrowid would not function correctly in conjunction with ResultProxy.inserted_primary_key.(link)
[postgresql] [bug] Opened up the checking for “disconnect” with psycopg2/libpq to check for all the various “disconnect” messages within the full exception hierarchy. Specifically the “closed the connection unexpectedly” message has now been seen in at least three different exception types. Courtesy Eli Collins.(link)
[postgresql] [bug] The operators for the Postgresql ARRAY type supports input types of sets, generators, etc. even when a dimension is not specified, by turning the given iterable into a collection unconditionally.(link)
[postgresql] [bug] Added missing HSTORE type to postgresql type names so that the type can be reflected.(link)
[mysql] [bug] Fixes to support the latest cymysql DBAPI, courtesy Hajime Nakagami.(link)
[mysql] [bug] Improvements to the operation of the pymysql dialect on Python 3, including some important decode/bytes steps. Issues remain with BLOB types due to driver issues. Courtesy Ben Trofatter.(link)
[mysql] [bug] Updated a regexp to correctly extract error code on google app engine v1.7.5 and newer. Courtesy Dan Ring.(link)
[mssql] [bug] Part of a longer series of fixes needed for pyodbc+ mssql, a CAST to NVARCHAR(max) has been added to the bound parameter for the table name and schema name in all information schema queries to avoid the issue of comparing NVARCHAR to NTEXT, which seems to be rejected by the ODBC driver in some cases, such as FreeTDS (0.91 only?) plus unicode bound parameters being passed. The issue seems to be specific to the SQL Server information schema tables and the workaround is harmless for those cases where the problem doesn’t exist in the first place.(link)
[mssql] [bug] Added support for additional “disconnect” messages to the pymssql dialect. Courtesy John Anderson.(link)
[mssql] [bug] Fixed Py3K bug regarding “binary” types and pymssql. Courtesy Marc Abramowitz.(link)
[bug] [examples] Fixed a long-standing bug in the caching example, where the limit/offset parameter values wouldn’t be taken into account when computing the cache key. The _key_from_query() function has been simplified to work directly from the final compiled statement in order to get at both the full statement as well as the fully processed parameter list.(link)
Note
There are some new behavioral changes as of 0.8.0 not present in 0.8.0b2. They are present in the migration document as follows:
[orm] [feature] A meaningful QueryableAttribute.info attribute is added, which proxies down to the .info attribute on either the schema.Column object if directly present, or the MapperProperty otherwise. The full behavior is documented and ensured by tests to remain stable.(link)
[orm] [feature] Can set/change the “cascade” attribute on a relationship() construct after it’s been constructed already. This is not a pattern for normal use but we like to change the setting for demonstration purposes in tutorials.(link)
[orm] [feature] Added new helper function was_deleted(), returns True if the given object was the subject of a Session.delete() operation.(link)
[orm] [feature] Extended the Runtime Inspection API system so that all Python descriptors associated with the ORM or its extensions can be retrieved. This fulfills the common request of being able to inspect all QueryableAttribute descriptors in addition to extension types such as hybrid_property and AssociationProxy. See Mapper.all_orm_descriptors.(link)
[orm] [bug] Improved checking for an existing backref name conflict during mapper configuration; will now test for name conflicts on superclasses and subclasses, in addition to the current mapper, as these conflicts break things just as much. This is new for 0.8, but see below for a warning that will also be triggered in 0.7.11.(link)
[orm] [bug] Improved the error message emitted when a “backref loop” is detected, that is when an attribute event triggers a bidirectional assignment between two other attributes with no end. This condition can occur not just when an object of the wrong type is assigned, but also when an attribute is mis-configured to backref into an existing backref pair. Also in 0.7.11.(link)
[orm] [bug] A warning is emitted when a MapperProperty is assigned to a mapper that replaces an existing property, if the properties in question aren’t plain column-based properties. Replacement of relationship properties is rarely (ever?) what is intended and usually refers to a mapper mis-configuration. Also in 0.7.11.(link)
[orm] [bug] A clear error message is emitted if an event handler attempts to emit SQL on a Session within the after_commit() handler, where there is not a viable transaction in progress.(link)
[orm] [bug] Detection of a primary key change within the process of cascading a natural primary key update will succeed even if the key is composite and only some of the attributes have changed.(link)
[orm] [bug] An object that’s deleted from a session will be de-associated with that session fully after the transaction is committed, that is the object_session() function will return None.(link)
[orm] [bug] Fixed bug whereby Query.yield_per() would set the execution options incorrectly, thereby breaking subsequent usage of the Query.execution_options() method. Courtesy Ryan Kelly.(link)
[orm] [bug] Fixed the consideration of the between() operator so that it works correctly with the new relationship local/remote system.(link)
[orm] [bug] the consideration of a pending object as an “orphan” has been modified to more closely match the behavior as that of persistent objects, which is that the object is expunged from the Session as soon as it is de-associated from any of its orphan-enabled parents. Previously, the pending object would be expunged only if de-associated from all of its orphan-enabled parents. The new flag legacy_is_orphan is added to orm.mapper() which re-establishes the legacy behavior.
See the change note and example case at The consideration of a “pending” object as an “orphan” has been made more aggressive for a detailed discussion of this change.
(link)[orm] [bug] Fixed the (most likely never used<EMAIL_ADDRESS>collection method, which fires off each time the collection is associated or de-associated with a mapped object - the decorator was not tested or functional. The decorator method is now named collection.linker() though the name “link” remains for backwards compatibility. Courtesy Luca Wehrstedt.(link)
[orm] [bug] Made some fixes to the system of producing custom instrumented collections, mainly that the usage of the @collection decorators will now honor the __mro__ of the given class, applying the logic of the sub-most classes’ version of a particular collection method. Previously, it wasn’t predictable when subclassing an existing instrumented class such as MappedCollection whether or not custom methods would resolve correctly.(link)
[orm] [bug] Fixed potential memory leak which could occur if an arbitrary number of sessionmaker objects were created. The anonymous subclass created by the sessionmaker, when dereferenced, would not be garbage collected due to remaining class-level references from the event package. This issue also applies to any custom system that made use of ad-hoc subclasses in conjunction with an event dispatcher. Also in 0.7.10.(link)
[orm] [bug] Query.merge_result() can now load rows from an outer join where an entity may be None without throwing an error. Also in 0.7.10.(link)
[orm] [bug] Fixes to the “dynamic” loader on relationship(), includes that backrefs will work properly even when autoflush is disabled, history events are more accurate in scenarios where multiple add/remove of the same object occurs.(link)
[orm] [removed] The undocumented (and hopefully unused) system of producing custom collections using an __instrumentation__ datastructure associated with the collection has been removed, as this was a complex and untested feature which was also essentially redundant versus the decorator approach. Other internal simplifcations to the orm.collections module have been made as well.(link)
[sql] [feature] Added a new argument to Enum and its base SchemaType inherit_schema. When set to True, the type will set its schema attribute of that of the Table to which it is associated. This also occurs during a Table.tometadata() operation; the SchemaType is now copied in all cases when Table.tometadata() happens, and if inherit_schema=True, the type will take on the new schema name passed to the method. The schema is important when used with the Postgresql backend, as the type results in a CREATE TYPE statement.(link)
[sql] [feature] Index now supports arbitrary SQL expressions and/or functions, in addition to straight columns. Common modifiers include using somecolumn.desc() for a descending index and func.lower(somecolumn) for a case-insensitive index, depending on the capabilities of the target backend.(link)
[sql] [bug] The behavior of SELECT correlation has been improved such that the Select.correlate() and Select.correlate_except() methods, as well as their ORM analogues, will still retain “auto-correlation” behavior in that the FROM clause is modified only if the output would be legal SQL; that is, the FROM clause is left intact if the correlated SELECT is not used in the context of an enclosing SELECT inside of the WHERE, columns, or HAVING clause. The two methods now only specify conditions to the default “auto correlation”, rather than absolute FROM lists.(link)
[sql] [bug] Fixed a bug regarding column annotations which in particular could impact some usages of the new orm.remote() and orm.local() annotation functions, where annotations could be lost when the column were used in a subsequent expression.(link)
[sql] [bug] The ColumnOperators.in_() operator will now coerce values of None to null().(link)
[sql] [bug] Fixed bug where Table.tometadata() would fail if a Column had both a foreign key as well as an alternate ”.key” name for the column. Also in 0.7.10.(link)
[sql] [bug] insert().returning() raises an informative CompileError if attempted to compile on a dialect that doesn’t support RETURNING.(link)
[sql] [bug] Tweaked the “REQUIRED” symbol used by the compiler to identify INSERT/UPDATE bound parameters that need to be passed, so that it’s more easily identifiable when writing custom bind-handling code.(link)
[schema] [bug] MetaData.create_all() and MetaData.drop_all() will now accommodate an empty list as an instruction to not create/drop any items, rather than ignoring the collection.(link)
[postgresql] [feature] Added support for Postgresql’s traditional SUBSTRING function syntax, renders as “SUBSTRING(x FROM y FOR z)” when regular func.substring() is used. Also in 0.7.11. Courtesy Gunnlaugur Þór Briem.(link)
[postgresql] [feature] Added postgresql.ARRAY.Comparator.any() and postgresql.ARRAY.Comparator.all() methods, as well as standalone expression constructs. Big thanks to Audrius Kažukauskas for the terrific work here.(link)
[postgresql] [bug] Fixed bug in postgresql.array() construct whereby using it inside of an expression.insert() construct would produce an error regarding a parameter issue in the self_group() method.(link)
[mysql] [feature] New dialect for CyMySQL added, courtesy Hajime Nakagami.(link)
[mysql] [feature] GAE dialect now accepts username/password arguments in the URL, courtesy Owen Nelson.(link)
[mysql] [bug] [gae] Added a conditional import to the gaerdbms dialect which attempts to import rdbms_apiproxy vs. rdbms_googleapi to work on both dev and production platforms. Also now honors the instance attribute. Courtesy Sean Lynch. Also in 0.7.10.(link)
[mysql] [bug] GAE dialect won’t fail on None match if the error code can’t be extracted from the exception throw; courtesy Owen Nelson.(link)
[mssql] [feature] Added mssql_include and mssql_clustered options to Index, renders the INCLUDE and CLUSTERED keywords, respectively. Courtesy Derek Harland.(link)
[mssql] [feature] DDL for IDENTITY columns is now supported on non-primary key columns, by establishing a Sequence construct on any integer column. Courtesy Derek Harland.(link)
[mssql] [bug] Added a py3K conditional around unnecessary .decode() call in mssql information schema, fixes reflection in Py3K. Also in 0.7.10.(link)
[mssql] [bug] Fixed a regression whereby the “collation” parameter of the character types CHAR, NCHAR, etc. stopped working, as “collation” is now supported by the base string types. The TEXT, NCHAR, CHAR, VARCHAR types within the MSSQL dialect are now synonyms for the base types.(link)
[oracle] [bug] The cx_oracle dialect will no longer run the bind parameter names through encode(), as this is not valid on Python 3, and prevented statements from functioning correctly on Python 3. We now encode only if supports_unicode_binds is False, which is not the case for cx_oracle when at least version 5 of cx_oracle is used.(link)
[orm] [feature] Added KeyedTuple._asdict() and KeyedTuple._fields to the KeyedTuple class to provide some degree of compatibility with the Python standard library collections.namedtuple().(link)
[orm] [feature] Allow synonyms to be used when defining primary and secondary joins for relationships.(link)
[orm] [feature] [extensions] The sqlalchemy.ext.mutable extension now includes the example MutableDict class as part of the extension.(link)
[orm] [bug] The Query.select_from() method can now be used with a aliased() construct without it interfering with the entities being selected. Basically, a statement like this:
ua = aliased(User)
session.query(User.name).select_from(ua).join(User, User.name > ua.name)
Will maintain the columns clause of the SELECT as coming from the unaliased “user”, as specified; the select_from only takes place in the FROM clause:
SELECT users.name AS users_name FROM users AS users_1
JOIN users ON users.name < users_1.name
Note that this behavior is in contrast to the original, older use case for Query.select_from(), which is that of restating the mapped entity in terms of a different selectable:
session.query(User.name).\
select_from(user_table.select().where(user_table.c.id > 5))
Which produces:
SELECT anon_1.name AS anon_1_name FROM (SELECT users.id AS id,
users.name AS name FROM users WHERE users.id > :id_1) AS anon_1
It was the “aliasing” behavior of the latter use case that was getting in the way of the former use case. The method now specifically considers a SQL expression like expression.select() or expression.alias() separately from a mapped entity like a aliased() construct.
(link)[orm] [bug] The MutableComposite type did not allow for the MutableBase.coerce() method to be used, even though the code seemed to indicate this intent, so this now works and a brief example is added. As a side-effect, the mechanics of this event handler have been changed so that new MutableComposite types no longer add per-type global event handlers. Also in 0.7.10.(link)
[orm] [bug] A second overhaul of aliasing/internal pathing mechanics now allows two subclasses to have different relationships of the same name, supported with subquery or joined eager loading on both simultaneously when a full polymorphic load is used.(link)
[orm] [bug] Fixed bug whereby a multi-hop subqueryload within a particular with_polymorphic load would produce a KeyError. Takes advantage of the same internal pathing overhaul as #2614.(link)
[orm] [bug] Fixed regression where query.update() would produce an error if an object matched by the “fetch” synchronization strategy wasn’t locally present. Courtesy Scott Torborg.(link)
[engine] [feature] The Connection.connect() and Connection.contextual_connect() methods now return a “branched” version so that the Connection.close() method can be called on the returned connection without affecting the original. Allows symmetry when using Engine and Connection objects as context managers:
with conn.connect() as c: # leaves the Connection open
c.execute("...")
with engine.connect() as c: # closes the Connection
c.execute("...")
[engine] [bug] Fixed MetaData.reflect() to correctly use the given Connection, if given, without opening a second connection from that connection’s Engine. Also in 0.7.10.(link)
[engine] The “reflect=True” argument to MetaData is deprecated. Please use the MetaData.reflect() method.(link)
[sql] [feature] The Insert construct now supports multi-valued inserts, that is, an INSERT that renders like “INSERT INTO table VALUES (...), (...), ...”. Supported by Postgresql, SQLite, and MySQL. Big thanks to Idan Kamara for doing the legwork on this one.(link)
[sql] [bug] Fixed a regression caused by #2410 whereby a CheckConstraint would apply itself back to the original table during a Table.tometadata() operation, as it would parse the SQL expression for a parent table. The operation now copies the given expression to correspond to the new table.(link)
[sql] [bug] Fixed bug where using server_onupdate=<FetchedValue|DefaultClause> without passing the “for_update=True” flag would apply the default object to the server_default, blowing away whatever was there. The explicit for_update=True argument shouldn’t be needed with this usage (especially since the documentation shows an example without it being used) so it is now arranged internally using a copy of the given default object, if the flag isn’t set to what corresponds to that argument. Also in 0.7.10.(link)
[sql] [bug] Fixed bug whereby using a label_length on dialect that was smaller than the size of actual column identifiers would fail to render the columns correctly in a SELECT statement.(link)
[sql] [bug] The DECIMAL type now honors the “precision” and “scale” arguments when rendering DDL.(link)
[sql] [bug] Made an adjustment to the “boolean”, (i.e. __nonzero__) evaluation of binary expressions, i.e. x1 == x2, such that the “auto-grouping” applied by BinaryExpression in some cases won’t get in the way of this comparison. Previously, an expression like:
expr1 = mycolumn > 2
bool(expr1 == expr1)
Would evaulate as False, even though this is an identity comparison, because mycolumn > 2 would be “grouped” before being placed into the BinaryExpression, thus changing its identity. BinaryExpression now keeps track of the “original” objects passed in. Additionally the __nonzero__ method now only returns if the operator is == or != - all others raise TypeError.
(link)[sql] [bug] Fixed a gotcha where inadvertently calling list() on a ColumnElement would go into an endless loop, if ColumnOperators.__getitem__() were implemented. A new NotImplementedError is emitted via __iter__().(link)
[sql] [bug] Fixed bug in type_coerce() whereby typing information could be lost if the statement were used as a subquery inside of another statement, as well as other similar situations. Among other things, would cause typing information to be lost when the Oracle/mssql dialects would apply limit/offset wrappings.(link)
[sql] [bug] Fixed bug whereby the ”.key” of a Column wasn’t being used when producing a “proxy” of the column against a selectable. This probably didn’t occur in 0.7 since 0.7 doesn’t respect the ”.key” in a wider range of scenarios.(link)
[sqlite] [bug] More adjustment to this SQLite related issue which was released in 0.7.9, to intercept legacy SQLite quoting characters when reflecting foreign keys. In addition to intercepting double quotes, other quoting characters such as brackets, backticks, and single quotes are now also intercepted. Also in 0.7.10.(link)
[mssql] [feature] Support for reflection of the “name” of primary key constraints added, courtesy Dave Moore.(link)
[mssql] [bug] Fixed bug whereby using “key” with Column in conjunction with “schema” for the owning Table would fail to locate result rows due to the MSSQL dialect’s “schema rendering” logic’s failure to take .key into account. Also in 0.7.10.(link)
[oracle] [bug] Fixed table reflection for Oracle when accessing a synonym that refers to a DBLINK remote database; while the syntax has been present in the Oracle dialect for some time, up until now it has never been tested. The syntax has been tested against a sample database linking to itself, however there’s still some uncertainty as to what should be used for the “owner” when querying the remote database for table information. Currently, the value of “username” from user_db_links is used to match the “owner”.(link)
[oracle] [bug] The Oracle LONG type, while an unbounded text type, does not appear to use the cx_Oracle.LOB type when result rows are returned, so the dialect has been repaired to exclude LONG from having cx_Oracle.LOB filtering applied. Also in 0.7.10.(link)
[oracle] [bug] Repaired the usage of .prepare() in conjunction with cx_Oracle so that a return value of False will result in no call to connection.commit(), hence avoiding “no transaction” errors. Two-phase transactions have now been shown to work in a rudimental fashion with SQLAlchemy and cx_oracle, however are subject to caveats observed with the driver; check the documentation for details. Also in 0.7.10.(link)
[feature] [sybase] Reflection support has been added to the Sybase dialect. Big thanks to Ben Trofatter for all the work developing and testing this.(link)
[feature] [pool] The Pool will now log all connection.close() operations equally, including closes which occur for invalidated connections, detached connections, and connections beyond the pool capacity.(link)
[feature] [pool] The Pool now consults the Dialect for functionality regarding how the connection should be “auto rolled back”, as well as closed. This grants more control of transaction scope to the dialect, so that we will be better able to implement transactional workarounds like those potentially needed for pysqlite and cx_oracle.(link)
[feature] [pool] Added new PoolEvents.reset() hook to capture the event before a connection is auto-rolled back, upon return to the pool. Together with ConnectionEvents.rollback() this allows all rollback events to be intercepted.(link)
[informix] Some cruft regarding informix transaction handling has been removed, including a feature that would skip calling commit()/rollback() as well as some hardcoded isolation level assumptions on begin().. The status of this dialect is not well understood as we don’t have any users working with it, nor any access to an Informix database. If someone with access to Informix wants to help test this dialect, please let us know.(link)
[orm] [feature] Major rewrite of relationship() internals now allow join conditions which include columns pointing to themselves within composite foreign keys. A new API for very specialized primaryjoin conditions is added, allowing conditions based on SQL functions, CAST, etc. to be handled by placing the annotation functions remote() and foreign() inline within the expression when necessary. Previous recipes using the semi-private _local_remote_pairs approach can be upgraded to this new approach.
See also
[orm] [feature] New standalone function with_polymorphic() provides the functionality of query.with_polymorphic() in a standalone form. It can be applied to any entity within a query, including as the target of a join in place of the “of_type()” modifier.(link)
[orm] [feature] The of_type() construct on attributes now accepts aliased() class constructs as well as with_polymorphic constructs, and works with query.join(), any(), has(), and also eager loaders subqueryload(), joinedload(), contains_eager()(link)
[orm] [feature] Improvements to event listening for mapped classes allows that unmapped classes can be specified for instance- and mapper-events. The established events will be automatically set up on subclasses of that class when the propagate=True flag is passed, and the events will be set up for that class itself if and when it is ultimately mapped.(link)
[orm] [feature] The “deferred declarative reflection” system has been moved into the declarative extension itself, using the new DeferredReflection class. This class is now tested with both single and joined table inheritance use cases.(link)
[orm] [feature] Added new core function “inspect()”, which serves as a generic gateway to introspection into mappers, objects, others. The Mapper and InstanceState objects have been enhanced with a public API that allows inspection of mapped attributes, including filters for column-bound or relationship-bound properties, inspection of current object state, history of attributes, etc.(link)
[orm] [feature] Calling rollback() within a session.begin_nested() will now only expire those objects that had net changes within the scope of that transaction, that is objects which were dirty or were modified on a flush. This allows the typical use case for begin_nested(), that of altering a small subset of objects, to leave in place the data from the larger enclosing set of objects that weren’t modified in that sub-transaction.(link)
[orm] [feature] Added utility feature Session.enable_relationship_loading(), supersedes relationship.load_on_pending. Both features should be avoided, however.(link)
[orm] [feature] Added support for .info dictionary argument to column_property(), relationship(), composite(). All MapperProperty classes have an auto-creating .info dict available overall.(link)
[orm] [feature] Adding/removing None from a mapped collection now generates attribute events. Previously, a None append would be ignored in some cases. Related to.(link)
[orm] [feature] The presence of None in a mapped collection now raises an error during flush. Previously, None values in collections would be silently ignored.(link)
[orm] [feature] The Query.update() method is now more lenient as to the table being updated. Plain Table objects are better supported now, and additional a joined-inheritance subclass may be used with update(); the subclass table will be the target of the update, and if the parent table is referenced in the WHERE clause, the compiler will call upon UPDATE..FROM syntax as allowed by the dialect to satisfy the WHERE clause. MySQL’s multi-table update feature is also supported if columns are specified by object in the “values” dicitionary. PG’s DELETE..USING is also not available in Core yet.(link)
[orm] [feature] New session events after_transaction_create and after_transaction_end allows tracking of new SessionTransaction objects. If the object is inspected, can be used to determine when a session first becomes active and when it deactivates.(link)
[orm] [feature] The Query can now load entity/scalar-mixed “tuple” rows that contain types which aren’t hashable, by setting the flag “hashable=False” on the corresponding TypeEngine object in use. Custom types that return unhashable types (typically lists) can set this flag to False.(link)
[orm] [feature] Query now “auto correlates” by default in the same way as select() does. Previously, a Query used as a subquery in another would require the correlate() method be called explicitly in order to correlate a table on the inside to the outside. As always, correlate(None) disables correlation.(link)
[orm] [feature] The after_attach event is now emitted after the object is established in Session.new or Session.identity_map upon Session.add(), Session.merge(), etc., so that the object is represented in these collections when the event is called. Added before_attach event to accommodate use cases that need autoflush w pre-attached object.(link)
[orm] [feature] The Session will produce warnings when unsupported methods are used inside the “execute” portion of the flush. These are the familiar methods add(), delete(), etc. as well as collection and related-object manipulations, as called within mapper-level flush events like after_insert(), after_update(), etc. It’s been prominently documented for a long time that SQLAlchemy cannot guarantee results when the Session is manipulated within the execution of the flush plan, however users are still doing it, so now there’s a warning. Maybe someday the Session will be enhanced to support these operations inside of the flush, but for now, results can’t be guaranteed.(link)
[orm] [feature] ORM entities can be passed to the core select() construct as well as to the select_from(), correlate(), and correlate_except() methods of select(), where they will be unwrapped into selectables.(link)
[orm] [feature] Some support for auto-rendering of a relationship join condition based on the mapped attribute, with usage of core SQL constructs. E.g. select([SomeClass]).where(SomeClass.somerelationship) would render SELECT from “someclass” and use the primaryjoin of “somerelationship” as the WHERE clause. This changes the previous meaning of “SomeClass.somerelationship” when used in a core SQL context; previously, it would “resolve” to the parent selectable, which wasn’t generally useful. Also works with query.filter(). Related to.(link)
[orm] [feature] The registry of classes in declarative_base() is now a WeakValueDictionary. So subclasses of “Base” that are dereferenced will be garbage collected, if they are not referred to by any other mappers/superclass mappers. See the next note for this ticket.(link)
[orm] [feature] Conflicts between columns on single-inheritance declarative subclasses, with or without using a mixin, can be resolved using a new @declared_attr usage described in the documentation.(link)
[orm] [feature] declared_attr can now be used on non-mixin classes, even though this is generally only useful for single-inheritance subclass column conflict resolution.(link)
[orm] [feature] declared_attr can now be used with attributes that are not Column or MapperProperty; including any user-defined value as well as association proxy objects.(link)
[orm] [feature] Very limited support for inheriting mappers to be GC’ed when the class itself is deferenced. The mapper must not have its own table (i.e. single table inh only) without polymorphic attributes in place. This allows for the use case of creating a temporary subclass of a declarative mapped class, with no table or mapping directives of its own, to be garbage collected when dereferenced by a unit test.(link)
[orm] [feature] Declarative now maintains a registry of classes by string name as well as by full module-qualified name. Multiple classes with the same name can now be looked up based on a module-qualified string within relationship(). Simple class name lookups where more than one class shares the same name now raises an informative error message.(link)
[orm] [feature] Can now provide class-bound attributes that override columns which are of any non-ORM type, not just descriptors.(link)
[orm] [feature] Added with_labels and reduce_columns keyword arguments to Query.subquery(), to provide two alternate strategies for producing queries with uniquely- named columns. .(link)
[orm] [feature] A warning is emitted when a reference to an instrumented collection is no longer associated with the parent class due to expiration/attribute refresh/collection replacement, but an append or remove operation is received on the now-detached collection.(link)
[orm] [bug] ORM will perform extra effort to determine that an FK dependency between two tables is not significant during flush if the tables are related via joined inheritance and the FK dependency is not part of the inherit_condition, saves the user a use_alter directive.(link)
[orm] [bug] The instrumentation events class_instrument(), class_uninstrument(), and attribute_instrument() will now fire off only for descendant classes of the class assigned to listen(). Previously, an event listener would be assigned to listen for all classes in all cases regardless of the “target” argument passed.(link)
[orm] [bug] with_polymorphic() produces JOINs in the correct order and with correct inheriting tables in the case of sending multi-level subclasses in an arbitrary order or with intermediary classes missing.(link)
[orm] [bug] Improvements to joined/subquery eager loading dealing with chains of subclass entities sharing a common base, with no specific “join depth” provided. Will chain out to each subclass mapper individually before detecting a “cycle”, rather than considering the base class to be the source of the “cycle”.(link)
[orm] [bug] The “passive” flag on Session.is_modified() no longer has any effect. is_modified() in all cases looks only at local in-memory modified flags and will not emit any SQL or invoke loader callables/initializers.(link)
[orm] [bug] The warning emitted when using delete-orphan cascade with one-to-many or many-to-many without single-parent=True is now an error. The ORM would fail to function subsequent to this warning in any case.(link)
[orm] [bug] Lazy loads emitted within flush events such as before_flush(), before_update(), etc. will now function as they would within non-event code, regarding consideration of the PK/FK values used in the lazy-emitted query. Previously, special flags would be established that would cause lazy loads to load related items based on the “previous” value of the parent PK/FK values specifically when called upon within a flush; the signal to load in this way is now localized to where the unit of work actually needs to load that way. Note that the UOW does sometimes load these collections before the before_update() event is called, so the usage of “passive_updates” or not can affect whether or not a collection will represent the “old” or “new” data, when accessed within a flush event, based on when the lazy load was emitted. The change is backwards incompatible in the exceedingly small chance that user event code depended on the old behavior.(link)
[orm] [bug] Continuing regarding extra state post-flush due to event listeners; any states that are marked as “dirty” from an attribute perspective, usually via column-attribute set events within after_insert(), after_update(), etc., will get the “history” flag reset in all cases, instead of only those instances that were part of the flush. This has the effect that this “dirty” state doesn’t carry over after the flush and won’t result in UPDATE statements. A warning is emitted to this effect; the set_committed_state() method can be used to assign attributes on objects without producing history events.(link)
[orm] [bug] Fixed a disconnect that slowly evolved between a @declared_attr Column and a directly-defined Column on a mixin. In both cases, the Column will be applied to the declared class’ table, but not to that of a joined inheritance subclass. Previously, the directly-defined Column would be placed on both the base and the sub table, which isn’t typically what’s desired.(link)
[orm] [bug] Declarative can now propagate a column declared on a single-table inheritance subclass up to the parent class’ table, when the parent class is itself mapped to a join() or select() statement, directly or via joined inheritance, and not just a Table.(link)
[orm] [bug] An error is emitted when uselist=False is combined with a “dynamic” loader. This is a warning in 0.7.9.(link)
[orm] [moved] The InstrumentationManager interface and the entire related system of alternate class implementation is now moved out to sqlalchemy.ext.instrumentation. This is a seldom used system that adds significant complexity and overhead to the mechanics of class instrumentation. The new architecture allows it to remain unused until InstrumentationManager is actually imported, at which point it is bootstrapped into the core.(link)
[orm] [removed] The legacy “mutable” system of the ORM, including the MutableType class as well as the mutable=True flag on PickleType and postgresql.ARRAY has been removed. In-place mutations are detected by the ORM using the sqlalchemy.ext.mutable extension, introduced in 0.7. The removal of MutableType and associated constructs removes a great deal of complexity from SQLAlchemy’s internals. The approach performed poorly as it would incur a scan of the full contents of the Session when in use.(link)
[orm] [removed] Deprecated identifiers removed:
[engine] [feature] Connection event listeners can now be associated with individual Connection objects, not just Engine objects.(link)
[engine] [feature] The before_cursor_execute event fires off for so-called “_cursor_execute” events, which are usually special-case executions of primary-key bound sequences and default-generation SQL phrases that invoke separately when RETURNING is not used with INSERT.(link)
[engine] [feature] The libraries used by the test suite have been moved around a bit so that they are part of the SQLAlchemy install again. In addition, a new suite of tests is present in the new sqlalchemy.testing.suite package. This is an under-development system that hopes to provide a universal testing suite for external dialects. Dialects which are maintained outside of SQLAlchemy can use the new test fixture as the framework for their own tests, and will get for free a “compliance” suite of dialect-focused tests, including an improved “requirements” system where specific capabilities and features can be enabled or disabled for testing.(link)
[engine] [feature] Added a new system for registration of new dialects in-process without using an entrypoint. See the docs for “Registering New Dialects”.(link)
[engine] [feature] The “required” flag is set to True by default, if not passed explicitly, on bindparam() if the “value” or “callable” parameters are not passed. This will cause statement execution to check for the parameter being present in the final collection of bound parameters, rather than implicitly assigning None.(link)
[engine] [feature] Various API tweaks to the “dialect” API to better support highly specialized systems such as the Akiban database, including more hooks to allow an execution context to access type processors.(link)
[engine] [feature] Inspector.get_primary_keys() is deprecated; use Inspector.get_pk_constraint(). Courtesy Diana Clarke.(link)
[engine] [feature] New C extension module “utils” has been added for additional function speedups as we have time to implement.(link)
[engine] [bug] The Inspector.get_table_names() order_by=”foreign_key” feature now sorts tables by dependee first, to be consistent with util.sort_tables and metadata.sorted_tables.(link)
[engine] [bug] Fixed bug whereby if a database restart affected multiple connections, each connection would individually invoke a new disposal of the pool, even though only one disposal is needed.(link)
[engine] [bug] The names of the columns on the .c. attribute of a select().apply_labels() is now based on <tablename>_<colkey> instead of <tablename>_<colname>, for those columns that have a distinctly named .key.(link)
[engine] [bug] The autoload_replace flag on Table, when False, will cause any reflected foreign key constraints which refer to already-declared columns to be skipped, assuming that the in-Python declared column will take over the task of specifying in-Python ForeignKey or ForeignKeyConstraint declarations.(link)
[engine] [bug] The ResultProxy methods inserted_primary_key, last_updated_params(), last_inserted_params(), postfetch_cols(), prefetch_cols() all assert that the given statement is a compiled construct, and is an insert() or update() statement as is appropriate, else raise InvalidRequestError.(link)
[engine] ResultProxy.last_inserted_ids is removed, replaced by inserted_primary_key.(link)
[sql] [feature] Added a new method Engine.execution_options() to Engine. This method works similarly to Connection.execution_options() in that it creates a copy of the parent object which will refer to the new set of options. The method can be used to build sharding schemes where each engine shares the same underlying pool of connections. The method has been tested against the horizontal shard recipe in the ORM as well.
See also
[sql] [feature] Major rework of operator system in Core, to allow redefinition of existing operators as well as addition of new operators at the type level. New types can be created from existing ones which add or redefine operations that are exported out to column expressions, in a similar manner to how the ORM has allowed comparator_factory. The new architecture moves this capability into the Core so that it is consistently usable in all cases, propagating cleanly using existing type propagation behavior.(link)
[sql] [feature] To complement, types can now provide “bind expressions” and “column expressions” which allow compile-time injection of SQL expressions into statements on a per-column or per-bind level. This is to suit the use case of a type which needs to augment bind- and result- behavior at the SQL level, as opposed to in the Python level. Allows for schemes like transparent encryption/ decryption, usage of Postgis functions, etc.(link)
[sql] [feature] The Core oeprator system now includes the getitem operator, i.e. the bracket operator in Python. This is used at first to provide index and slice behavior to the Postgresql ARRAY type, and also provides a hook for end-user definition of custom __getitem__ schemes which can be applied at the type level as well as within ORM-level custom operator schemes. lshift (<<) and rshift (>>) are also supported as optional operators.
Note that this change has the effect that descriptor-based __getitem__ schemes used by the ORM in conjunction with synonym() or other “descriptor-wrapped” schemes will need to start using a custom comparator in order to maintain this behavior.
(link)[sql] [feature] Revised the rules used to determine the operator precedence for the user-defined operator, i.e. that granted using the op() method. Previously, the smallest precedence was applied in all cases, now the default precedence is zero, lower than all operators except “comma” (such as, used in the argument list of a func call) and “AS”, and is also customizable via the “precedence” argument on the op() method.(link)
[sql] [feature] Added “collation” parameter to all String types. When present, renders as COLLATE <collation>. This to support the COLLATE keyword now supported by several databases including MySQL, SQLite, and Postgresql.(link)
[sql] [feature] Custom unary operators can now be used by combining operators.custom_op() with UnaryExpression().(link)
[sql] [feature] Enhanced GenericFunction and func.* to allow for user-defined GenericFunction subclasses to be available via the func.* namespace automatically by classname, optionally using a package name, as well as with the ability to have the rendered name different from the identified name in func.*.(link)
[sql] [feature] The cast() and extract() constructs will now be produced via the func.* accessor as well, as users naturally try to access these names from func.* they might as well do what’s expected, even though the returned object is not a FunctionElement.(link)
[sql] [feature] The Inspector object can now be acquired using the new inspect() service, part of(link)
[sql] [feature] The column_reflect event now accepts the Inspector object as the first argument, preceding “table”. Code which uses the 0.7 version of this very new event will need modification to add the “inspector” object as the first argument.(link)
[sql] [feature] The behavior of column targeting in result sets is now case sensitive by default. SQLAlchemy for many years would run a case-insensitive conversion on these values, probably to alleviate early case sensitivity issues with dialects like Oracle and Firebird. These issues have been more cleanly solved in more modern versions so the performance hit of calling lower() on identifiers is removed. The case insensitive comparisons can be re-enabled by setting “case_insensitive=False” on create_engine().(link)
[sql] [feature] The “unconsumed column names” warning emitted when keys are present in insert.values() or update.values() that aren’t in the target table is now an exception.(link)
[sql] [feature] Added “MATCH” clause to ForeignKey, ForeignKeyConstraint, courtesy Ryan Kelly.(link)
[sql] [feature] Added support for DELETE and UPDATE from an alias of a table, which would assumedly be related to itself elsewhere in the query, courtesy Ryan Kelly.(link)
[sql] [feature] select() features a correlate_except() method, auto correlates all selectables except those passed.(link)
[sql] [feature] The prefix_with() method is now available on each of select(), insert(), update(), delete(), all with the same API, accepting multiple prefix calls, as well as a “dialect name” so that the prefix can be limited to one kind of dialect.(link)
[sql] [feature] Added reduce_columns() method to select() construct, replaces columns inline using the util.reduce_columns utility function to remove equivalent columns. reduce_columns() also adds “with_only_synonyms” to limit the reduction just to those columns which have the same name. The deprecated fold_equivalents() feature is removed.(link)
[sql] [feature] Reworked the startswith(), endswith(), contains() operators to do a better job with negation (NOT LIKE), and also to assemble them at compilation time so that their rendered SQL can be altered, such as in the case for Firebird STARTING WITH(link)
[sql] [feature] Added a hook to the system of rendering CREATE TABLE that provides access to the render for each Column individually, by constructing a @compiles function against the new schema.CreateColumn construct.(link)
[sql] [feature] “scalar” selects now have a WHERE method to help with generative building. Also slight adjustment regarding how SS “correlates” columns; the new methodology no longer applies meaning to the underlying Table column being selected. This improves some fairly esoteric situations, and the logic that was there didn’t seem to have any purpose.(link)
[sql] [feature] An explicit error is raised when a ForeignKeyConstraint() that was constructed to refer to multiple remote tables is first used.(link)
[sql] [feature] Added ColumnOperators.notin_(), ColumnOperators.notlike(), ColumnOperators.notilike() to ColumnOperators.(link)
[sql] [bug] Fixed bug where keyword arguments passed to Compiler.process() wouldn’t get propagated to the column expressions present in the columns clause of a SELECT statement. In particular this would come up when used by custom compilation schemes that relied upon special flags.(link)
[sql] [bug] [orm] The auto-correlation feature of select(), and by proxy that of orm.Query, will not take effect for a SELECT statement that is being rendered directly in the FROM list of the enclosing SELECT. Correlation in SQL only applies to column expressions such as those in the WHERE, ORDER BY, columns clause.(link)
[sql] [bug] A tweak to column precedence which moves the “concat” and “match” operators to be the same as that of “is”, “like”, and others; this helps with parenthesization rendering when used in conjunction with “IS”.(link)
[sql] [bug] Applying a column expression to a select statement using a label with or without other modifying constructs will no longer “target” that expression to the underlying Column; this affects ORM operations that rely upon Column targeting in order to retrieve results. That is, a query like query(User.id, User.id.label(‘foo’)) will now track the value of each “User.id” expression separately instead of munging them together. It is not expected that any users will be impacted by this; however, a usage that uses select() in conjunction with query.from_statement() and attempts to load fully composed ORM entities may not function as expected if the select() named Column objects with arbitrary .label() names, as these will no longer target to the Column objects mapped by that entity.(link)
[sql] [bug] Fixes to the interpretation of the Column “default” parameter as a callable to not pass ExecutionContext into a keyword argument parameter.(link)
[sql] [bug] All of UniqueConstraint, ForeignKeyConstraint, CheckConstraint, and PrimaryKeyConstraint will attach themselves to their parent table automatically when they refer to a Table-bound Column object directly (i.e. not just string column name), and refer to one and only one Table. Prior to 0.8 this behavior occurred for UniqueConstraint and PrimaryKeyConstraint, but not ForeignKeyConstraint or CheckConstraint.(link)
[sql] [bug] TypeDecorator now includes a generic repr() that works in terms of the “impl” type by default. This is a behavioral change for those TypeDecorator classes that specify a custom __init__ method; those types will need to re-define __repr__() if they need __repr__() to provide a faithful constructor representation.(link)
[sql] [bug] column.label(None) now produces an anonymous label, instead of returning the column object itself, consistent with the behavior of label(column, None).(link)
[sql] [changed] Most classes in expression.sql are no longer preceded with an underscore, i.e. Label, SelectBase, Generative, CompareMixin. _BindParamClause is also renamed to BindParameter. The old underscore names for these classes will remain available as synonyms for the foreseeable future.(link)
[sql] [removed] The long-deprecated and non-functional assert_unicode flag on create_engine() as well as String is removed.(link)
[sql] [change] The Text() type renders the length given to it, if a length was specified.(link)
[postgresql] [feature] postgresql.ARRAY features an optional “dimension” argument, will assign a specific number of dimensions to the array which will render in DDL as ARRAY[][]..., also improves performance of bind/result processing.(link)
[postgresql] [feature] postgresql.ARRAY now supports indexing and slicing. The Python [] operator is available on all SQL expressions that are of type ARRAY; integer or simple slices can be passed. The slices can also be used on the assignment side in the SET clause of an UPDATE statement by passing them into Update.values(); see the docs for examples.(link)
[postgresql] [feature] Added new “array literal” construct postgresql.array(). Basically a “tuple” that renders as ARRAY[1,2,3].(link)
[postgresql] [feature] Added support for the Postgresql ONLY keyword, which can appear corresponding to a table in a SELECT, UPDATE, or DELETE statement. The phrase is established using with_hint(). Courtesy Ryan Kelly(link)
[postgresql] [feature] The “ischema_names” dictionary of the Postgresql dialect is “unofficially” customizable. Meaning, new types such as PostGIS types can be added into this dictionary, and the PG type reflection code should be able to handle simple types with variable numbers of arguments. The functionality here is “unofficial” for three reasons:
patch courtesy Éric Lemoine.
(link)[mysql] [feature] Added TIME type to mysql dialect, accepts “fst” argument which is the new “fractional seconds” specifier for recent MySQL versions. The datatype will interpret a microseconds portion received from the driver, however note that at this time most/all MySQL DBAPIs do not support returning this value.(link)
[mysql] [bug] Dialect no longer emits expensive server collations query, as well as server casing, on first connect. These functions are still available as semi-private.(link)
[sqlite] [feature] the SQLite date and time types have been overhauled to support a more open ended format for input and output, using name based format strings and regexps. A new argument “microseconds” also provides the option to omit the “microseconds” portion of timestamps. Thanks to Nathan Wright for the work and tests on this.(link)
[sqlite] Added types.NCHAR, types.NVARCHAR to the SQLite dialect’s list of recognized type names for reflection. SQLite returns the name given to a type as the name returned.(link)
[mssql] [feature] SQL Server dialect can be given database-qualified schema names, i.e. “schema=’mydatabase.dbo’”; reflection operations will detect this, split the schema among the ”.” to get the owner separately, and emit a “USE mydatabase” statement before reflecting targets within the “dbo” owner; the existing database returned from DB_NAME() is then restored.(link)
[mssql] [feature] updated support for the mxodbc driver; mxodbc 3.2.1 is recommended for full compatibility.(link)
[mssql] [bug] removed legacy behavior whereby a column comparison to a scalar SELECT via == would coerce to an IN with the SQL server dialect. This is implicit behavior which fails in other scenarios so is removed. Code which relies on this needs to be modified to use column.in_(select) explicitly.(link)
[oracle] [feature] The types of columns excluded from the setinputsizes() set can be customized by sending a list of string DBAPI type names to exclude, using the exclude_setinputsizes dialect parameter. This list was previously fixed. The list also now defaults to STRING, UNICODE, removing CLOB, NCLOB from the list.(link)
[oracle] [bug] Quoting information is now passed along from a Column with quote=True when generating a same-named bound parameter to the bindparam() object, as is the case in generated INSERT and UPDATE statements, so that unknown reserved names can be fully supported.(link)
[oracle] [bug] The CreateIndex construct in Oracle will now schema-qualify the name of the index to be that of the parent table. Previously this name was omitted which apparently creates the index in the default schema, rather than that of the table.(link)
[firebird] [feature] The “startswith()” operator renders as “STARTING WITH”, “~startswith()” renders as “NOT STARTING WITH”, using FB’s more efficient operator.(link)
[firebird] [feature] An experimental dialect for the fdb driver is added, but is untested as I cannot get the fdb package to build.(link)
[firebird] [bug] CompileError is raised when VARCHAR with no length is attempted to be emitted, same way as MySQL.(link)
[firebird] [bug] Firebird now uses strict “ansi bind rules” so that bound parameters don’t render in the columns clause of a statement - they render literally instead.(link)
[firebird] [bug] Support for passing datetime as date when using the DateTime type with Firebird; other dialects support this.(link)
[feature] [access] the MS Access dialect has been moved to its own project on Bitbucket, taking advantage of the new SQLAlchemy dialect compliance suite. The dialect is still in very rough shape and probably not ready for general use yet, however it does have extremely rudimental functionality now. https://bitbucket.org/zzzeek/sqlalchemy-access(link)
[moved] [maxdb] The MaxDB dialect, which hasn’t been functional for several years, is moved out to a pending bitbucket project, https://bitbucket.org/zzzeek/sqlalchemy-maxdb.(link)
[examples] The Beaker caching example has been converted to use dogpile.cache. This is a new caching library written by the same creator of Beaker’s caching internals, and represents a vastly improved, simplified, and modernized system of caching.
See also


Step 1:
Download the app on the playstore
Tell us a little about yourself and the amount of money that you'd like to borrow. Just follow the instructions and you may get a better chance of getting approved.
Step 2:
Fill in the information needed
Step 3:
Get Your Cash
Wait for our call and approval within one day.
You can accept or reject your loan offer without any obligations to continue.
Want to learn more about the process? Read our FAQs
Are you ready to apply? Start your application now!


This app was developed and designed by John Gamboa with contributions from Ray Yada and Vilan Le. Assets by Vilan Le.


Create a rental to set the state to rented.
Please enter a valid price like 42.00
Only numbers are allowed.
CriticalStorageValue > 0
A comment is reqired.