Skip to content

Latest commit

 

History

History
84 lines (64 loc) · 3.03 KB

CHANGELOG.md

File metadata and controls

84 lines (64 loc) · 3.03 KB

0.6.1

  • github CI added ( PR: alekseyl#22 many thnx to @petergoldstein )
  • issue fixed alekseyl#23
  • dropped support for 2.4 ( transform_keys is missing, and I'm too lazy to backward reimplement it you can do PR if needed )

0.6.0

  • Huge core-logic refactoring and simplification
  • dollar signed literals/strings added
  • strings literals issue alekseyl#16 fixed
  • strings literals colorized properly
  • comments are bold and greyed now.
  • code now is rubocoped with shopify rules

0.5.1

  • No features just some code refactoring

0.5.0

  • BREAKING CHANGE! ActiveRecord compatibility extracted to the rails_sql_prettifier gem! If you need niceql funcitonality with rails / active_record plz include rails_sql_prettifier has a a versioning aligned to the active_record versions and has same DSL for ActiveRecord the niceql was providing prior.

0.4.1

  • description update

0.4.0

  • merged PR alekseyl#19, now Arel is also extended with niceql methods!!
  • test and better niceql comparisons assertion
  • tests were trialed against rails 4.2 and some additional conditions were added for later cases

0.3.0

  • ruby forced to >= 2.4
  • String match extension no longer needed
  • fixed issue with missing HINT and DETAIL string ( alekseyl#18 )
  • both new and old activerecord StatementInvalid formats supported
  • major prettify_pg_err refactoring ( much cleaner code now )

0.2.0

  • Fix to issue alekseyl#17 (comment). ActiveRecord base config is no longer a hash, so it does not have dig method, hence it's breaking the ar_using_pg_adapter? method.
  • active_record added as development dependency :( for proper testing cover.

0.1.30

  • ActiveRecord pg check for config now will try both connection_db_config and connection_config for adapter verification
  • prettify_pg_errors will not be set to true if ActiveRecord adapter is not using pg, i.e. ar_using_pg_adapter? is false.
  • rake dev dependency bumped according to security issues

0.1.24/25

  • No features, just strict ruby dependency for >= 2.3,
  • travis fix for ruby 2.3 and 2.6 added

0.1.23

  • +LATERAL verb
  • removed hidden rails dependencies PR(alekseyl#9)

0.1.22

  • multi query formatting

0.1.21

  • fix bug for SQL started with comment

0.1.20

  • Add respect for SQL comments single lined, multi lined, and inline

0.1.19

  • add prettify_pg_errors to config - now pg errors prettified output is configurable, default is true if ActiveRecord::Base defined and db adapter is pg

  • tests for error prettifying

0.1.18

  • add color to logger output

0.1.17

  • add test
  • fix issue 1 for real

0.1.16

  • Add prettify_active_record_log_output to rails config generator

0.1.15

  • JOIN verb refactored, INNER|OUTER will be also colored properly
  • prettify_active_record_log_output added to config, now you can set it to true and sql will log prettified