Commit Graph

326 Commits

Author SHA1 Message Date
github-actions 0aa298e32e 📝 Update release notes 2024-08-09 21:29:44 +00:00
github-actions 26a93e1e7d 📝 Update release notes 2024-08-09 21:27:28 +00:00
Sebastián Ramírez 8c8988f333 📝 Add docs about repo management and team (#1059) 2024-08-09 16:27:10 -05:00
github-actions 137ed10eb0 📝 Update release notes 2024-08-09 17:18:28 +00:00
github-actions 3e0c18440b 📝 Update release notes 2024-08-09 01:44:58 +00:00
Sebastián Ramírez e974cc4c4b 💄 Update Termynal line-height (#1057)
💡 💡 Add comment about custom Termynal line-height
2024-08-08 20:44:14 -05:00
github-actions ec7181a8af 📝 Update release notes 2024-08-09 00:13:28 +00:00
Sebastián Ramírez 970492487a 👷 Upgrade build docs configs (#1047)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-09 00:13:10 +00:00
github-actions 0678615de5 📝 Update release notes 2024-08-08 23:17:12 +00:00
github-actions 07d0b20c60 📝 Update release notes 2024-08-08 23:13:35 +00:00
github-actions d921fb8a3e 📝 Update release notes 2024-08-08 22:44:54 +00:00
github-actions a20a3a8354 📝 Update release notes 2024-08-04 00:55:51 +00:00
github-actions 0f8ba10a2e 📝 Update release notes 2024-08-03 19:13:34 +00:00
github-actions 5e7f84ce71 📝 Update release notes 2024-08-01 01:49:39 +00:00
github-actions 613722df0f 📝 Update release notes 2024-08-01 00:05:23 +00:00
github-actions d7af50c184 📝 Update release notes 2024-07-22 22:53:13 +00:00
Sebastián Ramírez 605bc8229c ✏️ Fix typo in cascade_delete docs (#1030) 2024-07-22 22:52:55 +00:00
Sebastián Ramírez 65d06eaa6a 📝 Tweak release notes 2024-07-20 21:14:00 -05:00
Sebastián Ramírez f3f31a9698 📝 Update release notes 2024-07-20 21:12:48 -05:00
Sebastián Ramírez 458e088170 🔖 Release version 0.0.21 2024-07-20 21:10:30 -05:00
github-actions 49735a1c93 📝 Update release notes 2024-07-21 02:08:28 +00:00
Esteban Maya 86ab09f7ec Add support for cascade delete relationships: cascade_delete, ondelete, and passive_deletes (#983)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-07-20 21:08:06 -05:00
github-actions 19c736766e 📝 Update release notes 2024-07-17 23:52:33 +00:00
github-actions 179b7781c2 📝 Update release notes 2024-07-17 03:18:45 +00:00
github-actions eb5fb78114 📝 Update release notes 2024-07-17 03:16:06 +00:00
github-actions 50b16972fe 📝 Update release notes 2024-07-17 03:10:35 +00:00
github-actions 814d3a4b14 📝 Update release notes 2024-07-17 03:09:30 +00:00
github-actions 8792c442d7 📝 Update release notes 2024-07-17 03:07:13 +00:00
github-actions 3c75056c6e 📝 Update release notes 2024-07-17 03:04:11 +00:00
Alejandra da1253c21f 📝 Update docs (#1003) 2024-07-16 22:03:52 -05:00
Sebastián Ramírez b8d7f4ff67 🔖 Release version 0.0.20 2024-07-16 21:53:24 -05:00
Sebastián Ramírez 438480f128 📝 Update release notes 2024-07-16 21:52:43 -05:00
github-actions 7ba80e47e7 📝 Update release notes 2024-07-17 02:21:19 +00:00
github-actions 09adc76e3d 📝 Update release notes 2024-07-17 02:16:15 +00:00
Sebastián Ramírez 690f9cf5e1 🔨 Update docs Termynal scripts to not include line nums for local dev (#1018) 2024-07-17 02:15:42 +00:00
github-actions fca0621098 📝 Update release notes 2024-07-17 01:52:20 +00:00
Esteban Maya 95936bb508 Add official UUID support, docs and tests, internally using new SQLAlchemy 2.0 types (#992)
*  Add UUID support from sqlalchemy 2.0 update

* ⚰️ Remove dead code for GUID old support

* 📝 Add documentation for UUIDs

* 🧪 Add test for UUIDs field definition and support

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

* ✏️ Fix prerequisites docs for uuid

* ♻️ Update UUID source examples for consistency

Keep consistency with other examples, functions without parameters, and printing info that shows and explains the UUID results (and can also be tested later)

* 📝 Add source examples for selecting UUIDs with session.get()

* 📝 Re-structure UUID docs

* Explain the concepts at the beggining before using them.
* Explain how UUIDs can be used and trusted.
* Explain why UUIDs could be generated on the code, and how they can be used for distributed systems.
* Explain how UUIDs can prevent information leakage.
* Warn about UUIDs storage size.
* Explain that uuid is part of the standard library.
* Explain how default_factory works.
* Explain that creating an instance would generate a new UUID, before it is sent to the DB. This is included and shown in the example, the UUID is printed before saving to the DB.
* Remove sections about other operations that would behave the same as other fields and don't need additional info from what was explained in previous chapters.
* Add two examples to select using UUIDs, similar to the previous ones, mainly to be able to use them in the tests and ensure that it all works, even when SQLite stores the values as strings but the where() or the session.get() receive UUID values (ensure SQLAlchemy does the conversion correctly for SQLite).
* Add an example terminal run of the code, with comments.
* Simplify the ending to keep only the information that wasn't there before, just the "Learn More" with links.

*  Refactor tests with new printed code, extract and check that UUIDs are used in the right places.

*  Add tests for the new extra UUID examples, for session.get()

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

* 📝 Rename variable in example for Python 3.7+ for consistency with 3.10+ (I missed that change before)

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-07-16 20:52:03 -05:00
github-actions 3b889e09f7 📝 Update release notes 2024-06-21 02:17:19 +00:00
Toby Penner 600da0a25c ✏️ Fix internal link in docs/tutorial/create-db-and-table.md (#911) 2024-06-20 21:16:56 -05:00
github-actions 96bfd855f8 📝 Update release notes 2024-06-05 01:52:54 +00:00
Alejandra 8416508d79 ✏️ Add missing step in create-db-and-table-with-db-browser.md (#976) 2024-06-05 01:52:36 +00:00
github-actions f1bfebc9e2 📝 Update release notes 2024-06-05 00:00:30 +00:00
Lucien O 1263024be5 ✏️ Fix typo in docs/tutorial (#943) 2024-06-04 19:00:14 -05:00
github-actions 23869cab0d 📝 Update release notes 2024-06-04 23:58:51 +00:00
Mieszko Bańczerowski 24e76c7a13 ✏️ Fix typo in docs/tutorial/relationship-attributes/index.md (#880) 2024-06-04 18:58:27 -05:00
github-actions 6e7e553963 📝 Update release notes 2024-06-04 23:57:10 +00:00
github-actions 8703539bf0 📝 Update release notes 2024-06-04 23:48:20 +00:00
Alejandra f6ad19b1a7 ✏️ Update pip installation command in tutorial (#975) 2024-06-04 23:48:02 +00:00
Sebastián Ramírez 4590963e88 🔖 Release version 0.0.19 2024-06-03 22:26:53 -05:00
github-actions 883cbe3a8d 📝 Update release notes 2024-06-04 03:22:28 +00:00