Changes

The changelog for Padrino.

0.13.0.rc1 (not released)

  • DELETE remove deprecations (String#undent, #linkto with :fragment, old caching, old form builder, rendering #fetchtemplatefile, #cachetemplatefile!, #resolvedlayout, Application#loadpaths, Padrino.setloadpaths, Padrino.loadpaths)

0.12.4 (October 19th 2014)

  • FIX #1744 Corrects color support for Windows (@tyabe)
  • FIX #1736 Regression with textarea helper (@ujifgc)
  • FIX #1743 Add a padrino-gen generator for creating new Helpers (@dariocravero)
  • FIX #1746 Avoid reloading the file if its path is not started with Padrino.root (@namusyaka)
  • DELETE deprecated build_object method (@namusyaka)
  • FIX #1752 Don't set the @_use_format variable when provides method is called (@namusyaka)
  • FIX #48 Update mailer documentation and sample code (@postmodern)
  • FIX #1752 Refactor routing code to avoid weird parameter (@namusyaka)
  • FIX #1754 Adds end tags to admin erb template for index (@namusyaka)
  • FIX #1749 Replace the AR::ConnectionManagement middleware with new middleware (@namusyaka)
  • NEW #1756 Adds support for mysql2 gem in sql rake task helpers (@d6rkaiz)
  • FIX #1761 Allow passing upcased string as the app name
  • FIX #1776 improve params filtering for routes (@ujifgc)
  • FIX #1778 Various YARD doc inconsistencies or errors (@claudiob)
  • FIX #1765 Use controller's base path instead of constant name at controller test (@namusyaka)
  • FIX #1781 Removes the default_filters method setting incorrect content-type (@namusyaka)
  • FIX Sinatra compatibility for passing options to the static! method
  • FIX #1585 Update HAML to pass tests by upgrading versions (@ujifgc)
  • FIX #1782 make padrino-gen detect absolute paths on Windows (@ujifgc)
  • FIX #1779 Use expanded path to request controller's content (@namusyaka)
  • FIX Use yield and flatmap when possible to speed up performance (@ujifgc)
  • NEW #1787 Mounter now supports Rack applications (@namusyaka)
  • FIX #1788 exception that occurs when the free regex route exists (@namusyaka)
  • NEW Merges the padrino-docs guides and content directly into the main repository (@ujifgc)

0.12.3 (August 13th 2014)

  • FIX #1579 Update admin deps such as font-awesome, jquery, bootstrap (@WaYdotNET)
  • FIX #1681 Set html message part properly within the mailer (@judofyr)
  • FIX Refactor application router code into multiple modules (@ujifgc)
  • FIX Cleanup routing controller code by removing code duplication (@ujifgc)
  • DEL #1684 Extract breadcrumbs into padrino-contrib (@namusyaka)
  • FIX #1690 fields_for helper should respect the builder of parent (@namusyaka)
  • FIX Update taiwanese translations to fix typos (@felix125)
  • FIX #1693 Remove load_paths and have reloader rely on default prerequisites (@ujifgc)
  • FIX #1694 Setup proper name for helper when generating a skeleton project (@namusyaka)
  • FIX make Padrino server threaded in development if possible (@ujifgc)
  • FIX #1697 Padrino::Mailer::Mime.mime_type detection (@tyabe)
  • FIX #1701 don't load admin locales automatically (@dariocravero)
  • FIX #1705 Upgrade to RSpec 3 syntax (@tyabe)
  • FIX #1683 Test should not depend on the execution order (@namusyaka)
  • NEW #1708 Adds no-helper option to controller generator to skip helpers (@tyabe)
  • FIX #1709 tiny app skeleton generator should provide test files (@namusyaka)
  • FIX datamapper sqlite rake tasks (@ujifgc)
  • DEL Padrino::Admin::Utils::Crypt as it wasn't being used (@dariocravero)
  • FIX #1710 Adjust path to pre-load the helper (@namusyaka)
  • NEW #1712 Implement :force option in the app generator and the model generator (@namusyaka)
  • FIX #1717 make generated 'log' and 'tmp' folders to contain ".keep" file (@namusyaka)
  • FIX #1722 do not remove external constants (@ujifgc)
  • FIX #1727 do not apply default layout to templates with unsupported engine (@ujifgc)
  • FIX controller-wide expires to be respected (@ujifgc)
  • FIX Do not pass :submit_options as an attribute of form element for button (@namusyaka)
  • FIX #1732 Only use initializing with mutex on Java platform (@ujifgc)
  • FIX #1736 Respect the leading newline in textarea value (@krororo)
  • FIX #1738 Change email condition for default AR4.1 in minirecord (@tyabe)
  • FIX #1733 Allow strings in route :with option (@ujifgc)
  • FIX #1740 Loosen thor dependency to ~> 0.18 (@postmodern)
  • FIX #1741 Fix tests related to the thor generator (@namusyaka)

NOTE: If you're using the admin locales and you're not using Padrino::Admin::AccessControl you will have to add register Padrino::Admin to your app/app.rb in order to get the locales in.

0.12.2 (May 12th 2014)

  • NEW Include all helpers with include Padrino::Helpers (@ujifgc)
  • FIX #1646 do not pass include_blank as select attribute (@ujifgc)
  • FIX #1645 disable webrick accesslog (@ujifgc)
  • FIX #1648 params is not set correctly in prioritized routes (@namusyaka)
  • FIX #1651 Pass the correct env variable through middleware (@judofyr)
  • FIX #1652 Rendering bugs by refactoring template resolution (@ujifgc)
  • NEW #1653 Allow create and drop for sqlite adapter
  • FIX #1654 double escape of & in mail_to helper (@rmm5t)
  • FIX #1655 Switch to SVG badges in readme for travis
  • FIX #1656 Add period and fix types for ja localization
  • FIX Do not pass protect_from_csrf as an attribute of form element (@namusyaka)
  • FIX The for attribute of the label element must refer to a form control (@namusyaka)
  • NEW #1661 tests for csrf-protection with http header X-CSRF-TOKEN (@cookiebody)
  • FIX #1663 override setup_session method to support custom session management (@cookiebody)
  • FIX #1670 url when both uri_root and RACK_BASE_URI is setting (@tmtm)
  • FIX #1671 add options :fragment and :anchor to #url (@ujifgc)
  • NEW #1676 Change format of helper.rb.tt to modular style for testability (@namusyaka)
  • FIX Rack::Test does not work on minitest (@namusyaka)
  • FIX #1662 load external libraries only once
  • NEW #905 implement query param filtering protection (@ujifgc)

0.12.1 (April 4th 2014)

New features:

  • NEW #1574 Add dynamoid orm component (@nof)
  • NEW #1573 Add report_csrf_failure, enable custom reports (@ujifgc)
  • NEW Introduces Logger#exception method for application (@ujifgc)
  • NEW Allow password to be supplied to postgres (@ct)
  • NEW #1495 Adds support for lean generation option (@ujifgc)
  • NEW #1560 Introduces cache_object helper (@dariocravero)
  • NEW #1310 Implement :accepts option (@namusyaka)
  • FIX #1260 Load config.ru with Padrino server (@ujifgc)
  • FIX Respect host and port in config.ru (@ujifgc)
  • FIX #1622 resolve nested relative template (@ujifgc)

Bug fixes:

  • FIX Do not reload controllers twice (@ujifgc)
  • FIX Mimic rack-protection when no handler is defined (@ujifgc)
  • FIX #1582 ensure that captured blocks in erb and slim templates return nil (@minad)
  • FIX #1584 Avoids improper model checking (@namusyaka)
  • FIX the destroyer of sub application (@namusyaka)
  • FIX String escape safety issues with helpers (@ujifgc)
  • FIX stylesheet_link_tag and javascript_include_tag to use proper concat (@ujifgc)
  • FIX #1600 replaces html_safe with more effective safe_concat (@ujifgc)
  • FIX #1595 Fix bug in Padrino::Mounter.app_constant (@tyabe)
  • FIX #1606 Adjust tests to run on newer minitest versions (@ujifgc)
  • FIX #1609 Switch tests to explicit minitest and remove mini_shoulda (@ujifgc)
  • FIX #1615 Wait for external DB processes to finish before the task finishes. (@dariocravero)
  • FIX #1618 Wrong value of named_routes when specifying the multiple routes and nested (@namusyaka)
  • FIX #1621 Add explicit specification of ActiveRecord::Base.default_timezone (@tyabe)
  • FIX #1624 Detect path absoluteness properly (@ujifgc)
  • FIX Improve migration generator regex matching (@namusyaka)
  • FIX #1632 improve PADRINO_ENV deprecation compatibility (@ujifgc)
  • FIX #1634 Improve caching of template paths (@ujifgc)
  • FIX #1640 allow to run console without readlines (@ujifgc)
  • FIX #1644 Removes the media attribute from default attributes of stylesheet_link (@namusyaka)

Refactoring and cleanup:

  • FIX #1635 Move rendering to padrino-helpers (@ujifgc)
  • FIX #1612 Refactor support_lite into a padrino-support gem outside of core (@ujifgc)
  • FIX Refactor model generator (@scudelletti)
  • FIX Extract form_select_helpers and cleanup (@ujifgc)
  • FIX Cleanup the error_messages_for codebase in helpers (@ujifgc)
  • FIX Refactor application code moving setup into an application_setup file (@ujifgc)
  • FIX Major rendering refactor and cleanup (@ujifgc)
  • FIX #1602 Refactor the activerecord tasks (@namusyaka)

0.12.0 (February 9th 2014)

  • FIX #1578 Fix latvian translations (@graudeejs)
  • FIX #1576 incorrect nl.yml translations (@fevers)
  • FIX #1564 do not reload apps with disabled or absent :reload flag (@ujifgc)
  • FIX #1571 Allow for url generation to accept stringified keys (@jsmpereira)
  • NEW #1570 add custom index option for form_for abstract form helper (@graudeejs)
  • FIX #1567 Add :app option to the component generator (@namusyaka)
  • FIX #1563 Fix behavior of content_tag when use with content that is not a string (@tyabe)
  • NEW #1422 allow options Hash in protect_from_csrf (@ujifgc)

0.12.0.rc3 (January 20th 2014)

  • FIX resolve_template should respect :views option (@ujifgc)
  • FIX #1547 Rename showexceptions.rb to show_exceptions.rb (@namusyaka)
  • NEW #1551 Introduce #default method to set application options (@ujifgc)
  • FIX #1553 Chinese time translations (@gokure)
  • FIX #1556 German translations (@Signum)
  • FIX #1555 Fix a problem the before/after filters (@namusyaka)
  • FIX #1550 Shove LOADING/RELOADING to devel log level
  • FIX #1445 Drop PADRINO_ENV in favour of RACK_ENV for further compatibility (@dariocravero)

0.12.0.rc2 (January 5th 2014)

  • FIX development dependency for padrino-gen (@namusyaka)
  • FIX #1520 Skip loading models for sequel migration tasks (@ujifgc)
  • FIX #1493 make admin aware of uri_root (@ujifgc)
  • NEW #854 allow -a master to rename admin path (@ujifgc)
  • FIX Get tests passing again on rubinius (@ujifgc)
  • FIX #1545 Don't raise on protect_from_csrf without sessions (@skade)
  • FIX #1546 Silence deprecation warnings for File.exists? (@fj)
  • REMOVE #1516 support for TestSpec component from generator (@ujifgc)

0.12.0.rc1 (December 31st 2013)

0.11.4 (September 24th 2013)

0.11.3 (July 29th 2013)

0.11.2 (May 20th 2013)

0.11.1 (April 7th 2013)

0.11.0 (March 21st 2013)

  • NEW #923 Total redesign of admin panel with bootstrap and jquery, custom error pages Big thanks to the huge effort from (@WaYdotNET, @DAddYE, @dariocravero, @ujifgc, @tyabe)!
  • FIX #1135 Fix namespaced generators for app (@tyabe)
  • FIX #1139 Escape ampersands in mail_to helpers (@nybblr)
  • FIX #821 Added a cache parser with a default now to Plain. (@daddye)
  • FIX #1129 use Padrino.root for apps.rb
  • FIX #1125 Eagerly load libs if needed for tasks
  • FIX #1111 route arity (@daddye)
  • FIX #1090 Don't calculate asset timestamp using urirootpath (@nesquena)
  • NEW Upgrades Sinatra support to 1.4.1 (@nesquena, @daddye)
  • NEW Upgrade to latest http_router 0.11 (@daddye)
  • NEW Load rake tasks manually but fallback to automatic for now (@skade)
  • FIX cleanup and refactoring of documentation (@wikimatze, @fnordfish)
  • FIX Run 'bundle' rather than 'bundle install' on generate (@wikimatze)
  • FIX Cleanup admin documentation (@danieltahara)
  • FIX padrino cache tests to not execute when cache server is not available (@bash0C7)
  • SEC #1083 Bump mail version dependency to CVE-2012-2139 and CVE-2012-2140. (@nesquena)
  • NEW Alias orm tasks to db namespace (@postmodern)
  • FIX #1090 Patch assettimestamp to respect publicfolder setting (@AtoxIO)
  • FIX #1045 Load the environment only when needed in rake-Tasks (@skade)
  • NEW #1031 Render using SafeBuffer for XSS protection (@skade)
  • NEW #1007 Apps can now be shipped as gems (@skade)
  • FIX #966 Padrino:Reload.lock! tries to split java packages (@daddye)
  • REM #1063 Remove core JSON rendering in favor of sinatra-contrib (@Ortuna)
  • NEW #1027 Padrino Performance for memory profiling and benchmarking (@skade, @dariocravero)
  • NEW #1011 Nest apps within the project module (@achiu, @tyabe)
  • NEW #904 Adds padrino-flash as core library (@lenzcom)
  • FIX #912 Use default layout when layout is set to true (@dcu)
  • NEW #927 Add CLI runner for executing code (@tyabe)
  • FIX #934 Rake routes when routes have regexes (@tyabe)
  • FIX #949 404 handling in later sinatra versions (@dayflower)
  • FIX #818 Filter and exceptions was running twice on error (@ujifgc)
  • FIX #812 Patch exception handling within filters (@ujifgc)
  • FIX #771 Padrino.configure_apps now supports multiple blocks (@ujifgc)
  • NEW #843 Request route now has access to the associated action (@ujifgc)
  • NEW #1097 Request route now has access to the parent (@dariocravero)
  • FIX French translation typos (@Fiaxhs)
  • FIX Optimize the reloader and objectspace traversal (@dcu)
  • FIX Failing jruby compatibility issue with reloading (@udzura)
  • NEW #881 Component support for Mongoid 3 (@WaYdotNET)
  • NEW #967 Mongoid 3 compatible rake tasks (@dayflower)
  • NEW #907 Puma server support (@dariocravero)
  • FIX Loads dm-types when enabling datamapper component (@postmodern)
  • FIX #911 Enable haml ugly syntax by default in production (@dcu)
  • FIX Adds support for later versions of ActiveRecord (@DAddYE)
  • FIX Less requires therubyracer gem (@dariocravero)
  • FIX Lock mysql gem to 2.8.1 since 2.9 fails (@udzura, @dariocravero)
  • FIX Lazy load mailer for 20% padrino bootup performance increase (@ujifgc)
  • FIX #1071 Refactor mailer codebase to DRY up (@Ortuna)
  • FIX Padrino.logger thread-safety issues (@sgonyea)
  • NEW Add colorize_logging option for logger (@tyabe)
  • FIX #918 Display seconds instead of ms in logger (@muxcmux)
  • FIX #910 Write file data as binary in cache (@ejholmes)
  • NEW #947 Support symbols as keys when expiring cache (@dariocravero)
  • FIX #973 Refuse to cache integers, convert to a string (@ujifgc)
  • NEW Adds breadcrumb view helpers (@WaYdotNET)
  • NEW support for ohm persistence in admin (@ujifgc)
  • FIX #873 Get the first key passed for expire for admin (@gugat)
  • FIX #876 Model output in erb templates for admin (@sleepingstu)
  • FIX #871 Halt on 404 when no record found for admin (kot-begemot)
  • FIX #1013 Admin generator can now be destroyed with flag
  • NEW #988 Support for HTML5 multiple file uploads (@hooktstudios)
  • NEW #27 Adds checkboxgroup and radiobuttongroup (@ujifgc)
  • FIX #1046 Broken jsescapehtml helper to properly escape (@hooopo)
  • FIX #1077 Refactor nested form code in helpers (@Ortuna)
  • FIX #924 Generate project name to handle underscores (@achiu)
  • FIX #1067 Execute the mysql command with separate args (@postmodern)
  • SEC #1058 Switch to https for rubygems source in Gemfile (@tyabe)
  • FIX #772 Controller path when maps is in controller options (@ujifgc)
  • NEW #925 Add explicit Rakefile on project generation by default (@achiu)
  • FIX #892 Show plugin list if no arguments passed to generator (@achiu)
  • FIX #1107 Defaulted all ORMs that used the mysql gem (@dariocravero)
  • FIX #1109 Move rake initialization into CLI to avoid double loading (@skade)
  • NEW #1100 Add csrf token handling with csrftokenfield helpers (@skade, @dariocravero)

0.10.7 (June 20th 2012)

  • FIX #777 Improve slim template block capturing
  • FIX #807 Fixes reloader class name resolution
  • NEW #813 Added support for activerecord-jdbcmysql-adapter (@rameshpy)
  • FIX #814 Fix optionsforselect result in a corner case (@whitequark)
  • FIX #828 Remove explicit tlsmail dependency (@trevor)
  • FIX #829 Adding an options attribute to ProjectModule (@simonc)
  • FIX #780 Respect user defined model name for admin (@joelcuevas)
  • FIX #841 Patched to fix rake use in padrino templates (@jasonm23)
  • NEW #836 Adds a catch all method to the redis cache
  • FIX #856 Make mysql2 alias of mysql when DataMapper is selected
  • FIX #858 Add require ActiveSupport::TimeWithZone class for helpers
  • FIX HTML Change boolean helper attributes to conform to xhtml strict
  • FIX #855 Fix errormessageon for empty array (@sshaw)
  • NEW #853 Adds Swedish localization support (@Lejdborg)
  • NEW #853 Adds Romanian localization support (@relu)
  • FIX #850 Prevent JRuby reloading bug (@dn2k)
  • FIX #846 Fix admin generator to understand model_name (@fnordfish)
  • NEW #845 Add CLI shortcut with just 'c' (@joslinm)

0.10.6

  • FIX #786 reloader issues with routes
  • FIX Lumberjack Logging Compatibility
  • FIX Write cached css into public stylesheets path (@fnordfish)
  • FIX Fixes error with less component (@fnordfish)
  • NEW #787 Support Nested Data Attributes in Tags (@agios)
  • FIX #760 better html5 helper support (@Cirex)
  • NEW #764 adds a few form inputs in helpers (@Cirex)
  • FIX #680 upgrade to activesupport and activerecord 3.2
  • FIX Adds support for minirecord generators
  • FIX Upgrade to latest datamapper
  • FIX #702 Change to new sequel migration syntax (@funny-falcon)
  • FIX #705 incorrect require when using AR with pg gem (@udzura)
  • FIX #724 Use binread for file cache on 1.9.X
  • FIX #729 Added setting to change model name for admin
  • NEW Adds regexp route generation support (@joshbuddy)
  • FIX #720 Set PADRINOLOGLEVEL constant by default (@marcosdsanchez)
  • FIX #725 app.app_name is not set error in padrino-cache (@modeverv)
  • FIX #733 Mailer generator now handles hyphens
  • FIX Replace Sinatra quote with Godfather movie reference on server exit (@danishkhan)
  • FIX #743 Correctly parse arguments to padrino binary
  • FIX #745 Cache now stores response and content_type (@sumskyi)
  • FIX #676 Adds support for trinidad web server on jruby
  • FIX #736 Logger refactoring to support other loggers (@skade)
  • NEW Adds alias 'escapejavascript' for 'jsescape_html' method
  • FIX Asset files from absolute paths should not have asset stamps associated
  • FIX Updated stylesheets initializers to respect spaces.

0.10.5

  • FIX #701 make static script assets work again for generator

0.10.4

  • FIX #690 adds proper require for sinatra-flash in Gemfile
  • FIX #691 fixes logger error when rendering templates
  • FIX #692 ensure :staticcachecontrol is properly applied
  • FIX #689 status messages to common padrino logger (@udzura)
  • FIX logger issue when displaying cache logs
  • FIX #694 issue with minitest generator (@runa)
  • NEW Silence YARD undocumented warnings in padrino gems

0.10.3

  • NEW Upgrade to recently released Sinatra 1.3
  • FIX #679 replaces rack-flash with sinatra-flash
  • NEW #667 Adds mintest testing component to generator
  • FIX #634 Removes less gem dependency for less gen
  • NEW #662 create "content_for?" helper (@mlightner)
  • FIX #669 Fixes YAML locale files to be psych compliant (@skade)
  • NEW Fixes logger to be much cleaner with better formatting
  • FIX issue with generator runner for https templates (@xavierRiley)
  • FIX #669 YML locale files are now psych compliant
  • NEW #658 removes shoulda and switch to minitest (with aliases)
  • NEW #657 Converts RDoc to YARD and improve all docs
  • FIX Document example of Padrino::Admin::AccessControl (@benjaminoakes)
  • NEW Adds Latvian locale translation (@ugisozols)
  • FIX #686 Halt status with code responds as expected

0.10.2

  • NEW support for TravisCI with build configurations
  • NEW support of mysql2 when using sequel as adapter (@rafaelss)
  • NEW #636 print which views are called in log when in development mode (@minikomi)
  • NEW support of ActiveRecord 3.1 and ActiveSupport 3.1
  • NEW yard doc available {here}[http://www.padrinorb.com/api/index.html]
  • FIX #624 potential issue with libxml-ruby (@farcaller)
  • FIX #618 allow to map routes using "index" reserved word
  • FIX #633 RACK_ENV now is respected also using bundled server
  • FIX rendering error for partials when they start with a forward slash (@philly-mac)
  • FIX all our sources files now are vim friendly
  • FIX preserve the original options when resolving a template (@Xylakant)
  • FIX bad path in shoulda test generator (@futurechimp)
  • FIX require path in model tests to generate correctly if specifing app
  • FIX #647 allow to override view errors
  • FIX #646 compat with ActiveRecord >3.0.10
  • FIX #381 escape "<> from tag helpers values
  • FIX #639 prevent XSS from admin login (@eikes)
  • FIX #620 render :json => obj now set content_type to 'application/json;charset=utf-8'
  • FIX #575 when using html parts now mailer content type is 'multipart/alternative'
  • FIX #631 reloading futzing with the query parameters (Hollin Wilkins & Dave Willett @ TrueCar in San Francisco)
  • FIX recognizepath now is compatible with httprouter > 0.10

0.10.1

  • Added a Mongo store for padrino-cache [Thanks to aliem]
  • Adds restful support for parent controller declaration
  • Before filters are called regardless of matching
  • Fix env['padrino.instance'] where create a loop and is too long to show in Padrino::ShowExceptions.
  • Compat with Slim 1.0, Compat with Ruby 1.9.3. FIX #596
  • Translation fixes for IT, CS, DE, NL, and more with locale tests
  • Fixes for FR, CN and RU locales [Thanks to TweeKane]
  • Compatibility with Bundler > 1.0 in Gemfile
  • Admin generator properly destroys access control on removal
  • Fixes admin generation when used with namespaced models
  • Allow logger to be configured before load [Thanks to skade]
  • Fix an error message [Thanks mariozig]
  • Fix doc bug in logger [Thanks Xylakant]
  • Adds host parameter to DM Postgresql Adapter [Thanks to Aigeruth]
  • Cleanup models folder in apps that is no longer used by default

0.10.0

  • Fix padrino s shortcut to accept options
  • Fix Padrino::Application#run! (now correctly accepts options)
  • Fix Padrino::Server (now has correct defaults options)
  • Fix Padrino::Reloader with strange constants or paths #565
  • Fix Padrino::Reloader reloading also $LOADED_FEATURES deps
  • Fix Double loading of boot.rb in rake tasks. #560
  • Fix an issue with haml rendering on rubinius
  • Fix our tests to meets ruby < 1.9 needs
  • Fix issue #556 now we resolve correctly prerequisites of your app
  • Enhancement for #556 now is possible to add custom prerequisites to our app
  • Change move Padrino.current_controller in public apis
  • Enhancement, now Padrino::Reloader works without ActiveSupport::Dependency or with it disabled #567 [Thanks Bernerdschaefer]
  • Cleanup padrino-core dependencies now we have less less ActiveSupport dependencies, we are very very thin finally!
  • Fix bundler gem dependency mismatch #553
  • Fix command issue with padrino g or padrino gen on rubinius #531
  • Fix issue #562, now is no more necessary "bundle exec anything"
  • Remove Padrino::Rendering from autoloading (manually must be loaded)
  • New Enhancement to controller filters
  • Add option to specify model generation of Account from padrino-admin
  • Generates models by default into /models
  • Controllers accept :conditions option [Thanks to Bernerdschaefer]
  • Added Hungarian translation [Thanks to Kormány Zsolt]
  • Added Riak support through Ripple
  • Updated couchrest_model dependency to ~>1.1.0
  • Fix issue #571, don't handle Gemfile if we are outside a Padrino project
  • Fix issue #569, prevent a little problem with DM and string length
  • Require only individual gems of DataMapper to use a thin environment and prevent to load old gems like json 1.4
  • Support for priority route ordering in controllers

0.9.29

  • Cleanup SupportLite
  • Cleanup Reloader
  • Cleanup Padrino::Application
  • Cleanup Gemfile generation
  • Cleanup Reloader
  • Cleanup Application Server
  • Improved Reloader
  • Decoupled Reloader, Loader, Application
  • Fixed Reloader in some extreme scenarios
  • Make methods of Padrino::Application that act as Padrino Core
  • Fixed error logging
  • Added Padrino.clear, useful to clean a Padrino Enviroment
  • Improved granularity of our reloader locking and prevent reloading of unnecessary deps
  • Use Sequel::Model.db= instead of DB= because is more simple change on the fly connections
  • Added compatibility with CouchRest::Model 1.1+
  • Cleanup support lite and improved compatiblity with jruby
  • Expose Padrino::Application.load_paths
  • Added a new method to load custom app dependencies
  • Added a new format helper 'truncate_words' [Thanks cearls!]
  • Fixes support for local vars passing in render
  • Rake 0.9 and 0.8.7 compat
  • Use Rack::Flash as Rails do
  • Fix a deprecation with model_name.human

0.9.28

  • Fixed couchrest Account Model
  • Generate SystemTimer for Mongoid only if Ruby 1.8 [Thanks to RoryO]
  • Generate SystemTimer for Mongomapper only if Ruby 1.8
  • Add padrino s as alias for padrino start
  • Fixed Gemfile for couchrest
  • Updated Gemfile for mongoid
  • Fix a possible loop in require_dependencies
  • Added padrino rake gen useful to create a Rakefile to handle for example with heroku

0.9.27

  • Use sass gem, because now is separated from haml
  • Escape regex in our reloader
  • Use CouchRest::Model instead of CouchRest::ExtendedDocument [Thanks Burgestrand!]
  • Fixes issues with offline generation of js (from padrino-static)
  • Fixes YAML parsing bug by using syck
  • Use sinatra 1.2.5
  • Make logger sinatra 1.3 compat
  • Use new sqlite3 gem in generated projects
  • Removed padrino_logging and use instead simple logging to avoid conflicts
  • By default use logging only on development
  • Uses raiseerrors, dumperrors, show_exceptions as Sinatra::Base do
  • Refactored Padrino::Application
  • Added a global configuration in config/apps.rb used by each Padrino Applicaitons
  • Moved session_secret in global configuration project
  • Use SecureRandom to generate session secret
  • Support 'partial' in Sinatra with explicit engine
  • Added recognizepath method ex: recognizepath(request.referrer) => [:controller_action, { :id => 1 }]
  • Added currentpath method ex: currentpath(:merge => :param) => "/current/1234/merge/param"
  • Support for jruby-memcache-client/memcache-client
  • Added MongoMapper task for drop database

0.9.26

  • Padrino::Logger compatible with Rack::CommonLogger
  • Added session_path and ability to use custom Rack::Session::Cookie options
  • Fixed dependency loader
  • Fixed mounting sub-apps
  • Fixed shared sessions

0.9.25

  • Fixes to allow flexible libraries in padrino-cache
  • Allow select tag to take a range of options [Thanks activestylus]
  • Allow grouped options in a select_tag [Thanks activestylus]
  • Use MongoMapper official gem
  • Fixes ERBHandler type detection
  • Fixes Routes with globs that when something is after the glob i.e. get :show, :map => '/pictures/*\path.html'
  • Updated http_router to ~> 0.7.0
  • Completed Padrino Cache Doc [Thanks to Onethirtyfive]
  • Added a global Padrino.cache option
  • Padrino-Cache now is able to store ruby objects
  • Fix expire_in on redis store in Padrino Cache
  • Added Ajax Helpers
  • Use https://github.com/padrino/padrino-static for download js and ujs adapters (if no internet connection use a local copy)
  • Added session_secret task generator and as default in our app templates
  • Correctly work with nested parameters sent to url [Thanks to Funny-falcon]
  • Fix ajax request detection for dataType: 'application/javascript'
  • Removed lib from excluded list of our reloader
  • Added in our logs app name space for urls and layouts
  • Preserve spaces for text_area using admin/haml
  • Prevent using missing rendering engines on admin allowing user to use a different way
  • Fixed AbstractFormBuilder class scope name [Thanks to Funny-falcon]
  • Changed layout of our logger
  • Logs for cache GET and SET
  • Caching instructions in main app template
  • Fixes NotFound Sinatra Errors
  • Require correct rspec/exceptions in cucumber.
  • Stylesheetlinktag and javascriptincludetag should allow array inputs for sources (instead of argument array)
  • More space for edit/delete actions in the Admin Section
  • Added a nice confirm dialog to prevent mistakes in the Admin Section
  • Added the correct DELETE method to the logout in the Admin Section
  • Added setting log_static setting to Padrino.logger [Thanks to railsjedi]
  • Added stylesheetlinktag and javascriptincludetag to allow array input for sources [Thanks to railsjedi]
  • Added ruby-debug19 to Gemfile [Thanks to railsjedi]
  • Allow simple_format to use a custom tag instead the only p tag
  • Fix collision with AS load_dependency
  • Fix File Store when cache dir is deleted after init
  • Added empty rows and cols to text_area tag to be w3c
  • Update Sinatra to 1.2.3 and HttpRouter to 0.6.9
  • Added cache_key inside route for a simple/fast expiring caching
  • Updated plugin git command to use Grit instead
  • Removed ./bundle/environment stuff
  • Rubinius compat [Thx to Rakaur]
  • Fixed setting custom views path
  • Removed deprecated dom helpers
  • Completed support for Slim
  • Adds Slim admin support
  • Do not enforce rack sessions for Rack:Flash
  • Now erubis is the standard for the erb templates like in tilt/sinatra
  • Fix stop daemonized padrino from non standard path
  • Fix app path when generating sub-applications
  • Use sass gem because now is separated from haml
  • Allow combining different templates (ex: render a partial built with haml from a slim/erubis view)
  • Use sessions for uri_root
  • Fix padrino admin page title

0.9.24

  • Delayed

0.9.23

  • Allow 406 on (.format) urls via a flag
  • Adds method_override flag to Padrino by default
  • Routing compatibility with the Sinatra 1.2 url method
  • Padrino now requires to ~> sinatra 1.2.0

0.9.22

  • Fix no more password encryption when password is blank
  • Fix mongoid dependency
  • Fix admin mongomapper template to encrypt password
  • Allow disabling of Padrino::Logger via :padrino_logging
  • Use Sinatra::Base instead of Sinatra::Application
  • Added Japanese Translations [Thanks to udzura]
  • Set status to 406 on non-provided ACCEPTS
  • Returns first provided mime-type on ACCEPT = /
  • Assume */- if no ACCEPT header is given

0.9.21

  • Support of regex captures in routes
  • Fixed routing issues with :index
  • Creation of empty directories for images/javascripts/stylesheets/tmp
  • Updated mongomapper adapter to use rails3 branch
  • Removed snowtag
  • Updated datamapper gen to store correctly passwords
  • Added Slim template to Padrino Admin [Thanks to Matthew Winter]
  • Added Traditional Chinese support(zh_tw) [Thanks to ayamomiji]
  • Include padrino-cache gem as part of standard install
  • Added Rake Task for Mongoid
  • Ensure project name are valid
  • Removed erubis support
  • Refactored the output handlers for helpers
  • Improves select_tag 'selected' option
  • Basic nested object form support
  • Updated mongoid adapter to use 2.0.0.beta.20
  • Remove legacy bundler setup from config/boot.rb
  • Change to routes to fix param assembly order
  • Fixed optional parameter routing test
  • Fixes errormessageon object name bug [Thanks craigp]
  • Removed default index page
  • Fetch Layout Path in app/views and app/views/layouts with :layout => :foo
  • Fixes issue with layout and format resolution in render
  • Added Simplified Chinese support(zh_cn)

0.9.20

  • Removed Rspec1 generator
  • Upgraded router to 0.5.0
  • Allow adding middlewares in front of the router
  • Fixed DataMapper Admin Adapter and Encrypt Passwords
  • Changed default ActiveRecord config with :reconnect => true
  • Added basic erubis support to the admin
  • Require only require 'spec_helper' in rspec tests
  • Added padrino-cache to our padrino meta-gem
  • Removed mount_core
  • Fix camelized model names in model generation
  • Added slim renderer component
  • Now the content format can be set explicitly in a param [Thanks to Qzio]
  • Fixed I18n load_path [Thanks to Pirj]
  • Updated column proprieties for DataMapper
  • Now Mounter accept namespaced applications [Thanks to Mcmire]
  • Updated ar:translate to be more compat with AS 3.+
  • remove strict_format in layouts to work with Sinatra as a standalone
  • Change Padrino Admin to generate model in own app, not default generated app.
  • Sinatra 1.1.2 Compat
  • Test compatibility with Sinatra 1.1.0 and 1.1.2
  • Fixed spaces in asset_path

0.9.19

  • Sinatra 1.1 compat
  • Fixed destroy admin/app/page [Thanks to Sob]
  • Fixed couchrest dependencies [Thanks to 21studios]
  • Added a basic index file [Thanks to 21studios]
  • Now Admin password are undecryptable [Thanks to Sob]
  • Arrayify keys for invalidation in padrino-cache
  • Fixed few typos errors [Thanks to Philtr]
  • Fix conflict on seeds.rb when generating admin [Thanks to Spllr]
  • Correct path in spec [Thanks to Spllr]
  • Bypass admin login in development
  • Norwegian translation [Thanks to Fossmo]
  • Updated generator for new rspec version [Thanks to Rosstimson]
  • Updated generator to work with legacy rspec version
  • Fixed issue with views folder not being generated in projects
  • Fixed the listing headers of admin pages, now is plural [Thanks to Rosstimson]
  • Fixed model migration removal [Thanks to Sob]
  • Updated plugins to pull using https [Thanks to Sob]

0.9.18

  • Updated to use latest http_router
  • Fix undefined method crypted_password when using Postgresql + Sequel [Thanks to Commuter]
  • Preserve params for after use by a before filter
  • Fix const scope for Rack::Mime [Thanks to spllr]

0.9.17

  • Fixed a problem with routing of “/”
  • Added utf-8 feature in forms using utf8/_e/snowman tag

0.9.16

  • Fixed problems with admin
  • Now only AS > 3.0
  • Added padrino-cache
  • Added redis backend for padrino-cache
  • Added dom helpers [Thanks to nu7hatch]
  • Added regex support for route portions
  • Update rspec generation to use let() [Thanks to rbxbx]
  • Added mysql2 support for activerecord [Thanks to kyanagi]
  • Fixed riot test helper generation
  • Added concise routing support
  • Added controller mapping support
  • Fixed tests to support concurrency
  • Fixed optionsforselec to be Array-compatible [Thanks to zmack]
  • Support Sinatra before blocks correctly
  • Added support for shallowing in controllers
  • Remove padrino-admin dependency on padrino-gen [Thanks to selman]

0.9.15

  • Fixed an issue with reloader
  • Added erubis support [Thanks Cored]
  • Fixed custom conditions
  • Adds Template/Plugin generation
  • Added regex support in routes
  • Removed some deprecations
  • Fixes optionsforselect helper selected logic and added test
  • Added Before/After load hooks
  • Fixes DataMapper.finalize
  • Fixes issue with invalid class on form fields [Thanks RichGuk]
  • Enhances Datamapper database creation [Thanks Lusis]
  • Adds a span around 'required' note for form fields
  • Fixes padrino bin command to properly display help
  • Stores component file in project after choices are validated
  • Added Ohm support [Thanks to Lusis]
  • Updated require_dependencies to take a version
  • Fixes app destroy option
  • Adds Dutch translation [Thanks to Martijin]
  • Adds Polish translation [Thanks to Kriss]
  • Added scss for stylesheet generation
  • Added +mongomatic+ as an orm component [Thanks to lusis]
  • Added +liquid+ as an renderer component [Thanks to rwilcox]

0.9.14

  • Application generator should create public subfolder
  • Refactored application mounter class
  • Updated mongomapper to use bson_ext
  • Use entity code instead of copyright symbol
  • Ensure app generation creates own public folder
  • Fixed padrino g alias
  • Fixed distanceoftimeinwords helper [Thanks to Yannick Koechlin]

0.9.13

  • Fixed a problem with padrino g the alias of padrino-gen
  • Fixed a naming bug in relation to using classify to manipulate project name
  • Refactored and enhanced rake routes (and rake routes:app)

0.9.12

  • Deprecated mount_core and remove references
  • Fixed problem with czech translation file
  • Fixed a problem with routes with same path but different verbs and provides

0.9.11

  • Fixed provides with IE
  • DM 1.0 and AR Tasks compat
  • Fixed DM 1.0 rake tasks
  • Dropped support of :respond_to in favor of :provides
  • Added provides in controller level App.controller :provides => [:json, :xml]
  • Added compatibility with AS 3.0
  • Fixed compatibility with DM 1.0
  • Improves dependencies in a Gemfile and autoinjected into gemspecs
  • Allow models to be generated in subapps with --app flag
  • Added bundler support also for testing [Thanks to Ryanfitz]
  • Updated I18n dependency to version > 0.4.0
  • Padrino now uses http_router instead of usher to handle url routing
  • Reorganized a bit ours "servers"
  • Added support for easily adding custom dependency paths with Padrino.custom_dependencies("...")
  • Padrino::Application.run! now perform Padrino.load! automatically (useful if you want to use MyApp.run!)
  • PADRINO_ROOT if not defined will be automatically detected
  • Improved reloader (that fixes also problems with MM)
  • Core refactoring
  • Fixed mounter in certain scenarios (i.e. single app file)
  • Fixed an issue when using only Padrino Rendering (without Padrino Routing) in a Sinatra application
  • Fixed a path must always match the url_format and optionally the given request.accept
  • Updated usher version which fix a problem using :provides with dashes in the URL
  • Improve the router's use of base uri's in url(). [Thanks to Lholden]
  • Support params as arrays for generation. More efficent generation
  • Added 405 support
  • Removed jeweler dependency and use dynamic gemspecs
  • Fixed / Updated German translations [Thanks to Gottlike]
  • Fixed a problem with extensions since Sinatra#register extend every thing
  • Fixed a problem when reloading apps
  • Fixed Mongoid adapter using updated master branch
  • Moved bundler dependency from padrino-core to padrino-gen
  • Moved I18n dependency from padrino-core to padrino-helpers
  • Use 'mail' library and remove 'tmail' dependency for padrino-mailer
  • Adds support for a quick 'email' helper for delivering mail in padrino-mailer
  • Replaces old mailer syntax with a more consistent dsl
  • Allow default rendering options to be changed [Thanks to Skade]
  • Fixed ensure to load database conf before everything
  • Prevent htm, html mismatch in content_type [Thanks to Skade]
  • Fixed issue with rake test tasks
  • Fixed an issue with trailing delimiters for index controller actions (i.e /posts/)
  • Fixed issue with sequel in admin gem
  • Fixed errormessagesfor to use humanized attribute
  • Fixed indentation issues for orm generators
  • Added Ukrainian translation [Thanks to Mama]
  • Added Spanish translation [Thanks to Alvaro]
  • Added Turkish translation [Thanks to Selman ULUG]
  • Added Czech translation [Thanks to Josef Pospíši]
  • Added support for disabling asset timestamps via setting
  • Fixed issue with invalid field names
  • Adds tiny skeleton generation for project and app generators
  • Adds support for a '--app' option to specify app name in project generator
  • Adds support for '--adapter' option which specifies what SQL adapter to use(for AR, Datamapper, Sequel)
  • Fixed escaping of javascript [Thanks to Ryan Fitzgerald]
  • Adds dojo.js as script component
  • Adds compass component for stylesheets in project generator [Thanks to Ryan Fitzgerald]

0.9.10

  • Fixed DM Migration Issue with Text, Boolean etc... [Thanks to Snusnu and Akzhan]
  • Fixed Issue with deploying Padrino apps to a Sub-URI
  • Fixed padrino g and padrino gen aliases
  • Refactored padrino-gen internals
  • Colorized logs
  • Added support for 'rake routes' task
  • Disabled sessions by defaults as Sinatra do
  • Enable sessions for admin app since authentication require it
  • Don't load Rack::Logger if our log_level is not :debug
  • Set real values for app.public and app.static because due to frequently calls
  • Updated templates with new changes
  • Performance tuning: Caching layout template
  • Fixed a bug with layouts that prevent double rendering
  • Added Scoped filters
  • Added Scoped layout
  • Our routing system now with :provides or :respond_to (other than route format) match "request.accept"
  • Our routes now accepts Sinatra 1.0 conditions
  • Routing refactoring
  • Now mounter use the our new Router instead of Rack::Builder
  • Added a new router class that handle in a easy why domains
  • Performance Tuning: Caching templates
  • Danish translation [Thanks to Molte]
  • Russian translation [Thanks to Imm]
  • Added +extcore+ as a javascript option in project generator [Thanks to Imm]
  • Updated jquery to v1.4.2
  • Added couchdb support for padrino-admin [Thanks to Ghostm]
  • Brazilian Translation [Thanks to Deminew]
  • French Translation [Thanks to Mickey]
  • ActiveSupport 3.0 Compatibility fixes
  • Removed VERSION files. This prevent problems described here: http://github.com/nex3/haml/issues/issue/24
  • Added default values for controllers
  • Updated sequel generation to work with sqlite3.
  • Fixes support for index routes with params.
  • Fixes SASS reload plugin issue on 1.9.X.
  • Fixes an issue with generator not casing controller / model names
  • Fixes issue with mounter and locating the app file
  • Added sequel support for padrino-admin [Thanks to Aemadrid]
  • Added basic sequel migration tasks [Thanks to Aemadrid]
  • Mailer now supports setting template path to render explicitly

0.9.9

  • Minor typo fixes

0.9.8

  • Dropped compatibility with Sinatra < 1.0
  • Ruby 1.8.6 compat
  • Initials additions for make Padrino compat with ruby 1.9.2
  • Fixed a small issue with Passenger and Ruby 1.9.1
  • Removed cleartemplatecache! since Sinatra 1.0. now has settings.reload_templates
  • Fixed errormessagesfor with custom locales
  • Added "padrino gen", "padrino g" as alias of padrino-gen.
  • Prevent that an account destroy itself
  • Removed some unused code from padrino-admin
  • Improved Padrino Admin Generator, now admin_page accepts multiple models
  • Fixed Padrino Admin Account where the accounts password field is in plain text (text_field)
  • Added layouts folder back into application skeleton
  • Fixed an issue with not being able to render erb or haml properly in a js response
  • Added support for forcing render of specified template (i.e render 'foo.haml' in js request)

0.9.7

  • Fixed a problem with folders called "sinatra" and PADRINOIGNORECALLERS
  • Fixed TestTask
  • Fixed admin generator since not all ruby versions respond to "lines"
  • Fixed an issue in Sinatra::ShowExceptions since Bundler changes the Gem.dir
  • Removed from Sinatra::ShowExceptions and clean_backtrace padrino code
  • Added layout finder with format and locale
  • Improved template finder (with format and locale)
  • Fixed a bug that duplicates admin menus during app reloading
  • Added feed_tag helper for rss / atom auto discovery
  • Removed Mailer Initializer from app.rb.tt and added it to the mailer generator
  • Removed duplicate app folder in project skeleton
  • Couchrest generator now include in Gemfile json_pure
  • Fixed project name when using some like www.my-domain.com
  • Fixed a small typo error in app template
  • Fixes issue with formatted routes for an index
  • Fixed an issue with Riot and RR in generator
  • Cleaned up the implementation for asset include helpers for javascript and css
  • Added stylesheet generator. Includes sass and less ( via rack-less)

0.9.6

  • Fixed an issue in controller generator when using --app=app_name
  • Added mm:transate task for easily translate models
  • Updated favicon_tag to search inside images folder
  • Fixes an issue with rendering with layout false now you can use: render 'path/to/template', :layout => false
  • Small helpers refactoring
  • Fixed mailer initializer issue. Cleaned up options in delivery.rb
  • Fixes tests in padrino helper

0.9.5

  • Added the possibility for dsl lovers to create a single file in app called helpers.rb/controllers.rb/mailers.rb
  • Changed generated scaffold now table rows didn't contains links
  • Fixed a bug in reloader, now we prevent schema.rb reloading
  • Fixed check_box helper when :checked => false we remove them
  • Added auto template lookup with locale and format i.e: show.ru.js.erb or show.js.erb or show.en.erb
  • Css refactoring and fixed an unused css in Padrino Admin generator
  • Fixed ar:structure:dump and others tasks that don't use symbols
  • Fixed compatibility with ERB and Sinatra 1.0
  • Fixed an issues with index and ar:auto:upgrade
  • Now we use Sinatra 0.9.6 since previous versions on ruby >= 1.8.7-p248 raise a segfault bug
  • Refactored executables
  • Added strip_tags helper
  • Fixed modelattributetranslate helper
  • Added favicon
  • Prevent bundler gem clashing
  • Fixed minor SASS support issue for haml generated projects

0.9.4

  • Improved selecttag helper, now accept :includeblank => 'My text'
  • Re-require 'tilt' since not all of us use sinatra --pre
  • Fixed a strange api change of bundler (see: http://github.com/carlhuda/bundler/issues/closed#issue/160)
  • Removed Bundler 0.9.7 dependency and allow all versions > 0.9.7.
  • Fixed Padrino Mailer views_path when we use a "multi app" project
  • Fixed content_type in Padrino Mailer
  • Added a spec option -fs
  • Removed rspec.opts and use it directly in rake task

0.9.3

  • Fixed a problem with some env with generators

0.9.2

  • Fixed overwrite of :+name+ in f.checkbox and f.radiobutton
  • Added +highlight+ helper
  • Cleaned up (truncated) README files for Padrino gems
  • Added template agnosticism (erb/haml) in admin generator
  • Added +mootools+ as a javascript option in project generator
  • Added +cucumber+ as a test option in project generator
  • Added +Mongoid+ as adapter in admin generator
  • Added +Mongoid+ as an orm option in project generator
  • Added +MongoMapper+ as adapter in admin generator
  • Fixed an issue with the SASS initializer for project generator
  • Fixed a small problem with DataMapper and our error helpers
  • Removed admin flash middleware (extracted to extension)
  • Minor code cleanup

0.9.1

  • New Padrino Admin with static theme based on web-app-theme
  • Fix routing module to work for sinatra standalone
  • Fix rendering module to work for sinatra standalone
  • Added +favicon_tag+ helper
  • Refactored Internals of +Padrino+::+Application+
  • Added I18n helpers +t+ and +l+
  • Added a new helper +errormessageon+
  • Added a new helper +button_to+