Skip to content
Permalink
master

Commits on Apr 30, 2021

Commits on Apr 23, 2021

  1. Add Postgres versions and experimental builds to CI test matrix (#669)

    * Add Postgres versions to CI test matrix
    
    * Add experimental builds
    stephendolan committed Apr 23, 2021

Commits on Apr 9, 2021

  1. bump versions for next release (#664)

    jwoertink committed Apr 9, 2021

Commits on Apr 7, 2021

  1. Specify version of lucky_task (#663)

    matthewmcgarvey committed Apr 7, 2021

Commits on Apr 4, 2021

  1. Replace LuckyCli with LuckyTask (#661)

    matthewmcgarvey committed Apr 4, 2021

Commits on Apr 3, 2021

Commits on Apr 2, 2021

  1. Add dependency versions for several shards (#659)

    matthewmcgarvey committed Apr 2, 2021

Commits on Apr 1, 2021

  1. Updates to use the latest ameba. (#658)

    * Updates to use the latest ameba. This includes several performance suggestion by Ameba
    
    * Using latest release of Habitat too
    jwoertink committed Apr 1, 2021

Commits on Mar 31, 2021

  1. Cleaning up for Crystal 1.0 support (#655)

    * Updating crystal version constraint for allowing through 1.0. Cleaning up CI with matrix
    
    * Moving the blank shard directly in to our Object extensions since there's a version constraint on blank that prevents it from being used with Crystal 1.0 without an update. It's a small shard anyway that's been untouched for several years, so we know the code is solid
    
    * Just start pointing to master branches for now. Next release will lock in to new versions
    
    * Don't need to use alpine for the CI. Updated Dockerfile
    
    * oops, forgot to remove blank. It's no longer needed
    jwoertink committed Mar 31, 2021

Commits on Mar 22, 2021

  1. Add new method for droping a foreign key constraint in migrations. Ne…

    …eded to complete #622 (#654)
    jwoertink committed Mar 22, 2021

Commits on Mar 19, 2021

  1. New method to add parenthesis to queries (#652)

    * Adding new where overload that wraps the query in parenthesis to establish precedence. Fixes #488
    
    * Fixing bug when using where with block after a query was defined would cause blank WHERE statements to be added.
    
    * Fix bug in where with block when there's no query to wrap
    jwoertink committed Mar 19, 2021
  2. Remove deprecated raw_where methods (#653)

    matthewmcgarvey committed Mar 19, 2021

Commits on Mar 10, 2021

  1. Remove bool return type restriction on Avram::Database#transaction yi…

    …eld (#626)
    matthewmcgarvey committed Mar 10, 2021

Commits on Mar 4, 2021

  1. Release 0.19.1 (#644)

    jwoertink committed Mar 4, 2021
  2. make migration id bigserial (#641)

    * make migration id bigserial
    
    * use alias for migration id
    
    Co-authored-by: Jeremy Woertink <jeremywoertink@gmail.com>
    wontruefree and jwoertink committed Mar 4, 2021
  3. Add Float64 to ColumnType (#637)

    * Add Float64 to ColumnType
    
    * Add some missing tests on the Float64 adapter
    
    * Crystal tool format
    
    * Add some tests on Double Precision
    
    * Add a simple where double query
    
    * Missing crystal tool format
    brunto committed Mar 4, 2021

Commits on Mar 2, 2021

  1. lock ameba to latest 0.13 due to a bug in 0.14 (#642)

    jwoertink committed Mar 2, 2021

Commits on Feb 24, 2021

  1. Enum string parsing (#639)

    * Treat string enum values as their to_s representation
    
    * Try to coerce to an integer first, then try parsing
    
    A valid enum value name can't start with a digit, so theoretically this is safe.
    Integers will only have digits (and a leading digit), so the two are mutually exclusive.
    
    * Add tests for parsing enum values
    icy-arctic-fox committed Feb 24, 2021

Commits on Feb 6, 2021

  1. Release 0.19.0 (#628)

    * Release 0.19.0
    
    * Using real versions
    jwoertink committed Feb 6, 2021

Commits on Feb 4, 2021

  1. crystal 0.36.1 Support (#627)

    * initial updates for Crystal 0.36.0. Seems to be some issues with compilations speeds
    
    * Update Avram to use Crystal 0.36.1
    
    * Updated Dexter
    jwoertink committed Feb 4, 2021

Commits on Jan 30, 2021

  1. Remove special handling of Float64 columns (#625)

    matthewmcgarvey committed Jan 30, 2021

Commits on Jan 25, 2021

  1. Do not run operation if invalid (#621)

    Resolves #619
    akadusei committed Jan 25, 2021

Commits on Jan 23, 2021

  1. Handle updates for nested .has_one save operations (#596)

    * Add `Avram::SaveOperation#new_record?`
    
    `#persisted?` always returns `true` in `after_*` hooks, whether
    a new record was created, or an existing one was updated.
    
    This method should always return `true` for a create or `false`
    for an update, independent of the stage we are at in the operation.
    
    * Support updates for nested `.has_one` save operations
    
    Resolves #7
    
    * Add `.needs` support for nested `.has_one` save operations
    
    * Revert "Add `.needs` support for nested `.has_one` save operations"
    
    This reverts commit d7cb80a.
    
    * Set foreign key in `after_save` callback
    
    * Rename instance var
    akadusei committed Jan 23, 2021

Commits on Jan 21, 2021

  1. Composite primary key migration (#616)

    Whaxion committed Jan 21, 2021

Commits on Jan 18, 2021

  1. Oops... missed renaming this from #614 (#615)

    jwoertink committed Jan 18, 2021
  2. Renaming Box to Factory. Fixes #498 (#614)

    jwoertink committed Jan 18, 2021

Commits on Jan 15, 2021

  1. Run after_save and after_commit even if no changes were made (#612)

    * Run after_save and after_commit even if no changes were made
    
    This makes after_completed redundant, and is now removed.
    
    * Remove unused method
    
    * Update error description for clarity
    akadusei committed Jan 15, 2021

Commits on Jan 14, 2021

  1. Add support for Array(UUID) (#609)

    * Working on adding the array UUID stuff in. Blocked by the pg shard.
    
    * Updated failing specs to now support Array(UUID)
    jwoertink committed Jan 14, 2021

Commits on Jan 13, 2021

  1. Move new HTTP form datetime-local parser to force UTC (#607)

    stephendolan committed Jan 13, 2021
  2. bump pg version (#605)

    jwoertink committed Jan 13, 2021

Commits on Jan 12, 2021

  1. Support datetime-local time parsing (#603)

    stephendolan committed Jan 12, 2021

Commits on Jan 7, 2021

Commits on Jan 6, 2021

  1. Add a criteria method to the type adapter (#591)

    matthewmcgarvey committed Jan 6, 2021
Older