Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v5.3.4 #644

Merged
merged 20 commits into from
May 6, 2021
Merged

v5.3.4 #644

merged 20 commits into from
May 6, 2021

Commits on Oct 29, 2020

  1. fix: improve model ID field customization (#604)

    Updates places where `"id"` was hardcoded instead of using `model.IDField()`.
    zepatrik authored Oct 29, 2020
    Configuration menu
    Copy the full SHA
    f36afb5 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2020

  1. Ensure uninitialized map is initialized when unmarshaling json

    Add tests for this scenario
    naemono authored and stanislas-m committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    4d0d826 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2020

  1. Configuration menu
    Copy the full SHA
    81e5f2d View commit details
    Browse the repository at this point in the history
  2. add test for OptionsString

    kyrozetera authored and stanislas-m committed Dec 23, 2020
    Configuration menu
    Copy the full SHA
    0e3d2e2 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2021

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

Commits on Jan 18, 2021

  1. feat: support context-aware tablenames (#614)

    This patch adds a feature which enables pop to pass down the connection context to the model's TableName() function by implementing TableName(ctx context.Context) string. The context can be used to dynamically generate tablenames which can be important for prefixed or generic tables and other use cases.
    aeneasr authored Jan 18, 2021
    Configuration menu
    Copy the full SHA
    0fb7635 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2021

  1. Bump pg deps (#616)

    * Reset to development
    
    * bumping pgx and pgconn versions
    
    Co-authored-by: Stanislas Michalak <stanislas.michalak@gmail.com>
    Co-authored-by: Larry M Jordan <larrymoralesjordan@gmail.com>
    3 people authored Jan 27, 2021
    Configuration menu
    Copy the full SHA
    119c0d2 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2021

  1. Latest from master (#620)

    * Latest from development (#617)
    
    * fix: improve model ID field customization (#604)
    
    Updates places where `"id"` was hardcoded instead of using `model.IDField()`.
    
    * Ensure uninitialized map is initialized when unmarshaling json
    Add tests for this scenario
    
    * exclude migration_table_name from connection string
    
    * add test for OptionsString
    
    * Add support for pointer FKs when preloading a belongs_to association (#602)
    
    * feat: support context-aware tablenames (#614)
    
    This patch adds a feature which enables pop to pass down the connection context to the model's TableName() function by implementing TableName(ctx context.Context) string. The context can be used to dynamically generate tablenames which can be important for prefixed or generic tables and other use cases.
    
    * Bump pg deps (#616)
    
    * Reset to development
    
    * bumping pgx and pgconn versions
    
    Co-authored-by: Stanislas Michalak <stanislas.michalak@gmail.com>
    Co-authored-by: Larry M Jordan <larrymoralesjordan@gmail.com>
    
    Co-authored-by: Patrik <zepatrik@users.noreply.github.com>
    Co-authored-by: Michael Montgomery <mmontg1@gmail.com>
    Co-authored-by: kyrozetera <jasonhale.w@gmail.com>
    Co-authored-by: Reggie Riser <4960757+reggieriser@users.noreply.github.com>
    Co-authored-by: hackerman <3372410+aeneasr@users.noreply.github.com>
    Co-authored-by: Stanislas Michalak <stanislas.michalak@gmail.com>
    Co-authored-by: Larry M Jordan <larrymoralesjordan@gmail.com>
    
    * adding goreleaser syntaz (#619)
    
    Co-authored-by: Patrik <zepatrik@users.noreply.github.com>
    Co-authored-by: Michael Montgomery <mmontg1@gmail.com>
    Co-authored-by: kyrozetera <jasonhale.w@gmail.com>
    Co-authored-by: Reggie Riser <4960757+reggieriser@users.noreply.github.com>
    Co-authored-by: hackerman <3372410+aeneasr@users.noreply.github.com>
    Co-authored-by: Stanislas Michalak <stanislas.michalak@gmail.com>
    Co-authored-by: Larry M Jordan <larrymoralesjordan@gmail.com>
    8 people authored Jan 28, 2021
    Configuration menu
    Copy the full SHA
    f252caa View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2021

  1. Resolve issues in UPDATE and DELETE when using schemas (#618)

    * Resolve MySQL issues and improve test migrations
    * Bump CockroachDB to maintained and supported versions
    Version 2.1 has reached EoL in 2019
    
    Signed-off-by: aeneasr <3372410+aeneasr@users.noreply.github.com>
    aeneasr authored Feb 6, 2021
    Configuration menu
    Copy the full SHA
    ad18e4d View commit details
    Browse the repository at this point in the history
  2. Use PaginatorPageKey and PaginatorPerPageKey variables (#615)

    * update pagination_test
    bhb603 authored Feb 6, 2021
    Configuration menu
    Copy the full SHA
    e314840 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2021

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

Commits on Apr 13, 2021

  1. Allow nullable JSONB and resolve MySQL regression (#639)

    Benjamin Blattberg authored Apr 13, 2021
    Configuration menu
    Copy the full SHA
    fbf43b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1b7b5ef View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2021

  1. Added connection maximum idle time configuration (#635)

    This PR add the possibility to configure the connection maximum idle time (https://golang.org/pkg/database/sql/#DB.SetConnMaxIdleTime).
    
    Closes #632
    
    BREAKING CHANGE: Requires Go 1.15 from now on.
    ArthurKnoep authored Apr 14, 2021
    Configuration menu
    Copy the full SHA
    83cf49c View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2021

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

Commits on May 5, 2021

  1. Update pg, pgx, sqlx (#643)

    - `jackc/pgx` to  version `v4.11.0`.
    - `jmoiron/sqlx` to version`v1.3.3`
    - `lib/pq` to version`v1.10.1`
    paganotoni authored May 5, 2021
    Configuration menu
    Copy the full SHA
    cf0a600 View commit details
    Browse the repository at this point in the history
  2. merging master

    paganotoni committed May 5, 2021
    Configuration menu
    Copy the full SHA
    e947d1b View commit details
    Browse the repository at this point in the history
  3. Fix Inner has many associations when passing on multiple arguments (#633

    )
    
    * Fix Inner has many associations when passing on multiple arguments for inner fields
    
    * Fix broken tests
    
    * clean up extractFieldAndInnerFields function
    
    Co-authored-by: hackerman <3372410+aeneasr@users.noreply.github.com>
    Co-authored-by: Antonio Pagano <645522+paganotoni@users.noreply.github.com>
    3 people authored May 5, 2021
    Configuration menu
    Copy the full SHA
    96f8e48 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2021

  1. Remove many to many TX condition for EagerPreload (#645)

    * Remove the need to use Tx when loading many to many associations
    
    * replace TX access to create a new tx.Store.Transaction() object
    larrymjordan authored May 6, 2021
    Configuration menu
    Copy the full SHA
    aeb9b56 View commit details
    Browse the repository at this point in the history
  2. Added fix/tests for has_many with pointer foreign key (#647)

    Co-authored-by: Antonio Pagano <645522+paganotoni@users.noreply.github.com>
    reggieriser and paganotoni authored May 6, 2021
    Configuration menu
    Copy the full SHA
    bef765a View commit details
    Browse the repository at this point in the history