2013-07-08 17:21:36 -04:00
master
===
2014-01-03 19:18:16 -05:00
* Asciidoc information now available with the `asciidoc` local, which is a normal hash.
2014-01-03 18:49:54 -05:00
* Remove `page` template local. Use `current_resource` instead.
2014-02-22 21:11:37 -05:00
* Dropped support for providing a block to `page` & `proxy` .
2014-01-03 18:49:54 -05:00
* Dropped support for instance variables inside templates.
* Moved all rendering into `TemplateRenderer` and `FileRenderer`
* Placed all template evaluation inside the `TemplateContext` class
2014-01-01 22:09:47 -05:00
* Remove deprecated `request` instance
2014-01-01 21:09:19 -05:00
* Remove old module-style extension support
* Placed all `config.rb` evaluation inside the `ConfigContext` class
2014-02-18 21:30:29 -05:00
* Update Padrino to 0.12.0. Introduces BREAKING CHANGE for Haml. Helpers which take blocks used to require `-` instead of `=` to work correctly. Now, all helpers which output content should use `=` . See: http://www.padrinorb.com/blog/upgrading-padrino-from-0-11-x-to-0-12-0-guide
* Depend on Erubis and remove support for specifying another ERb engine.
* Removed the ability to set the `sass_cache_path` .
2014-01-27 12:56:48 -05:00
3.2.2
===
* Specify the full path to the NEWLINE constant
* Refactor some internals which were dependent on certain order of operations
* Updated i18n dep
* Updated Uglifier dep
2014-01-01 21:09:19 -05:00
2013-12-18 17:56:21 -05:00
3.2.1
===
* Allow path to be passed to page_classes. #1120
* Parallelize gzip extension using four threads. #1116
* Fix locale issue when using gzip extension
* Better handle UTF-8 filenames
2013-11-19 21:10:26 -05:00
* Update Padrino to 0.11.4 and Tilt to 1.4.1
2013-10-29 12:54:46 -04:00
3.2.0
===
* Dropped support for Ruby 1.8
* Dropped empty "middleman-more" gem
* Support the AsciiDoc format
* `page_classes` now prefixes class names starting with numbers with an alpha character. "x" by default.
* AREL-style sitemap query language no longer mutates on filter
* Logging can now be forwarded to a file
* Syntax errors in config.rb no longer hang the server
* Fixed memory leak when adding blocks to resources. #1020
* Support HEAD requests in the server
2013-10-15 17:40:01 -04:00
3.1.6
===
2013-09-17 02:46:59 -04:00
* Magic sitemap-aware links and image references now work when your markdown engine is Kramdown (the default for Middleman).
* Having the build directory be a symlink no longer causes the --clean (default) option to wipe out your build.
* Fix handling paths and URLs with spaces in them. #961
* Loosen up Kramdown dependency to allow for using version 1.2.
2013-10-15 17:40:01 -04:00
* Loosen up Listen dependency so it works with sass betas.
2013-10-15 17:41:50 -04:00
* Look for assets using url_for before falling back to the "images" directory. #1017
* Do not cache generated redirect index file. #1019
* Make an effort to handle spaces in filenames in a way that url_for can handle. #961
2013-11-15 13:34:38 -05:00
* Fix localization via filename extension. #1015
2013-09-17 02:46:59 -04:00
2013-09-07 16:12:31 -04:00
3.1.5
===
* Escape filenames in regexes. Fixes #942 .
* Create automated alt tag addition, based on image name.
* Add listener latency option. (Aliased to -l)
* Add support/tests for Redcarpet 3.0.0 features
- :underline
- :highlight
- :disable_indented_code_blocks
* Fix support for
- :link_attributes
- :filter_html
3.1.4
===
* Support kramdown 1.1
2013-07-08 17:21:36 -04:00
* Support redcarpet's :no_links & :no_images. #951
2013-07-02 17:42:44 -04:00
3.1.3
2013-06-24 16:39:14 -04:00
===
2013-07-02 17:42:44 -04:00
* Fixed typo in rack extensions block
2013-07-02 17:44:18 -04:00
* Add support for nojekyll dotfile
2013-06-24 16:39:14 -04:00
2013-06-19 14:13:23 -04:00
3.1.2
===
2013-07-02 17:42:44 -04:00
* Locales regex was broken, selecting .yml files from data folder.
2013-07-02 17:44:18 -04:00
* Fix for implied extensions getting a layout. (Mentioned in #901 )git pu
2013-06-19 14:13:23 -04:00
* Added `redirect` command for generating meta refreshes
2013-06-18 14:06:43 -04:00
3.1.1
===
* Check if set is redefining a param at the class level. Fixes #939
* Correctly escape `content_tag` when using a block. Fixes #941
2013-05-15 20:45:25 -04:00
3.1.0 Highlights
===
* Autoload support (moving away from middleman-more)
* New Configuration System
* New v4 Extension API
* `/__middleman' inspector
* Added Ruby 2.0, dropped Ruby 1.9.2
2013-06-12 21:24:00 -04:00
* Fully tested on JRuby 1.9
2013-05-15 20:45:25 -04:00
* Build defaults to --clean
2013-06-12 16:52:35 -04:00
3.1.0.rc.4
===
* Blocks with different templating languages than their layout now work as expected. #860
2013-06-13 12:23:31 -04:00
* Ruby 1.8 users will need to add the following to their Gemfiles:
platforms :mri_18 do
gem "ruby18_source_location"
end
2013-06-13 12:05:13 -04:00
* The `endpoint` method allows the building of Rack-based files or arbitrary content.
2013-06-12 16:52:35 -04:00
2013-05-30 15:13:42 -04:00
3.1.0.rc.2
===
2013-06-01 18:25:44 -04:00
* `layouts_dir` is now configurable
2013-05-31 00:21:13 -04:00
* Custom template classes can now override the file used for creating the project Gemfile.
* Add an "empty" template that produces the minimum necessary structure for a Middleman project.
* Fix ignoring layouts from the sitemap when the source directory has been set to something other than 'source'. #896
2013-05-30 15:13:42 -04:00
* Track test coverage with simplecov
* i18n only autodetects languages in the `locales` root
* Frontmatter cache fixes solve performance regressions found in 3.1.x
* Vendor padrino-* to avoid dep hell
* `middleman-more` gem returns, but it's empty for backwards compat
* Prefer internal files.exists? over ruby's slow File.exists?
3.1.0.rc.1
2013-04-06 19:58:47 -04:00
===
2013-05-08 14:37:55 -04:00
* Move more into core, autoloaded if gems are available.
2013-05-02 22:05:50 -04:00
* DataStore may now be accessed like a hash with #[] and #has_key ?. #880
2013-05-03 00:17:50 -04:00
* The i18n extension now supports providing localized templates as separate files, like index.es.html.haml. #816 , #823
2013-05-03 01:09:54 -04:00
* The list of regular expressions for which files are ignored by the file watcher are now configurable.
2013-05-03 14:24:05 -04:00
* Revert to Thor 0.15.x
* Revert to padrino-helpers 0.10.x (dependency hell)
* Drop i18n dep to match activesupport at 0.6.1
2013-05-02 22:05:50 -04:00
2013-05-01 12:41:13 -04:00
3.1.0.beta.2
===
* Extension template uses new class-based Extension
* Fix missing children in some sitemap traversal operations. #837
* Add respond_to? to DataStore. #872
* Allow discovery of prerelease gems. #873
2013-04-22 23:44:07 -04:00
* Include middleman-livereload in default Gemfile
* Update Rack dependency to 1.5.x
2013-04-22 23:50:17 -04:00
* Update to Listen 1.0.x
2013-04-23 01:07:35 -04:00
* Update to padrino-helpers 0.11.x
2013-04-23 01:22:36 -04:00
* Update uglifier to 2.0.x
2013-05-01 12:41:13 -04:00
* Convert all of middleman-more to new class-based Extensions
2013-04-21 21:13:41 -04:00
3.1.0.beta.1
===
2013-04-14 12:37:23 -04:00
* Support Slim 2.0 ::Slim::Embedded
2013-04-13 21:58:54 -04:00
* "middleman build" will clean out old files from the build directory by default now, without needing to pass "--clean". Pass "--no-clean" to disable. #862
2013-04-12 19:14:16 -04:00
* Allow frontmatter to be side-loaded from a neighboring file with a .frontmatter extension: #855
2013-04-11 13:13:36 -04:00
* Allow frontmatter "renderer_options" key to overwrite renderer options on a per-file basis. #859
2013-04-12 22:01:50 -04:00
* A custom :partials_dir may be configured, and partials will be looked up from it. #854
* The sprockets environment is now available before config.rb is run, so you can mess with it.
2013-04-06 21:30:10 -04:00
* Added a "t" helper that delegates to I18n.t, just like Rails. #853 .
* I18n will fall back to the default locale if a translation in the current locale is not found. You can disable this behavior by passing `:no_fallbacks => true` when activating `:i18n` . More settings documented at https://github.com/svenfuchs/i18n/wiki/Fallbacks . #853
2013-04-06 19:01:40 -04:00
* Switched default Markdown engine to Kramdown. #852
2013-04-06 19:58:47 -04:00
* Overhaul content-type handling, and add a `:content_type` parameter for `page` , `proxy` , and frontmatter that allows for overriding the default content type. #851
* Fixes for upcoming Sass versions.
* Fix markdown filters in Haml 4 so that they don't throw errors when generating links/images and so they use our magic image_tag/link_to methods. #662
* Fix a number of bugs with i18n. Add a `:lang` option that can be used with `page` or `proxy` to set the I18n.locale of a page. #845
* Directory names in the data folder are treated as part of the data key. #836
* Properly reload the server when files change in "lib" or "helpers". #835
* Replace Rainpress CSS minifier with the one built into Sass.
* Changed 'default' and 'html5' templates to use 'current_page.data.title' instead of 'data.page.title'. #825
* Include file extension in template cache. #798
* Support for Ruby 2.0.0.
* "middleman console" will give you a console where you can mess around inside your middleman context. #775
* Add to Compass import paths instead of resetting them. #707
2013-04-13 00:49:55 -04:00
* There are now metadata pages in the preview server at "/__middleman/" that show information about the sitemap and site configuration. #374 and #776
2013-04-06 19:58:47 -04:00
* The sitemap is now queryable with an ARel-like API. #650
* Reorganize SMACSS template. #591
* No longer bundle native file watchers - add an appropriate gem (rb-fsevent for OS X, rb-inotify for Linux, wdm for windows) to your Gemfile.
* `activate :asset_host, :host => hostname` can be used to configure `:asset_host` .
* Path matchers (for things like ignore and page) correctly work with string matchers. #689
* Configuration has been moved to Middleman::Configuration::ConfigurationManager. This is backwards-compatible, but offers a nicer way of getting and setting configuration for extensions, including documenting those settings and their defaults. #620 .
2013-03-19 19:09:58 -04:00
3.0.13
===
* Require Tilt 1.3.6 (older versions have errant .csv template type)
* Unregister Tilt HTML handler
* Fix dynamic multi-byte utf-8 files rebuilding. #806
* Force locale to english for number_to_human_size in the gzip extension. #804
* Don't use the logger from a trap context. Ruby 2.0.0 support. #801 .
* Serve extensionless files or dotfiles with text/plain MIME type
2013-02-17 21:22:17 -05:00
3.0.12
2012-06-19 23:07:50 -04:00
===
2012-10-23 16:10:02 -04:00
2013-02-19 20:14:10 -05:00
* Update to listen 0.7.x. No longer depend on rb-inotify. *nix users should add to Gemfile.
* Support Haml 4
2013-02-17 21:22:17 -05:00
* :debug_assets can no longer be turned on in the build environment.
* Helpers now work with JS/CSS files with .erb processing.
* Provide an informative exception when link_to is used improperly.
* Force .svgz files to be treated as binary.
* Add a url_for method that performs the link_to magic URL generation without a link. Make form_for use url_for. #739
* Fix issues when combining relative assets and cache buster.
* Support the .yaml extension for data files.
* Handle non-english default languages in i18n. Fixes #584 . #771
* Allow frontmatter to be parsed on templates outside the project root
* Improve detection of binary files. #763
* Add before_render and after_render hooks that can be used by extensions to modify templates before they're rendered or modify the rendered output before it's returned. #761 & #774
* Tightened up dependencies
* Print the command for running middleman in verbose mode with quotes so Bundler doesn't swallow the verbose flag. #750
3.0.11
====
* Mitigate major perf regression caused by the Middleman::Util#binary? method
2013-01-11 20:00:41 -05:00
3.0.10
====
* Avoid looking in binary files for frontmatter. #728
* Allow nested i18n files. #725
* Better adapt to Rack interface. #709
2013-01-13 14:56:53 -05:00
* Add --force-polling flag. #730 , #644
2013-01-11 20:00:41 -05:00
2013-01-08 13:33:19 -05:00
3.0.9
====
* Lock Rack to 1.4.1 until BodyProxy bug is resolved. #709
* Safely de-register Tilt extensions which are missing gems. #713
2013-01-01 22:10:54 -05:00
3.0.8
====
2012-12-30 23:36:06 -05:00
* Directly send binary files in preview and copy them in build, avoiding reading large binary files into memory for rendering. #643 #699
2013-01-01 22:10:54 -05:00
* Make link_to helper ignore QueryString values when looking up Sitemap resources
* Directly copy binary files during build, and stream them during preview, to avoid reading them into memory
* Make sure all paths in Sitemap are using Pathname
2012-12-30 23:36:06 -05:00
2012-12-15 17:59:32 -05:00
3.0.7
====
* Turn html5 boilerplate into a layout
* Fix errors when templates have empty YAML
* Show the hostname when initializing MM
* Fix issues when using Redcarpet inside Slim
* Make automatic_image_sizes avoid SVGs
2012-10-23 16:10:02 -04:00
3.0.6
====
* Make Sitemap more thread-safe.
* Asset-hash fixes in conjunction with Sprockets.
* Proxy improvements.
* Handle directories with a tilde (~) in their path.
* Print better error message which port is already in use.
* Terminal signal improvements, shutsdown correctly when Terminal closed.
2012-09-25 19:30:49 -04:00
* Bundled Normalize.css updated to 2.0.1
2012-10-23 16:10:02 -04:00
* Fixed Encoding extension activation
2012-09-30 16:17:01 -04:00
* Reload i18n on file changes (#616)
2012-07-03 00:42:55 -04:00
2012-09-23 22:00:40 -04:00
3.0.5
====
* Require newer version of listen.
* Handful of sitemap speed improvements.
* Fix previewing of directories with periods in their name.
* Add CLI ability to skip gemfile and bundler init.
* Fix asset_hash when used in conjunction with Rack middleware.
* Fix LiveReload extension issues.
2012-09-13 13:51:16 -04:00
3.0.3-3.0.4
2012-09-13 13:13:57 -04:00
====
* Add reload_paths to server CLI to add additional paths to reload MM on change.
* Re-organize app reloading code, don't need to restart listen every time.
3.0.2
====
* Logger has no such method .warning. Closes #582
2012-09-04 12:48:52 -04:00
3.0.1
2012-09-01 15:21:02 -04:00
====
2012-09-04 12:48:52 -04:00
* HTML5 Boilerplate version 4.0.0
2012-09-01 15:21:02 -04:00
* Use wdm for Windows
2012-08-28 19:08:34 -04:00
* Fix buggy color renaming in built-in CSS minifier. #576
2012-08-16 16:48:34 -04:00
* Fix Sass/Scss filter in Slim templates
2012-08-14 16:47:11 -04:00
* Added SMACSS template
2012-07-29 13:22:57 -04:00
* Give file metadata (such as frontmatter) precedence over path meta. #552
2012-07-25 14:50:56 -04:00
* Add `sass_assets_paths` option for arbitrary sass partial locations.
2012-07-25 14:21:07 -04:00
* Don't catch CoffeeScript errors when in build mode.
2012-07-16 20:24:13 -04:00
* Extract load_paths so they aren't locked into the binary
* Add middleman/rack for better config.ru support
2012-07-15 14:04:45 -04:00
* Use centralized Logger and add benchmark methods
2012-09-04 12:48:52 -04:00
3.0.0
2012-07-03 00:42:55 -04:00
====
* Improve asset methods and link_to by making them more clever and aware of options such as relative_assets and http_prefix
* Refer to --verbose, instead of --debug in CLI error message (#505)
* Cleanup listener setup and teardown
* Update to Padrino 0.10.7 and Thor 0.15 (#495)
* Build output correctly shows update and identical, instead of create for all.
2012-06-19 23:07:50 -04:00
* automatic_directory_matcher (#491)
2012-06-17 17:13:38 -04:00
3.0.0.rc.2
====
* Doing a build now shows identical files (#475)
2013-09-17 02:46:59 -04:00
* asset_hash, minify_javascript, and minify_css can now accept regexes, globs,
2012-06-17 17:13:38 -04:00
and procs (#489, #480 )
* The `link_to` helper can now accept a sitemap Resource as a URL (#474)
* The preview server now correctly listens for changes (#487, #464 )
* HTMLs are now served with a 'utf-8' charset instead of 'utf8' (#478)
* UTF-8 is now the new default encoding for data and templates (#486, #483 )
* New :encoding setting that allows users to change default encoding
* You may now use the `use` method with a block when adding Rack middleware
* Middleman now depends on Listen 0.4.5+ and ActiveSupport 3.2.6+
* Attempt to avoid issues with RVM's default Bundler (#466)
* Fix issue where Middleman won't start with Compass 0.12.2.rc.1 (#469)
3.0.0.rc.1
2011-12-10 14:16:13 -05:00
====
2011-12-29 22:28:49 -05:00
* Split into 3 gems (middleman-core, middleman-more and middleman which simply includes both)
2011-12-10 14:16:13 -05:00
* Rewritten to work directly with Rack (Sinatra apps can still be mounted)
* Sitemap maintains own state
* New Extension Registration API
* Remove old 1.x mm- binaries and messaging
2011-12-22 17:48:23 -05:00
* New default layout functionality: https://github.com/middleman/middleman/issues/165
2011-12-10 14:16:13 -05:00
* Enable chained templates outside of sprockets (file.html.markdown.erb)
* Sitemap object representing the known world
* FileWatcher proxies file change events
* Unified callback solution
2011-12-17 17:02:32 -05:00
* Removed Slim from base install. Will need to be installed and required by the user (in - config.rb)
2011-12-10 14:16:13 -05:00
* Activate mobile html5boilerplate template
2011-12-11 19:02:40 -05:00
* Update to Redcarpet for Markdown (breaks Haml :markdown filter)
2011-12-17 17:02:32 -05:00
* Return correct exit codes (0 for success, 1 for failure) from CLI
2011-12-22 17:48:23 -05:00
* Yard code docs: http://rubydoc.info/github/middleman/middleman
2011-12-21 14:11:38 -05:00
* config.rb and extensions can add command-line commands
2011-12-22 03:42:58 -05:00
* Nested layouts using `wrap_layout` helper
2011-12-23 17:53:03 -05:00
* Support for placekitten.com
2011-12-24 14:30:41 -05:00
* Added MM_ROOT environmental variable
2011-12-25 13:06:45 -05:00
* activating extensions can now take an options hash
2011-12-28 18:29:19 -05:00
* Don't re-minify files with ".min" in their name
* Serve purely static folders directly (without source/ and config.rb)
2012-01-07 20:27:26 -05:00
* Set ignored files and disable directory_indexes from YAML frontmatter
2012-01-15 16:43:26 -05:00
* Automatically load helper modules in helpers/ directory
2012-02-18 13:00:54 -05:00
* Add pid for cleanup
2012-02-25 18:53:23 -05:00
* Use guard/listen for file watching
2012-03-29 06:14:03 -04:00
* Merge full i18n support
2012-04-13 08:48:26 -04:00
* Implied file extensions (style.scss => style.css)
* Padrino 0.10.6
2012-04-17 02:40:41 -04:00
* `middleman init` generates a `Gemfile` by default.
* Errors stop the build and print a stacktrace rather than silently getting printed into files.
* `with_layout` works with globs or regexes.
* Setting `directory_index` from `page` with a glob or regex now works.
* `:gzip` extension for pre-gzipping files for better compression with no server CPU cost.
* `:asset_hash` extension that generates unique-by-content filenames for assets and rewrites references to use those filenames, so you can set far-future expires on your assets.
* Removed the `--relative` CLI option.
* Properly output Compass-generated sprited images.
* Switch built-in CSS compressor to Rainpress.
* Automatically load helper modules from `helpers/` , like Rails.
* `ignore` and `page` both work with file globs or regexes.
* `layout` , `ignore` , and `directory_index` can be set from front matter.
* JavaScript and CSS are minified no matter where they are in the site, including in inline code blocks.
* Files with just a template extension get output with the correct exension (foo.erb => foo.html)
2012-06-28 02:26:08 -04:00
* `link_to` is smart about source paths, and can produce relative URLs with the `:relative` option or the sitewide `:relative_links` setting.
2012-05-24 17:29:29 -04:00
* Include vendored assets in sprockets path.
* Finally support Compass in Sprockets! Thanks to @xdite and @petebrowne
* Moved Sprockets into an extension
2012-06-05 13:24:00 -04:00
* Support loading Less @imports
2011-12-10 14:16:13 -05:00
2.0.14
====
* Minor fix for i18n
2.0.13.2
====
* Update Windows eventmachine dep
2.0.13.1
====
* build --clean shouldn't remove dotfiles
2.0.13
====
* middleman build --clean keeps the build directory clean of leftover files
* Padrino 0.10.5 and Rack 1.3.5
2.0.12
====
* Sinatra 1.3.1 and Padrino 0.10.4
2.0.11
=====
* Lock Padrino and Sinatra versions (for now)
2.0.9
=====
* Added --glob option to build which only builds matching files
* Allow data/ files to be in JSON format as well
* Enabled Liquid {% include %} tag
* RubyInstaller-specific gem
* Allow access to data/ in config.rb
* Add mobile html5boilerplate template
2.0.8
=====
* Support accessing variables and data objects in ERb Sprockets files (library.js.coffee.erb)
* Make :markdown_engine support simple symbol names (:maruku instead of ::Tilt::MarkukuTemplate)
* Update Padrino deps to 0.10.2
* Include therubyracer on *nix
* Enable frontmatter for Liquid templates
2.0.7
=====
* Updated HTML5 Boilerplate to v2
* Make Rails 3.1 javascript gems available to Sprockets
2.0.6
=====
* Pulled out livereload feature into its own extension, still installed by default.
2.0.5
=====
* Vendored Padrino 0.10.0
2.0.4
=====
* Pulled out undocumented remote data feature into its own extension
2.0.3
=====
* Pulled out undocumented Blog feature into its own extension
2.0.2
=====
* Fixed Sprockets circular error
* Added auto-requiring extensions
2.0.0
=====
* Guard-powered auto-reloading of config.rb
* Guard LiveReload
* Sprockets JS
* Refactored Dynamically Reloadable Core
* Combine views/ and public/ into a single source/ folder.
* Support YAML front-matter
* Added callback to run code after Compass is configured
* Added support for a compass.config file which is passed directly to Compass
* Blog-aware Feature (and project template)
* Thor-based, unified `middleman` binary
2012-04-17 02:40:41 -04:00
* :directory_indexes feature