When running the latest version of phlex-markdown with the latest version of phlex, then there is the following deprecation warning output:
⚠️ [DEPRECATION] Defining the `template` method on a Phlex component will not be supported in Phlex 2.0. Please rename the method to `view_template` instead.
I am happy to open a PR to fix the issue but would need some guideline on how you would like to handle updating the method name and handling compatibility between the new version of phlex-markdown and different versions of phlex. Just change the dependency in phlex-markdown.gemspec to spec.add_dependency "phlex", ">= 1.10"?
When running the latest version of
phlex-markdown
with the latest version ofphlex
, then there is the following deprecation warning output:Because
phlex-markdown
still uses the deprecatedtemplate
method name at https://github.com/phlex-ruby/phlex-markdown/blob/ee1e2763fc842563577003a269982cfc4ac79006/lib/phlex/markdown.rb#L12I am happy to open a PR to fix the issue but would need some guideline on how you would like to handle updating the method name and handling compatibility between the new version of
phlex-markdown
and different versions ofphlex
. Just change the dependency inphlex-markdown.gemspec
tospec.add_dependency "phlex", ">= 1.10"
?