newtdb / db

Newt DB is a Python object-oriented database with JSONB-based access and search in PostgreSQL
http://www.newtdb.org
MIT License
143 stars 15 forks source link

Document and fix serialization #15

Closed jimfulton closed 7 years ago

jimfulton commented 7 years ago

This adds documentation and changes serialization:

Serialization of persistent object references and intra-record references (used only when there are cycles) was simplified and made easier to use.

Note: The change to intra-object references is backward incompatible, however, intra-record cycles, and thus the use of intra-record references, are extremely rare and it isn't thought that this change will affect anyone. If this causes problems, please create an issue <https://github.com/newtdb/db/issues/new>_.

The change to persistent references was made in a backward-compatible way, but the backward compatibility support will be dropped in Newt DB version 1.