6.4 KiB
Change Log
3.0.0 / 2025-02-09
- Numbered as v3.0.0 because
jekyll_draftwas at v2.1.0 and the two projects should have similar version numbers. Jekyll_all_collectionswas folded into this project.- Now requires Jekyll 4.4.1 or later, and Ruby 3.2.0 or later
1.1.0 / 2025-02-07
-
Now replaces include and layout variables with their values
-
Renamed
@helper.markupto@helper.argument_string -
Improved
nilhandling throughout -
Added the Debug Demo production launch configuration to debug the demo website in production mode
-
Added the
bin/release_portscript that kills hung processes being debugged -
Added the
cleanDemotask for the Debug Demo production and Debug Demo development tasks -
Many minor improvements to the demo.
-
JekyllSupport::JekyllPluginHelper::registernow accepts aquietoption, to suppress the signon message. Use it like this:JekyllPluginHelper.register(self, 'tag_name', quiet: true)
1.0.3 / 2024-08-19
- Still fussing with error handling
1.0.2 / 2024-08-19
-
Computes line_number and path properly
-
Refactored demo CSS
-
Improved custom plugin error handling and sample code. The following seems to be optimal for custom plugins; it suppresses the ridiculously long stack trace that used to be generated:
begin # ... rescue DemoInlineTagError => e # jekyll_plugin_support handles StandardError @logger.error { e.logger_message } exit! 1 if @die_on_demo_tag_error e.html_message end
1.0.1 / 2024-07-27
- Moved
warn_short_trace,maybe_reraise_error,remove_ansi_color,format_error_messageandexit_without_stack_traceintoJekyllSupportError. - Added missing
shared_include.cssandclippy.svgtodemo/. - Fixed missing module name when invoking
format_error_message.
1.0.0 / 2024-07-23
- Added the
redef_without_warningmethod so tag and block plugins can be subclassed. - Put most of the functionality into the
JekyllSupportmodule. - Made tag and block code more consistent
0.8.6 / 2024-06-11
- Fixup version, containing what was supposed to be in v0.8.5
0.8.5 / 2024-03-25
- Empty block tags now return a value. See https://talk.jekyllrb.com/t/empty-liquid-block-not-rendering
0.8.4 / 2024-02-27
- Problem in error handler fixed.
- A warning is logged if an environment variable is undefined and
die_if_undefinedis not set.
0.8.3 / 2024-01-05
- Variables defined in front matter of layouts and pages are now handled.
0.8.2 / 2024-01-03
JekyllSupport::JekyllBlockandJekyllSupport::JekyllTagsubclasses now have automatically created error classes, named after the subclass.- Error class methods have been provided for standardized and convenient error handling:
shorten_backtracelogger_messagehtml_message
- Tags now self-report when registered.
0.8.1 / 2023-12-10
- Added the
JekyllPluginHelper.remove_html_tagsmethod.
0.8.0 / 2023-11-14
- Restructured for better support of Liquid variables.
- Removed redundant class name in error message.
- Improved handling of StandardError.
- Demo site now shows how to define and handle custom errors.
- Added
@tag_configvariable, which can be inspected to determine whether to die on various types of exceptions. - Added
format_error_message,maybe_reraise_error, andraise_errortoJekyllBlockandJekyllTag - Adds a method called
shorten_backtracetoStandardErrorand all custom error classes defined byJekyllSupport.define_error. See thedemo/directory for examples of how to use this optional feature. - The
plugin-varssection in_config.ymlwas renamed toliquid_vars.
0.7.2 / 2023-08-14
- Hopefully takes care of issue #4.
0.7.1 / 2023-08-11
- Suppressed stack trace from issue #4.
- Now using Shopify
ruby-lspinstead ofrebornix.Rubyby Peng Lv - Debug configurations changed to
rdbginstead ofruby, so thedebasedevelopment dependency was changed todebug, which provides therdgbcommand. Theruby-debug-idedevelopment dependency is also no longer required.
0.7.0 / 2023-05-22
- Added
error_short_traceandwarn_short_tracemethods for displaying non-fatal errors on the console.
0.6.2 / 2023-05-15
- Removed annoying blank line output when attribute was invoked.
0.6.1 / 2023-04-12
- Added
CallChain.excerpt_callerto detect if an excerpt is being generated.
0.6.0 / 2023-04-05
- Added attribution support
- Renamed
jekyll_plugin_support_helper.rbtojekyll_plugin_helper.rb. - Now returns
undefinedinstead offalse'when@keys_values.empty?and parameter is not specified.
0.5.3 / 2023-03-19
- Added properties
argv_original,keys_values_original,remaining_markup_original, andparams_original, which are the original values ofargv,keys_values,remaining_markup, andparams, before environment variable expansion.
0.5.2 / 2023-03-17
- Added
@helper.remaining_markuppublic method, which returns remaining markup passed to your tag, after keyword and name/value parsing is complete.- Finally wrote proper
rspectests. - Finally documented argument parsing.
- Fixed bug introduced in v0.5.1 which did not remove elements from
@params.
- Finally wrote proper
0.5.1 / 2023-02-17
no_arg_parsingoptimization added.
0.5.0 / 2023-02-15
- Plugins now register themselves
- Plugins now report their name and version
@layout,@paginator, and@themehave values if supported by the version of Jekyll, and they are active. (See Jekyll docs.)
0.4.1 / 2023-02-14
- Fixed several problems
- Added demo site
0.4.0 / 2023-02-12
-
render_implfor tags and blocks now predefines more instance variables:@liquid_context– passed torender@configJekyll configuration@envsEnvironment variables@mode('development', 'test' or 'production')
0.3.1 / 2023-02-07
JekyllBlock.render_implandJekyllTag.render_implnow define@pageand@site.
0.3.0 / 2023-01-14
- Added support for tags, which should subclass JekyllSupport::JekyllTag
0.2.0 / 2023-01-12
- Refactored
0.1.0 / 2023-01-10
- Initial version; only supports Jekyll block tags