Prepare 4.2.1 release
This commit is contained in:
		
							parent
							
								
									ef97b0bc25
								
							
						
					
					
						commit
						34f71f13d2
					
				| @ -1,6 +1,6 @@ | ||||
| # Changelog | ||||
| 
 | ||||
| # 4.2.1-SNAPSHOT | ||||
| # 4.2.1 | ||||
| * Fix SpannableBuilder `subSequence` method | ||||
| * Introduce Nougat check in `BulletListItemSpan` to position bullet (for bullets to be | ||||
| positioned correctly when nested inside other `LeadingMarginSpan`s)   | ||||
|  | ||||
| @ -8,7 +8,7 @@ android.enableJetifier=true | ||||
| android.enableBuildCache=true | ||||
| android.buildCacheDir=build/pre-dex-cache | ||||
| 
 | ||||
| VERSION_NAME=4.2.1-SNAPSHOT | ||||
| VERSION_NAME=4.2.1 | ||||
| 
 | ||||
| GROUP=io.noties.markwon | ||||
| POM_DESCRIPTION=Markwon markdown for Android | ||||
|  | ||||
| @ -74,7 +74,7 @@ public class BulletListItemSpan implements LeadingMarginSpan { | ||||
|             final int l; | ||||
|             final int r; | ||||
|             { | ||||
|                 // @since 4.2.1-SNAPSHOT to correctly position bullet | ||||
|                 // @since 4.2.1 to correctly position bullet | ||||
|                 // when nested inside other LeadingMarginSpans (sorry, Nougat) | ||||
|                 if (IS_NOUGAT) { | ||||
| 
 | ||||
|  | ||||
| @ -73,7 +73,7 @@ public class AsyncDrawable extends Drawable { | ||||
|     /** | ||||
|      * @see #hasKnownDimensions() | ||||
|      * @since 4.0.0 | ||||
|      * @deprecated 4.2.1-SNAPSHOT | ||||
|      * @deprecated 4.2.1 | ||||
|      */ | ||||
|     @SuppressWarnings({"unused", "WeakerAccess"}) | ||||
|     @Deprecated | ||||
| @ -82,7 +82,7 @@ public class AsyncDrawable extends Drawable { | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|      * @since 4.2.1-SNAPSHOT | ||||
|      * @since 4.2.1 | ||||
|      */ | ||||
|     @SuppressWarnings({"unused", "WeakerAccess"}) | ||||
|     public boolean hasKnownDimensions() { | ||||
| @ -123,7 +123,7 @@ public class AsyncDrawable extends Drawable { | ||||
|     @SuppressWarnings("WeakerAccess") | ||||
|     public void setCallback2(@Nullable Callback cb) { | ||||
| 
 | ||||
|         // @since 4.2.1-SNAPSHOT | ||||
|         // @since 4.2.1 | ||||
|         //  wrap callback so invalidation happens to this AsyncDrawable instance | ||||
|         //  and not for wrapped result/placeholder | ||||
|         this.callback = cb == null | ||||
| @ -233,7 +233,7 @@ public class AsyncDrawable extends Drawable { | ||||
| 
 | ||||
|         final Rect bounds = resolveBounds(); | ||||
|         result.setBounds(bounds); | ||||
|         // @since 4.2.1-SNAPSHOT, we set callback after bounds are resolved | ||||
|         // @since 4.2.1, we set callback after bounds are resolved | ||||
|         //  to reduce number of invalidations | ||||
|         result.setCallback(callback); | ||||
| 
 | ||||
| @ -333,7 +333,7 @@ public class AsyncDrawable extends Drawable { | ||||
|                 '}'; | ||||
|     } | ||||
| 
 | ||||
|     // @since 4.2.1-SNAPSHOT | ||||
|     // @since 4.2.1 | ||||
|     //  Wrapped callback to trigger invalidation for this AsyncDrawable instance (and not result/placeholder) | ||||
|     private class WrappedCallback implements Callback { | ||||
| 
 | ||||
|  | ||||
| @ -42,7 +42,7 @@ public class AsyncDrawableSpan extends ReplacementSpan { | ||||
|         this.alignment = alignment; | ||||
|         this.replacementTextIsLink = replacementTextIsLink; | ||||
| 
 | ||||
|         // @since 4.2.1-SNAPSHOT we do not set intrinsic bounds | ||||
|         // @since 4.2.1 we do not set intrinsic bounds | ||||
|         //  at this point they will always be 0,0-1,1, but this | ||||
|         //  will trigger another invalidation when we will have bounds | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dimitry Ivanov
						Dimitry Ivanov