Prepare 4.2.2 release
This commit is contained in:
parent
976dfa3162
commit
39370707ee
@ -1,6 +1,6 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
# 4.2.2-SNAPSHOT
|
# 4.2.2
|
||||||
* Fixed `AsyncDrawable` display when it has placeholder with empty bounds ([#189])
|
* Fixed `AsyncDrawable` display when it has placeholder with empty bounds ([#189])
|
||||||
* Fixed `syntax-highlight` where code input is empty string ([#192])
|
* Fixed `syntax-highlight` where code input is empty string ([#192])
|
||||||
* Add `appendFactory`/`prependFactory` in `MarkwonSpansFactory.Builder` for more explicit `SpanFactory` ordering ([#193])
|
* Add `appendFactory`/`prependFactory` in `MarkwonSpansFactory.Builder` for more explicit `SpanFactory` ordering ([#193])
|
||||||
|
@ -8,7 +8,7 @@ android.enableJetifier=true
|
|||||||
android.enableBuildCache=true
|
android.enableBuildCache=true
|
||||||
android.buildCacheDir=build/pre-dex-cache
|
android.buildCacheDir=build/pre-dex-cache
|
||||||
|
|
||||||
VERSION_NAME=4.2.2-SNAPSHOT
|
VERSION_NAME=4.2.2
|
||||||
|
|
||||||
GROUP=io.noties.markwon
|
GROUP=io.noties.markwon
|
||||||
POM_DESCRIPTION=Markwon markdown for Android
|
POM_DESCRIPTION=Markwon markdown for Android
|
||||||
|
@ -39,7 +39,7 @@ public interface MarkwonSpansFactory {
|
|||||||
* {@link SpanFactory} with the specified one.
|
* {@link SpanFactory} with the specified one.
|
||||||
*
|
*
|
||||||
* @since 3.0.1
|
* @since 3.0.1
|
||||||
* @deprecated 4.2.2-SNAPSHOT consider using {@link #appendFactory(Class, SpanFactory)} or
|
* @deprecated 4.2.2 consider using {@link #appendFactory(Class, SpanFactory)} or
|
||||||
* {@link #prependFactory(Class, SpanFactory)} methods for more explicit factory ordering.
|
* {@link #prependFactory(Class, SpanFactory)} methods for more explicit factory ordering.
|
||||||
* `addFactory` behaved like {@link #prependFactory(Class, SpanFactory)}, so
|
* `addFactory` behaved like {@link #prependFactory(Class, SpanFactory)}, so
|
||||||
* this method call can be replaced with it
|
* this method call can be replaced with it
|
||||||
@ -53,7 +53,7 @@ public interface MarkwonSpansFactory {
|
|||||||
* will be called <strong>after</strong> original (if present) factory. Can be used to
|
* will be called <strong>after</strong> original (if present) factory. Can be used to
|
||||||
* <em>change</em> behavior or original span factory.
|
* <em>change</em> behavior or original span factory.
|
||||||
*
|
*
|
||||||
* @since 4.2.2-SNAPSHOT
|
* @since 4.2.2
|
||||||
*/
|
*/
|
||||||
@NonNull
|
@NonNull
|
||||||
<N extends Node> Builder appendFactory(@NonNull Class<N> node, @NonNull SpanFactory factory);
|
<N extends Node> Builder appendFactory(@NonNull Class<N> node, @NonNull SpanFactory factory);
|
||||||
@ -62,7 +62,7 @@ public interface MarkwonSpansFactory {
|
|||||||
* Prepend a factory to existing one (or make the first one for specified node). Specified factory
|
* Prepend a factory to existing one (or make the first one for specified node). Specified factory
|
||||||
* will be called <string>before</string> original (if present) factory.
|
* will be called <string>before</string> original (if present) factory.
|
||||||
*
|
*
|
||||||
* @since 4.2.2-SNAPSHOT
|
* @since 4.2.2
|
||||||
*/
|
*/
|
||||||
@NonNull
|
@NonNull
|
||||||
<N extends Node> Builder prependFactory(@NonNull Class<N> node, @NonNull SpanFactory factory);
|
<N extends Node> Builder prependFactory(@NonNull Class<N> node, @NonNull SpanFactory factory);
|
||||||
|
@ -194,7 +194,7 @@ public class AsyncDrawable extends Drawable {
|
|||||||
|
|
||||||
// it is very important (if we have a placeholder) to set own bounds to it (and they must not be empty
|
// it is very important (if we have a placeholder) to set own bounds to it (and they must not be empty
|
||||||
// otherwise result won't be rendered)
|
// otherwise result won't be rendered)
|
||||||
// @since 4.2.2-SNAPSHOT
|
// @since 4.2.2
|
||||||
setBounds(placeholder.getBounds());
|
setBounds(placeholder.getBounds());
|
||||||
setResult(placeholder);
|
setResult(placeholder);
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ public class Prism4jSyntaxHighlight implements SyntaxHighlight {
|
|||||||
@Override
|
@Override
|
||||||
public CharSequence highlight(@Nullable String info, @NonNull String code) {
|
public CharSequence highlight(@Nullable String info, @NonNull String code) {
|
||||||
|
|
||||||
// @since 4.2.2-SNAPSHOT
|
// @since 4.2.2
|
||||||
// although not null, but still is empty
|
// although not null, but still is empty
|
||||||
if (code.isEmpty()) {
|
if (code.isEmpty()) {
|
||||||
return code;
|
return code;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user