All Versions
Latest Version
Avg Release Cycle
139 days
Latest Release
635 days ago

Changelog History
Page 3

  • v2.6.2 Changes

    • Retain the current annotate block unless --force is specified
    • ๐Ÿš… Always load models, since they may not be autoloaded by Rails
    • ๐Ÿ‘€ The pg array type is now detected (see #158)
  • v2.6.0.beta2 Changes

    • support for composite_primary_keys (garysweaver)
    • bug fix for annotate_one_file (vlado)
  • v2.6.0.beta1 Changes

    • ๐Ÿš… It's now possible to use Annotate in standalone ActiveRecord (non-Rails) projects again.
    • โž• Adding note that Markdown is actually MultiMarkdown, and recommending the use of the kramdown engine for parsing it.
    • ๐Ÿ‘Œ Improved Markdown formatting considerably.
    • ๐Ÿ›  Bugfix: Needed to use inline-code tag for column and table names, otherwise underscores would cause havok with the formatting.
    • ๐Ÿ›  Bugfix: Markdown syntax was incorrect (can't have trailing spaces before the closing marker for an emphasis tag).
    • ๐Ÿ›  Bugfix: Remove-annotations wasn't properly finding test/spec files, and wasn't even looking for FactoryGirl factories under the new naming convention.
    • ๐Ÿ›  Bugfix: Load the Rakefile from the current directory, not the first Rakefile in our load path.
    • โž• Added support for new FactoryGirl naming convention.
    • ๐Ÿ›  Fix behavior of route annotations in newer versions of Rake that don't spit out the CWD as their first line of output.
    • โœ… Overhauled integration testing system to be much easier to work with, better compartmentalized, and so forth -- at the cost that you must be using RVM to utilize it. (It'll spit out appropriate pending messages if you don't.) Also includes a mode for "tinkering" by hand with a scenario, and won't let you run it through rspect if the repo is in a dirty state. Added appropriate rake tasks to help with all of this.
    • ๐Ÿšš Routes can now be appended, pre-pended, or removed -- and do sane things in all cases.
    • ๐Ÿ”ฆ Expose all position_* variables as CLI params.
    • 0๏ธโƒฃ Make ENV ['position'] work as a default for all the ENV ['position_*'] variables.
    • ๐Ÿ‘‰ Make rake tasks more resilient to unusual circumstances / code loading behavior.
    • Resolve annotate vs. annotate_models ambiguity once and for all by settling on annotate_models and annotate_routes. This avoids a name collision with RMagick while not needlessly overloading the term.
    • ๐Ÿ›  Fixed that schema kept prepending additional newlines
    • โšก๏ธ Updates to make annotate smarter about when to touch a model
    • Recognize column+type, and don't change a file unless the column+type combination of the new schema are different than that of the old (i.e., don't regenerate if columns happen to be in a different order. That's just how life is sometimes)
    • ๐Ÿ”„ Change annotate to use options hash instead of ENV.
  • v2.5.0 Changes

    • ๐Ÿš… Works better with Rails 3
    • ๐Ÿ›  Bugfix: schema kept prepending additional newlines
    • โšก๏ธ Updates to make annotate smarter about when to touch a model
    • Recognize column+type, and don't change a file unless the column+type combination of the new schema are different than that of the old (i.e., don't regenerate if columns happen to be in a different order. That's just how life is sometimes.)
    • Grab old specification even if it has \r\n as line endings rather than pure \ns
    • โš  Various warning and specification fixes
    • ๐Ÿ›  Fix "no such file to load -- annotate/annotate_models (MissingSourceFile)" error (require statements in tasks now use full path to lib files)
    • warn about macros, to mitigate when we're included during a production run, not just a rakefile run -- possibly at the expense of too much noise
    • โž• Adding rake as a runtime dependency
    • If the schema is already in the model file, it will be replaced into the same location. If it didn't previously exist, it'll be placed according to the "position", as before.
    • ๐Ÿ‘ Allow task loading from Rakefile for gems (plugin installation already auto-detects).
    • Add skip_on_db_migrate option as well for people that don't want it
    • ๐Ÿ›  Fix options parsing to convert strings to proper booleans
    • โž• Add support for Fabrication fabricators
    • Leave magic encoding comment intact
    • ๐Ÿ›  Fix issue #14 - RuntimeError: Already memoized
    • โœ… Count a model as 'annotated' if any of its tests/fixtures are annotated
    • ๐Ÿ‘Œ Support FactoryGirl
    • ๐Ÿ‘Œ Support :change migrations (Rails 3.1)
    • ๐Ÿ‘ Allow models with non-standard capitalization
    • Widen type column so we can handle longtexts with chopping things off.
    • Skip trying to get list of models from commandline when running via Rake (was preventing the use of multiple rake tasks in one command if one of them was db:migrate).
    • โž• Add ability to skip annotations for a model by adding # -*- SkipSchemaAnnotations anywhere in the file.
    • Don't show column limits for integer and boolean types.
    • โž• Add sorting for columns and indexes. (Helpful for out-of-order migration execution. Use --sort if you want this.)
    • โœ… Annotate unit tests in subfolders.
    • โž• Add generator to install rakefile that automatically annotates on db:migrate.
    • Correct Gemfile to clarify which environments need which gems.
    • โž• Add an .rvmrc to facilitate clean development.
    • โ™ป๏ธ Refactor out ActiveRecord monkey-patch to permit extending without side-effects.
    • ๐Ÿ‘‰ Use ObjectSpace to locate models to facilitate handling of models with non-standard capitalization. Note that this still requires that the inflector be configured to understand the special case.
    • โœ… Shore up test cases a bit.
    • ๐Ÿ”€ Merge against many of the older branches on Github whose functionality is already reflected to reduce confusion about what is and is not implemented here.
    • Accept String or Symbol for :position (et al) options.
    • โž• Add RDoc output formatting as an option.
    • โž• Add Markdown output formatting as an option.
    • โž• Add option to force annotation regeneration.
    • โž• Add new configuration option for controlling where info is placed in fixtures/factories.
    • ๐Ÿ›  Fix for models without tables.
    • ๐Ÿ›  Fix gemspec generation now that Jeweler looks at Gemfile.
    • ๐Ÿ›  Fix warning: NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
    • ๐Ÿ›  Fix handling of files with no trailing newline when putting annotations at the end of the file.
    • Now works on tables with no primary key.
    • --format=markdown option
    • --trace option to help debug "Unable to annotate" errors
    • "Table name" annotation (if table name is different from model name)
    • ๐ŸŒ "Human name" annotation (enabling translation to non-English locales)
    • ๐Ÿ›  Fix JRuby ObjectSpace compatibility bug (
    • ๐Ÿ›  Fix FactoryGirl compatibility bug (
  • v2.4.2 Changes

    November 21, 2009
    • โœ… Annotates (spec|test)/factories/<model>_factory.rb files
  • v2.4.1 Changes

    November 20, 2009
    • โœ… Annotates thoughtbot's factory_girl factories (test/factories/<model>_factory.rb)
    • ๐Ÿšš Move default annotation position back to top
  • v2.4.0 Changes

    December 13, 2009
    • ๐Ÿ‘ Incorporated lots of patches from the Github community, including support for Blueprints fixtures
    • ๐Ÿ›  Several bug fixes
  • v2.1 Changes

    October 18, 2009
    • ๐Ÿ†• New options

      • -R to require additional files before loading the models
      • -i to show database indexes in annotations
      • -e to exclude annotating tests or fixtures
      • -m to include the migration version number in the annotation
      • --model-dir to annotate model files stored a different place than app/models
    • Ignore unknown macros ('acts_as_whatever')

  • v2.0 Changes

    February 03, 2009
    • โž• Add annotate_models plugin fork additions

      • Annotates Rspec and Test Unit models
      • Annotates Object Daddy exemplars
      • Annotates geometrical columns
    • โž• Add AnnotateRoutes rake task

    • 0๏ธโƒฃ Up gem structure to newgem defaults

  • v1.0.4 Changes

    September 04, 2008
    • โšก๏ธ Only update modified models since last run, thanks to sant0sk1