10000 Comparing 3.0.0b3...v3.0.0b4 · graphql-python/graphene-sqlalchemy · GitHub
[go: up one dir, main page]

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: graphql-python/graphene-sqlalchemy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.0.0b3
Choose a base ref
...
head repository: graphql-python/graphene-sqlalchemy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.0.0b4
Choose a head ref
  • 19 commits
  • 49 files changed
  • 10 contributors

Commits on Sep 9, 2022

  1. feat: Support Sorting in Batch ConnectionFields & Deprecate UnsortedC…

    …onnectionField(#355)
    
    * Enable sorting when batching is enabled
    
    * Deprecate UnsortedSQLAlchemyConnectionField and resetting RelationshipLoader between queries
    
    * Use field_name instead of column.key to build sort enum names to ensure the enum will get the actula field_name
    
    * Adjust batching test to honor different selet in query structure in sqla1.2
    
    * Ensure that UnsortedSQLAlchemyConnectionField skips sort argument if it gets passed.
    
    * add test for batch sorting with custom ormfield
    
    Co-authored-by: Sabar Dasgupta <sabar.dasgupta@gmail.com>
    PaulSchweizer and sabard authored Sep 9, 2022
    Configuration menu
    Copy the full SHA
    43df4eb View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2022

  1. Add Black to pre-commit (#361)

    This commits re-formats the codebase using black
    erikwrede authored Sep 12, 2022
    Configuration menu
    Copy the full SHA
    b3657b0 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. Made Relationshiploader utilize the new and improved DataLoader imple…

    …mentation housed inside graphene, if possible (graphene >=3.1.1) (#362)
    flipbit03 authored Sep 13, 2022
    Configuration menu
    Copy the full SHA
    0a765a1 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2022

  1. Configuration menu
    Copy the full SHA
    75abf0b View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2022

  1. Configuration menu
    Copy the full SHA
    8bfa1e9 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2022

  1. feat: Support GQL interfaces for polymorphic SQLA models (#365)

    * Support GQL interfaces for polymorphic SQLA models using SQLALchemyInterface and SQLAlchemyBase. fixes #313 
    
    
    Co-authored-by: Erik Wrede <erikwrede@users.noreply.github.com>
    Co-authored-by: Erik Wrede <erikwrede2@gmail.com>
    3 people authored Nov 28, 2022
    Configuration menu
    Copy the full SHA
    2edeae9 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2022

  1. feat: support for async sessions (#350)

    * feat(async): add support for async sessions
    This PR brings experimental support for async sessions in SQLAlchemyConnectionFields. Batching is not yet supported and will be subject to a later PR.
    Co-authored-by: Jendrik <jendrik.joerdening@nooxit.com>
    Co-authored-by: Erik Wrede <erikwrede2@gmail.com>
    3 people authored Dec 21, 2022
    Configuration menu
    Copy the full SHA
    32d0d18 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2023

  1. docs: fix installation instruction (#372)

    Install instructions in the README.md fails with an error: „Could not find a version that satisfies the requirement graphene-sqlalchemy>=3“
    
    This is because v3 is in beta. Therefore, installing with '--pre' fixes the problem.
    zahrevsky authored Jan 2, 2023
    Configuration menu
    Copy the full SHA
    a03e74d View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2023

  1. refactor!: use the same conversion system for hybrids and columns (#371)

    * refactor!: use the same conversion system for hybrids and columns
    fix: insert missing create_type in union conversion
    
    Breaking Change: convert_sqlalchemy_type now uses a matcher function
    Breaking Change: convert_sqlalchemy type's column and registry arguments must now be keyword arguments
    Breaking Change: convert_sqlalchemy_type support for subtypes is dropped, each column type must be explicitly registered
    Breaking Change: The hybrid property default column type is no longer a string. If no matching column type was found, an exception will be raised.
    
    Signed-off-by: Erik Wrede <erikwrede2@gmail.com>
    
    * fix: catch import error in older sqlalchemy versions
    
    Signed-off-by: Erik Wrede <erikwrede2@gmail.com>
    
    * fix: union test for 3.10
    
    Signed-off-by: Erik Wrede <erikwrede2@gmail.com>
    
    * fix: use type and value for all columns
    
    Signed-off-by: Erik Wrede <erikwrede2@gmail.com>
    
    * refactor: rename value_equals to column_type_eq
    
    Signed-off-by: Erik Wrede <erikwrede2@gmail.com>
    
    * tests: add tests for string fallback removal of hybrid property
    chore: change the exception types
    
    Signed-off-by: Erik Wrede <erikwrede2@gmail.com>
    
    * chore: refactor converter for object types and scalars
    
    Signed-off-by: Erik Wrede <erikwrede2@gmail.com>
    
    * chore: remove string fallback from forward references
    
    Signed-off-by: Erik Wrede <erikwrede2@gmail.com>
    
    * chore: adjust comment
    
    Signed-off-by: Erik Wrede <erikwrede2@gmail.com>
    
    * fix: fix regression on id types from last commit
    
    Signed-off-by: Erik Wrede <erikwrede2@gmail.com>
    
    * refactor: made registry calls in converters lazy
    
    Signed-off-by: Erik Wrede <erikwrede2@gmail.com>
    
    * fix: DeclarativeMeta import path adjusted for sqa<1.4
    
    Signed-off-by: Erik Wrede <erikwrede2@gmail.com>
    
    Signed-off-by: Erik Wrede <erikwrede2@gmail.com>
    erikwrede authored Jan 4, 2023
    Configuration menu
    Copy the full SHA
    2041835 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2023

  1. feat!: Stricter non-null fields for relationships (#367)

    to-many relationships are now non-null by default. (List[MyType] -> List[MyType!]!)
    The behavior can be adjusted back to legacy using `converter.set_non_null_many_relationships(False)`
    or using an `ORMField` manually setting the type for more granular Adjustments
    polgfred authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    d3a4320 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2023

  1. fix: allow type converter inheritance again (#377)

    * fix: Make ORMField(type_) work in case there is no registered converter
    
    * revert/feat!: Type Converters support subtypes again.
    this feature adjusts the conversion system to use the MRO of a supplied class
    
    * tests: add test cases for mro & orm field fixes
    
    * tests: use custom type instead of BIGINT due to version incompatibilities
    erikwrede authored Jan 27, 2023
    Configuration menu
    Copy the full SHA
    1708fcf View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2023

  1. docs: add docs pipeline

    erikwrede committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    185a662 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    686613d View commit details
    Browse the repository at this point in the history
  3. docs: add relay to index

    erikwrede committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    aa668d1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    39a64e1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e175f87 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2023

  1. Configuration menu
    Copy the full SHA
    ba0597f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    506f58c View commit details
    Browse the repository at this point in the history
  3. release: 3.0.0b4

    erikwrede authored Feb 27, 2023
    Configuration menu
    Copy the full SHA
    3720a23 View commit details
    Browse the repository at this point in the history
Loading
0