Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sematic-ai/sematic
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.39.0
Choose a base ref
...
head repository: sematic-ai/sematic
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.39.1
Choose a head ref
  • 2 commits
  • 9 files changed
  • 3 contributors

Commits on Sep 10, 2024

  1. Use Engine.begin() instead of Engine.connect() to ensure DML/DDL stat…

    …ements are committed in migration code (#1129)
    
    # Description
    One of the changes in SQLAlchemy from 1.4.X -> 2.X is that they've
    removed automatic commits for DDL/DML statements fed into `Connection`s
    created from `Engine.connect()`. This leads to a few minor bugs in the
    DB migration code post `0.39.0` release (and the SQLAlchemy 2.X
    migration in #1127).
    
    ## This PR
    This PR fixes those bugs by using `Connection`s created by
    `Engine.begin()` instead
    
    ### Testing
    ```bash
    $ bazel run sematic/db/tests:test_migrate
    ```
    + manual testing in a repo that's using Sematic as a dependency
    bcalvert-graft authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    9b13728 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Release 0.39.1 (#1130)

    Release 0.39.1 with a small bugfix. Tested the bugfix using local server
    against both an existing mysql DB and a fresh one.
    
    Co-authored-by: Josh Bauer <josh@sematic.dev>
    augray and Josh Bauer authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    0955eff View commit details
    Browse the repository at this point in the history
Loading