CHANGELOG.rdoc 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865
  1. == 2.1.2
  2. * Enhancements
  3. * Handle backwards incompatibility between Rails 3.2.6 and Thor 0.15.x
  4. * bug fix
  5. * Fix regression on strategy validation on previous release
  6. == 2.1.1 (yanked)
  7. * enhancements
  8. * `sign_out_all_scopes` now locks warden and does not allow new logins in the same action
  9. * `Devise.omniauth_path_prefix` is available to configure omniauth path prefix
  10. * Redirect to sign in page when trying to access password#edit without a token (by @gbataille)
  11. * Allow a lambda in authenticate(d) routes helpers to further select the scope
  12. * Removed warnings on Rails 3.2.6 (by @nashby)
  13. * bug fix
  14. * `update_with_password` now relies on assign_attributes and forwards the :as option (by @wtn)
  15. * Do not trigger timeout on sign in related actions
  16. * Timeout does not explode when reset_authentication_token! is accidentally defined by Active Model (by @remomueller)
  17. * deprecations
  18. * Strategy#validate() no longer validates nil resources
  19. == 2.1.0
  20. * enhancements
  21. * Add `check_fields!(model_class)` method on Devise::Models to check if the model includes the fields that Devise uses
  22. * Add `skip_reconfirmation!` to skip reconfirmation
  23. * Devise model generator now works with engines
  24. * Devise encryptable was moved to its new gem (http://github.com/plataformatec/devise-encryptable)
  25. * deprecations
  26. * Deprecations warnings added on Devise 2.0 are now removed with their features
  27. * All devise modules should now have a `required_fields(klass)` module method to help gathering missing attributes
  28. * `use_salt_as_remember_token` and `apply_schema` does not have any effect since 2.0 and are now deprecated
  29. * `valid_for_authentication?` must now return a boolean
  30. * bug fix
  31. * Ensure after sign in hook is not called without a resource
  32. * Fix a term: now on Omniauth related flash messages, we say that we're authenticating from an omniauth provider instead of authorizing
  33. * Fixed redirect when authenticated mounted apps (by @hakanensari)
  34. * Ensure the failure app still respects config.relative_url_root
  35. * `/users/sign_in` doesn't choke on protected attributes used to select sign in scope (by @Paymium)
  36. * `failed_attempts` is set to zero after any sign in (including via reset password) (by @rodrigoflores)
  37. * Added token expiration on timeout (by @antiarchitect)
  38. * Do not accidentally mark `_prefixes` as private
  39. * Better support for custom strategies on test helpers (by @mattconnolly)
  40. * Return `head :no_content` in SessionsController now that most JS libraries handle it (by @julianvargasalvarez)
  41. == 2.0.4
  42. Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.0
  43. * bug fix
  44. * Fix when :host is used with devise_for (by @mreinsch)
  45. * Fix a regression that caused Warden to be initialized too late
  46. == 2.0.3 (yanked)
  47. * bug fix
  48. * Ensure warning is not shown by mistake on apps with mounted engines
  49. * Fixes related to remember_token and rememberable_options
  50. * Ensure serializable_hash does not depend on accessible attributes
  51. * Ensure that timeout callback does not run on sign out action
  52. == 2.0.2
  53. * enhancements
  54. * Add devise_i18n_options to customize I18n message
  55. * bug fix
  56. * Ensure Devise.available_router_name defaults to :main_app
  57. * Set autocomplete to off for password on edit forms
  58. * Better error messages in case a trackable model can't be saved
  59. * Show a warning in case someone gives a pluralized name to devise generator
  60. * Fix test behavior for rspec subject requests (by @sj26)
  61. == 2.0.1
  62. * enhancements
  63. * Improved error messages on deprecation warnings
  64. * Hide Devise's internal generators from `rails g` command
  65. * bug fix
  66. * Removed tmp and log files from gem
  67. == 2.0.0
  68. * enhancements
  69. * Add support for e-mail reconfirmation on change (by @Mandaryn and @heimidal)
  70. * Redirect users to sign in page after unlock (by @nashby)
  71. * Redirect to the previous URL on timeout
  72. * Inherit from the same Devise parent controller (by @sj26)
  73. * Allow parent_controller to be customizable via Devise.parent_controller, useful for engines
  74. * Allow router_name to be customizable via Devise.router_name, useful for engines
  75. * Allow alternate ORMs to run compatibility setup code before Authenticatable is included (by @jm81)
  76. * deprecation
  77. * Devise now only supports Rails 3.1 forward
  78. * Devise.confirm_within was deprecated in favor Devise.allow_unconfirmed_access_for
  79. * Devise.stateless_token= is deprecated in favor of appending :token_auth to Devise.skip_session_storage
  80. * Usage of Devise.apply_schema is deprecated
  81. * Usage of Devise migration helpers are deprecated
  82. * Usage of Devise.remember_across_browsers was deprecated
  83. * Usage of rememberable with remember_token was removed
  84. * Usage of recoverable without reset_password_sent_at was removed
  85. * Usage of Devise.case_insensitive_keys equals to false was removed
  86. * Move devise/shared/_links.erb to devise/_links.erb
  87. * Deprecated support of nested devise_for blocks
  88. * Deprecated support to devise.registrations.reasons and devise.registrations.inactive_signed_up in favor of devise.registrations.signed_up_but_*
  89. * Protected method render_with_scope was removed.
  90. == 1.5.3
  91. * bug fix
  92. * Ensure delegator converts scope to symbol (by @dmitriy-kiriyenko)
  93. * Ensure passing :format => false to devise_for is not permanent
  94. * Ensure path checker does not check invalid routes
  95. == 1.5.2
  96. * enhancements
  97. * Add support for Rails 3.1 new mass assignment conventions (by @kirs)
  98. * Add timeout_in method to Timeoutable, it can be overridden in a model (by @lest)
  99. * bug fix
  100. * OmniAuth error message now shows the proper option (:strategy_class instead of :klass)
  101. == 1.5.1
  102. * bug fix
  103. * Devise should not attempt to load OmniAuth strategies. Strategies should be loaded before hand by the developer or explicitly given to Devise.
  104. == 1.5.0
  105. * enhancements
  106. * Timeoutable also skips tracking if skip_trackable is given
  107. * devise_for now accepts :failure_app as an option
  108. * Models can select the proper mailer via devise_mailer method (by @locomotivecms)
  109. * Migration generator now uses the change method (by @nashby)
  110. * Support to markerb templates on the mailer generator (by @sbounmy)
  111. * Support for Omniauth 1.0 (older versions are no longer supported) (by @TamiasSibiricus)
  112. * bug fix
  113. * Allow idempotent API requests
  114. * Fix bug where logs did not show 401 as status code
  115. * Change paranoid settings to behave as success instead of as failure
  116. * Fix bug where activation messages were shown first than the credentials error message
  117. * Instance variables are expired after sign out
  118. * deprecation
  119. * redirect_location is deprecated, please use after_sign_in_path_for
  120. * after_sign_in_path_for now redirects to session[scope_return_to] if any value is stored in it
  121. == 1.4.9
  122. * bug fix
  123. * url helpers were not being set under some circumstances
  124. == 1.4.8
  125. * enhancements
  126. * Add docs for assets pipeline and Heroku
  127. * bug fix
  128. * confirmation_url was not being set under some circumstances
  129. == 1.4.7
  130. * bug fix
  131. * Fix backward incompatible change from 1.4.6 for those using custom controllers
  132. == 1.4.6 (yanked)
  133. * enhancements
  134. * Allow devise_for :skip => :all
  135. * Allow options to be passed to authenticate_user!
  136. * Allow --skip-routes to devise generator
  137. * Add allow_params_authentication! to make it explicit when params authentication is allowed in a controller
  138. == 1.4.5
  139. * bug fix
  140. * Failure app tries the root path if a session one does not exist
  141. * No need to finalize Devise helpers all the time (by @bradleypriest)
  142. * Reset password shows proper message if user is not active
  143. * `clean_up_passwords` sets the accessors to nil to skip validations
  144. == 1.4.4
  145. * bug fix
  146. * Do not always skip helpers, instead provide :skip_helpers as option to trigger it manually
  147. == 1.4.3
  148. * enhancements
  149. * Improve Rails 3.1 compatibility
  150. * Use serialize_into_session and serialize_from_session in Warden serialize to improve extensibility
  151. * bug fix
  152. * Generator properly generates a change_table migration if a model already exists
  153. * Properly deprecate setup_mail
  154. * Fix encoding issues with email regexp
  155. * Only generate helpers for the used mappings
  156. * Wrap :action constraints in the proper hash
  157. * deprecations
  158. * Loosened the used email regexp to simply assert the existent of "@". If someone relies on a more strict regexp, they may use https://github.com/SixArm/sixarm_ruby_email_address_validation
  159. == 1.4.2
  160. * bug fix
  161. * Provide a more robust behavior to serializers and add :force_except option
  162. == 1.4.1
  163. * enhancements
  164. * Add :defaults and :format support on router
  165. * Add simple form generators
  166. * Better localization for devise_error_messages! (by @zedtux)
  167. * bug fix
  168. * Ensure to_xml is properly white listened
  169. * Ensure handle_unverified_request clean up any cached signed-in user
  170. == 1.4.0
  171. * enhancements
  172. * Added authenticated and unauthenticated to the router to route the used based on his status (by @sj26)
  173. * Improve e-mail regexp (by @rodrigoflores)
  174. * Add strip_whitespace_keys and default to e-mail (by @swrobel)
  175. * Do not run format and uniqueness validations on e-mail if it hasn't changed (by @Thibaut)
  176. * Added update_without_password to update models but not allowing the password to change (by @fschwahn)
  177. * Added config.paranoid, check the generator for more information (by @rodrigoflores)
  178. * bug fix
  179. * password_required? should not affect length validation
  180. * User cannot access sign up and similar pages if he is already signed in through a cookie or token
  181. * Do not convert booleans to strings on finders (by @xavier)
  182. * Run validations even if current_password fails (by @crx)
  183. * Devise now honors routes constraints (by @macmartine)
  184. * Do not return the user resource when requesting instructions (by @rodrigoflores)
  185. == 1.3.4
  186. * bug fix
  187. * Do not add formats if html or "*/*"
  188. == 1.3.3
  189. * bug fix
  190. * Explicitly mark the token as expired if so
  191. == 1.3.2
  192. * bug fix
  193. * Fix another regression related to reset_password_sent_at (by @alexdreher)
  194. == 1.3.1
  195. * enhancements
  196. * Improve failure_app responses (by @indirect)
  197. * sessions/new and registrations/new also respond to xml and json now
  198. * bug fix
  199. * Fix a regression that occurred if reset_password_sent_at is not present (by @stevehodgkiss)
  200. == 1.3.0
  201. * enhancements
  202. * All controllers can now handle different mime types than html using Responders (by @sikachu)
  203. * Added reset_password_within as configuration option to send the token for recovery (by @jdguyot)
  204. * Bump password length to 128 characters (by @k33l0r)
  205. * Add :only as option to devise_for (by @timoschilling)
  206. * Allow to override path after sending password instructions (by @irohiroki)
  207. * require_no_authentication has its own flash message (by @jackdempsey)
  208. * bug fix
  209. * Fix a bug where configuration options were being included too late
  210. * Ensure Devise::TestHelpers can be used to tests Devise internal controllers (by @jwilger)
  211. * valid_password? should not choke on empty passwords (by @mikel)
  212. * Calling devise more than once does not include previously added modules anymore
  213. * downcase_keys before validation
  214. * backward incompatible changes
  215. * authentication_keys are no longer considered when creating the e-mail validations, the previous behavior was buggy. You must double check if you were relying on such behavior.
  216. == 1.2.1
  217. * enhancements
  218. * Improve update path messages
  219. == 1.2.0
  220. * bug fix
  221. * Properly ignore path prefix on omniauthable
  222. * Faster uniqueness queries
  223. * Rename active? to active_for_authentication? to avoid conflicts
  224. == 1.2.rc2
  225. * enhancements
  226. * Make friendly_token 20 chars long
  227. * Use secure_compare
  228. * bug fix
  229. * Fix an issue causing infinite redirects in production
  230. * rails g destroy works properly with devise generators (by @andmej)
  231. * before_failure callbacks should work on test helpers (by @twinge)
  232. * rememberable cookie now is httponly by default (by @JamesFerguson)
  233. * Add missing confirmation_keys (by @JohnPlummer)
  234. * Ensure after_* hooks are called on RegistrationsController
  235. * When using database_authenticatable Devise will now only create an email field when appropriate (if using default authentication_keys or custom authentication_keys with email included)
  236. * Ensure stateless token does not trigger timeout (by @pixelauthority)
  237. * Implement handle_unverified_request for Rails 3.0.4 compatibility and improve FailureApp reliance on symbols
  238. * Consider namespaces while generating routes
  239. * Custom failure apps no longer ignored in test mode (by @jaghion)
  240. * Do not depend on ActiveModel::Dirty
  241. * Manual sign_in now triggers remember token
  242. * Be sure to halt strategies on failures
  243. * Consider SCRIPT_NAME on Omniauth paths
  244. * Reset failed attempts when lock is expired
  245. * Ensure there is no Mongoid injection
  246. * deprecations
  247. * Deprecated anybody_signed_in? in favor of signed_in? (by @gavinhughes)
  248. * Removed --haml and --slim view templates
  249. * Devise::OmniAuth helpers were deprecated and removed in favor of Omniauth.config.test_mode
  250. == 1.2.rc
  251. * deprecations
  252. * cookie_domain is deprecated in favor of cookie_options
  253. * after_update_path_for can no longer be defined in ApplicationController
  254. * enhancements
  255. * Added OmniAuth support
  256. * Added ORM adapter to abstract ORM iteraction
  257. * sign_out_via is available in the router to configure the method used for sign out (by @martinrehfeld)
  258. * Improved Ajax requests handling in failure app (by @spastorino)
  259. * Added request_keys to easily use request specific values (like subdomain) in authentication
  260. * Increased the size of friendly_token to 60 characters (reduces the chances of a successful brute attack)
  261. * Ensure the friendly token does not include "_" or "-" since some e-mails may not autolink it properly (by @rymai)
  262. * Extracted encryptors into :encryptable for better bcrypt support
  263. * :rememberable is now able to use salt as token if no remember_token is provided
  264. * Store the salt in session and expire the session if the user changes his password
  265. * Allow :stateless_token to be set to true avoiding users to be stored in session through token authentication
  266. * cookie_options uses session_options values by default
  267. * Sign up now check if the user is active or not and redirect him accordingly setting the inactive_signed_up message
  268. * Use ActiveModel#to_key instead of #id
  269. * sign_out_all_scopes now destroys the whole session
  270. * Added case_insensitive_keys that automatically downcases the given keys, by default downcases only e-mail (by @adahl)
  271. * default behavior changes
  272. * sign_out_all_scopes defaults to true as security measure
  273. * http authenticatable is disabled by default
  274. * Devise does not intercept 401 returned from applications
  275. * bugfix
  276. * after_sign_in_path_for always receives a resource
  277. * Do not execute Warden::Callbacks on Devise::TestHelpers (by @sgronblo)
  278. * Allow password recovery and account unlocking to change used keys (by @RStankov)
  279. * FailureApp now properly handles nil request.format
  280. * Fix a bug causing FailureApp to return with HTTP Auth Headers for IE7
  281. * Ensure namespaces has proper scoped views
  282. * Ensure Devise does not set empty flash messages (by @sxross)
  283. == 1.1.6
  284. * Use a more secure e-mail regexp
  285. * Implement Rails 3.0.4 handle unverified request
  286. * Use secure_compare to compare passwords
  287. == 1.1.5
  288. * bugfix
  289. * Ensure to convert keys on indifferent hash
  290. * defaults
  291. * Set config.http_authenticatable to false to avoid confusion
  292. == 1.1.4
  293. * bugfix
  294. * Avoid session fixation attacks
  295. == 1.1.3
  296. * bugfix
  297. * Add reply-to to e-mail headers by default
  298. * Updated the views generator to respect the rails :template_engine option (by @fredwu)
  299. * Check the type of HTTP Authentication before using Basic headers
  300. * Avoid invalid_salt errors by checking salt presence (by @thibaudgg)
  301. * Forget user deletes the right cookie before logout, not remembering the user anymore (by @emtrane)
  302. * Fix for failed first-ever logins on PostgreSQL where column default is nil (by @bensie)
  303. * :default options is now honored in migrations
  304. == 1.1.2
  305. * bugfix
  306. * Compatibility with latest Rails routes schema
  307. == 1.1.1
  308. * bugfix
  309. * Fix a small bug where generated locale file was empty on devise:install
  310. == 1.1.0
  311. * enhancements
  312. * Rememberable module allows user to be remembered across browsers and is enabled by default (by @trevorturk)
  313. * Rememberable module allows you to activate the period the remember me token is extended (by @trevorturk)
  314. * devise_for can now be used together with scope method in routes but with a few limitations (check the documentation)
  315. * Support `as` or `devise_scope` in the router to specify controller access scope
  316. * HTTP Basic Auth can now be disabled/enabled for xhr(ajax) requests using http_authenticatable_on_xhr option (by @pellja)
  317. * bug fix
  318. * Fix a bug in Devise::TestHelpers where current_user was returning a Response object for non active accounts
  319. * Devise should respect script_name and path_info contracts
  320. * Fix a bug when accessing a path with (.:format) (by @klacointe)
  321. * Do not add unlock routes unless unlock strategy is email or both
  322. * Email should be case insensitive
  323. * Store classes as string in session, to avoid serialization and stale data issues
  324. * deprecations
  325. * use_default_scope is deprecated and has no effect. Use :as or :devise_scope in the router instead
  326. == 1.1.rc2
  327. * enhancements
  328. * Allow to set cookie domain for the remember token. (by @mantas)
  329. * Added navigational formats to specify when it should return a 302 and when a 401.
  330. * Added authenticate(scope) support in routes (by @wildchild)
  331. * Added after_update_path_for to registrations controller (by @thedelchop)
  332. * Allow the mailer object to be replaced through config.mailer = "MyOwnMailer"
  333. * bug fix
  334. * Fix a bug where session was timing out on sign out
  335. * deprecations
  336. * bcrypt is now the default encryptor
  337. * devise.mailer.confirmations_instructions now should be devise.mailer.confirmations_instructions.subject
  338. * devise.mailer.user.confirmations_instructions now should be devise.mailer.confirmations_instructions.user_subject
  339. * Generators now use Rails 3 syntax (devise:install) instead of devise_install
  340. == 1.1.rc1
  341. * enhancements
  342. * Rails 3 compatibility
  343. * All controllers and views are namespaced, for example: Devise::SessionsController and "devise/sessions"
  344. * Devise.orm is deprecated. This reduces the required API to hook your ORM with devise
  345. * Use metal for failure app
  346. * HTML e-mails now have proper formatting
  347. * Allow to give :skip and :controllers in routes
  348. * Move trackable logic to the model
  349. * E-mails now use any template available in the filesystem. Easy to create multipart e-mails
  350. * E-mails asks headers_for in the model to set the proper headers
  351. * Allow to specify haml in devise_views
  352. * Compatibility with Mongoid
  353. * Make config.devise available on config/application.rb
  354. * TokenAuthenticatable now works with HTTP Basic Auth
  355. * Allow :unlock_strategy to be :none and add :lock_strategy which can be :failed_attempts or none. Setting those values to :none means that you want to handle lock and unlocking by yourself
  356. * No need to append ?unauthenticated=true in URLs anymore since Flash was moved to a middleware in Rails 3
  357. * :activatable is included by default in your models
  358. * bug fix
  359. * Fix a bug with STI
  360. * deprecations
  361. * Rails 3 compatible only
  362. * Removed support for MongoMapper
  363. * Scoped views are no longer "sessions/users/new". Now use "users/sessions/new"
  364. * Devise.orm is deprecated, just require "devise/orm/YOUR_ORM" instead
  365. * Devise.default_url_options is deprecated, just modify ApplicationController.default_url_options
  366. * All messages under devise.sessions, except :signed_in and :signed_out, should be moved to devise.failure
  367. * :as and :scope in routes is deprecated. Use :path and :singular instead
  368. == 1.0.8
  369. * enhancements
  370. * Support for latest MongoMapper
  371. * Added anybody_signed_in? helper (by @SSDany)
  372. * bug fix
  373. * confirmation_required? is properly honored on active? calls. (by @paulrosania)
  374. == 1.0.7
  375. * bug fix
  376. * Ensure password confirmation is always required
  377. * deprecations
  378. * authenticatable was deprecated and renamed to database_authenticatable
  379. * confirmable is not included by default on generation
  380. == 1.0.6
  381. * bug fix
  382. * Do not allow unlockable strategies based on time to access a controller.
  383. * Do not send unlockable email several times.
  384. * Allow controller to upstram custom! failures to Warden.
  385. == 1.0.5
  386. * bug fix
  387. * Use prepend_before_filter in require_no_authentication.
  388. * require_no_authentication on unlockable.
  389. * Fix a bug when giving an association proxy to devise.
  390. * Do not use lock! on lockable since it's part of ActiveRecord API.
  391. == 1.0.4
  392. * bug fix
  393. * Fixed a bug when deleting an account with rememberable
  394. * Fixed a bug with custom controllers
  395. == 1.0.3
  396. * enhancements
  397. * HTML e-mails now have proper formatting
  398. * Do not remove MongoMapper options in find
  399. == 1.0.2
  400. * enhancements
  401. * Allows you set mailer content type (by @glennr)
  402. * bug fix
  403. * Uses the same content type as request on http authenticatable 401 responses
  404. == 1.0.1
  405. * enhancements
  406. * HttpAuthenticatable is not added by default automatically.
  407. * Avoid mass assignment error messages with current password.
  408. * bug fix
  409. * Fixed encryptors autoload
  410. == 1.0.0
  411. * deprecation
  412. * :old_password in update_with_password is deprecated, use :current_password instead
  413. * enhancements
  414. * Added Registerable
  415. * Added Http Basic Authentication support
  416. * Allow scoped_views to be customized per controller/mailer class
  417. * [#99] Allow authenticatable to used in change_table statements
  418. == 0.9.2
  419. * bug fix
  420. * Ensure inactive user cannot sign in
  421. * Ensure redirect to proper url after sign up
  422. * enhancements
  423. * Added gemspec to repo
  424. * Added token authenticatable (by @grimen)
  425. == 0.9.1
  426. * bug fix
  427. * Allow bigger salt size (by @jgeiger)
  428. * Fix relative url root
  429. == 0.9.0
  430. * deprecation
  431. * devise :all is deprecated
  432. * :success and :failure flash messages are now :notice and :alert
  433. * enhancements
  434. * Added devise lockable (by @mhfs)
  435. * Warden 0.9.0 compatibility
  436. * Mongomapper 0.6.10 compatibility
  437. * Added Devise.add_module as hooks for extensions (by @grimen)
  438. * Ruby 1.9.1 compatibility (by @grimen)
  439. * bug fix
  440. * Accept path prefix not starting with slash
  441. * url helpers should rely on find_scope!
  442. == 0.8.2
  443. * enhancements
  444. * Allow Devise.mailer_sender to be a proc (by @grimen)
  445. * bug fix
  446. * Fix bug with passenger, update is required to anyone deploying on passenger (by @dvdpalm)
  447. == 0.8.1
  448. * enhancements
  449. * Move salt to encryptors
  450. * Devise::Lockable
  451. * Moved view links into partial and I18n'ed them
  452. * bug fix
  453. * Bcrypt generator was not being loaded neither setting the proper salt
  454. == 0.8.0
  455. * enhancements
  456. * Warden 0.8.0 compatibility
  457. * Add an easy for map.connect "sign_in", :controller => "sessions", :action => "new" to work
  458. * Added :bcrypt encryptor (by @capotej)
  459. * bug fix
  460. * sign_in_count is also increased when user signs in via password change, confirmation, etc..
  461. * More DataMapper compatibility (by @lancecarlson)
  462. * deprecation
  463. * Removed DeviseMailer.sender
  464. == 0.7.5
  465. * enhancements
  466. * Set a default value for mailer to avoid find_template issues
  467. * Add models configuration to MongoMapper::EmbeddedDocument as well
  468. == 0.7.4
  469. * enhancements
  470. * Extract Activatable from Confirmable
  471. * Decouple Serializers from Devise modules
  472. == 0.7.3
  473. * bug fix
  474. * Give scope to the proper model validation
  475. * enhancements
  476. * Mail views are scoped as well
  477. * Added update_with_password for authenticatable
  478. * Allow render_with_scope to accept :controller option
  479. == 0.7.2
  480. * deprecation
  481. * Renamed reset_confirmation! to resend_confirmation!
  482. * Copying locale is part of the installation process
  483. * bug fix
  484. * Fixed render_with_scope to work with all controllers
  485. * Allow sign in with two different users in Devise::TestHelpers
  486. == 0.7.1
  487. * enhancements
  488. * Small enhancements for other plugins compatibility (by @grimen)
  489. == 0.7.0
  490. * deprecations
  491. * :authenticatable is not included by default anymore
  492. * enhancements
  493. * Improve loading process
  494. * Extract SessionSerializer from Authenticatable
  495. == 0.6.3
  496. * bug fix
  497. * Added trackable to migrations
  498. * Allow inflections to work
  499. == 0.6.2
  500. * enhancements
  501. * More DataMapper compatibility
  502. * Devise::Trackable - track sign in count, timestamps and ips
  503. == 0.6.1
  504. * enhancements
  505. * Devise::Timeoutable - timeout sessions without activity
  506. * DataMapper now accepts conditions
  507. == 0.6.0
  508. * deprecations
  509. * :authenticatable is still included by default, but yields a deprecation warning
  510. * enhancements
  511. * Added DataMapper support
  512. * Remove store_location from authenticatable strategy and add it to failure app
  513. * Allow a strategy to be placed after authenticatable
  514. * [#45] Do not rely attribute? methods, since they are not added on Datamapper
  515. == 0.5.6
  516. * enhancements
  517. * [#42] Do not send nil to build (DataMapper compatibility)
  518. * [#44] Allow to have scoped views
  519. == 0.5.5
  520. * enhancements
  521. * Allow overwriting find for authentication method
  522. * [#38] Remove Ruby 1.8.7 dependency
  523. == 0.5.4
  524. * deprecations
  525. * Deprecate :singular in devise_for and use :scope instead
  526. * enhancements
  527. * [#37] Create after_sign_in_path_for and after_sign_out_path_for hooks to be
  528. overwriten in ApplicationController
  529. * Create sign_in_and_redirect and sign_out_and_redirect helpers
  530. * Warden::Manager.default_scope is automatically configured to the first given scope
  531. == 0.5.3
  532. * bug fix
  533. * MongoMapper now converts DateTime to Time
  534. * Ensure all controllers are unloadable
  535. * enhancements
  536. * [#35] Moved friendly_token to Devise
  537. * Added Devise.all, so you can freeze your app strategies
  538. * Added Devise.apply_schema, so you can turn it to false in Datamapper or MongoMapper
  539. in cases you don't want it be handlded automatically
  540. == 0.5.2
  541. * enhancements
  542. * [#28] Improved sign_in and sign_out helpers to accepts resources
  543. * [#28] Added stored_location_for as a helper
  544. * [#20] Added test helpers
  545. == 0.5.1
  546. * enhancements
  547. * Added serializers based on Warden ones
  548. * Allow authentication keys to be set
  549. == 0.5.0
  550. * bug fix
  551. * Fixed a bug where remember me module was not working properly
  552. * enhancements
  553. * Moved encryption strategy into the Encryptors module to allow several algorithms (by @mhfs)
  554. * Implemented encryptors for Clearance, Authlogic and Restful-Authentication (by @mhfs)
  555. * Added support for MongoMapper (by @shingara)
  556. == 0.4.3
  557. * bug fix
  558. * [#29] Authentication just fails if user cannot be serialized from session, without raising errors;
  559. * Default configuration values should not overwrite user values;
  560. == 0.4.2
  561. * deprecations
  562. * Renamed mail_sender to mailer_sender
  563. * enhancements
  564. * skip_before_filter added in Devise controllers
  565. * Use home_or_root_path on require_no_authentication as well
  566. * Added devise_controller?, useful to select or reject filters in ApplicationController
  567. * Allow :path_prefix to be given to devise_for
  568. * Allow default_url_options to be configured through devise (:path_prefix => "/:locale" is now supported)
  569. == 0.4.1
  570. * bug fix
  571. * [#21] Ensure options can be set even if models were not loaded
  572. == 0.4.0
  573. * deprecations
  574. * Notifier is deprecated, use DeviseMailer instead. Remember to rename
  575. app/views/notifier to app/views/devise_mailer and I18n key from
  576. devise.notifier to devise.mailer
  577. * :authenticable calls are deprecated, use :authenticatable instead
  578. * enhancements
  579. * [#16] Allow devise to be more agnostic and do not require ActiveRecord to be loaded
  580. * Allow Warden::Manager to be configured through Devise
  581. * Created a generator which creates an initializer
  582. == 0.3.0
  583. * bug fix
  584. * [#15] Allow yml messages to be configured by not using engine locales
  585. * deprecations
  586. * Renamed confirm_in to confirm_within
  587. * [#14] Do not send confirmation messages when user changes his e-mail
  588. * [#13] Renamed authenticable to authenticatable and added deprecation warnings
  589. == 0.2.3
  590. * enhancements
  591. * Ensure fail! works inside strategies
  592. * [#12] Make unauthenticated message (when you haven't signed in) different from invalid message
  593. * bug fix
  594. * Do not redirect on invalid authenticate
  595. * Allow model configuration to be set to nil
  596. == 0.2.2
  597. * bug fix
  598. * [#9] Fix a bug when using customized resources
  599. == 0.2.1
  600. * refactor
  601. * Clean devise_views generator to use devise existing views
  602. * enhancements
  603. * [#7] Create instance variables (like @user) for each devise controller
  604. * Use Devise::Controller::Helpers only internally
  605. * bug fix
  606. * [#6] Fix a bug with Mongrel and Ruby 1.8.6
  607. == 0.2.0
  608. * enhancements
  609. * [#4] Allow option :null => true in authenticable migration
  610. * [#3] Remove attr_accessible calls from devise modules
  611. * Customizable time frame for rememberable with :remember_for config
  612. * Customizable time frame for confirmable with :confirm_in config
  613. * Generators for creating a resource and copy views
  614. * optimize
  615. * Do not load hooks or strategies if they are not used
  616. * bug fixes
  617. * [#2] Fixed requiring devise strategies
  618. == 0.1.1
  619. * bug fixes
  620. * [#1] Fixed requiring devise mapping
  621. == 0.1.0
  622. * Devise::Authenticable
  623. * Devise::Confirmable
  624. * Devise::Recoverable
  625. * Devise::Validatable
  626. * Devise::Migratable
  627. * Devise::Rememberable
  628. * SessionsController
  629. * PasswordsController
  630. * ConfirmationsController
  631. * Create an example app
  632. * devise :all, :except => :rememberable
  633. * Use sign_in and sign_out in SessionsController
  634. * Mailer subjects namespaced by model
  635. * Allow stretches and pepper per model
  636. * Store session[:return_to] in session
  637. * Sign user in automatically after confirming or changing it's password