diff --git a/Drawsana.podspec b/Drawsana.podspec index 530ab1d..09a3c5b 100644 --- a/Drawsana.podspec +++ b/Drawsana.podspec @@ -1,15 +1,15 @@ Pod::Spec.new do |spec| spec.name = 'Drawsana' - spec.version = '0.11.0' + spec.version = '0.12.0' spec.license = { :type => 'MIT' } spec.homepage = 'https://asana.github.io/Drawsana' spec.documentation_url = 'https://asana.github.io/Drawsana' spec.authors = { 'Steve Landey' => 'stevelandey@asana.com' } spec.summary = 'Let your users mark up images with freehand drawings, shapes, and text' - spec.source = { :git => 'https://github.com/asana/Drawsana.git', :tag => '0.11.0' } + spec.source = { :git => 'https://github.com/asana/Drawsana.git', :tag => '0.12.0' } spec.source_files = 'Drawsana/**/*.swift' - spec.platform = :ios, '9.0' + spec.platform = :ios, '11.0' spec.swift_version = '5.2' end diff --git a/Drawsana/DrawsanaView.swift b/Drawsana/DrawsanaView.swift index 1309c2a..1ee721f 100644 --- a/Drawsana/DrawsanaView.swift +++ b/Drawsana/DrawsanaView.swift @@ -8,7 +8,7 @@ import UIKit -public let DRAWSANA_VERSION = "0.11.0" +public let DRAWSANA_VERSION = "0.12.0" /// Set yourself as the `DrawsanaView`'s delegate to be notified when the active /// tool changes. diff --git a/Readme.md b/Readme.md index f096db1..a61b22a 100644 --- a/Readme.md +++ b/Readme.md @@ -1,4 +1,4 @@ -# Drawsana 0.11.0 +# Drawsana 0.12.0 Drawsana is a generalized framework for making freehand drawing views on iOS. You can let users scribble over images, add shapes and text, and even make your own tools. @@ -32,7 +32,7 @@ Add `Asana/Drawsana` to your Cartfile and update your project like you would for Carthage framework, or clone the source code and add the project to your workspace. ``` -github "Asana/Drawsana" == 0.11.0 +github "Asana/Drawsana" == 0.12.0 ``` ## Usage @@ -95,6 +95,17 @@ open https://asana.github.io/Drawsana ## Changelog +### 0.12.0 +* Undo operations are now accessible outside the framework to enable you to make undoable changes with your own UI. + - `AddShapeOperation` + - `RemoveShapeOperation` + - `ChangeTransformOperation` + - `EditTextOperation` + - `ChangeExplicitWidthOperation` +* Fix drawing view not being redrawn after being resized. +* Fix bugs related to color serialization. +* Fix bugs related to text entry. + ### 0.11.0 * `DrawingOperationStack.clearRedoStack()` clears all redo operations from the