Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: restored changelog #44

Merged
merged 3 commits into from
Apr 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
135 changes: 133 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.10.0+1

- **DOCS**: fixed demo image.

## 0.10.0

> Note: This release has breaking changes.
Expand All @@ -23,6 +27,133 @@
- **BREAKING** **REFACTOR**: made `GestureCatcherRecognizer` private.
- **BREAKING** **REFACTOR**: `ScribbleNotifier` is now a `ValueNotifier`.

# 0.1.0+1
## 0.9.1
- removed erroneous `simulatePressure`
## 0.9.0
- Use `perfect_freehand` for much smoother lines (thanks to @mattrussell-sonocent)
- BREAKING: Removed line customization parameters from widgets

## 0.4.0
- Upgraded dependencies (thanks to @wxxedu)
- ``ScribbleNotifier.clear()`` clears the drawing without resetting anything else (color, width e.t.c)

## 0.3.0
- Upgraded dependencies
- Added ``ScribbleSketch`` widget for just displaying a sketch without input functionality, no notifier needed!
## 0.2.2
- Upgraded dependencies

## 0.2.1
- Updated README to include the newest features
- Downgraded json_serializable due to a bug with freezed

## 0.2.0
#### BREAKING:
- Custom ScribbleNotifiers now need to provide a GlobalKey which is used in the renderImage() method to access Scribble's
RepaintBoundary
- Updated example to demonstrate image export.

#### Image Export:
- You can now export the Scribble to an Image ```ByteData``` using the ScribbleNotifiers ``renderImage()`` method!

#### Other Changes:
- The pressure on web is overridden so the cursor matches the selected pen width!
- ``ScribbleNotifier`` now extends ``ScribbleNotifierBase`` instead of implementing it as an interface.
- Updated dependencies

## 0.1.3
#### Filter for Pointers:
You can now switch between different ``ScribblePointerMode``s, even at runtime.

This is very helpful for example, if Scribble lives inside a Scrollable and you want users to be able to navigate with their finger while drawing with their pen.

Check the updated example to try it out!

#### Other Changes:
* ``ScribbleNotifier`` now has the option to set the sketch from outside after it has been constructed using the ``setSketch()`` method. You can even choose whether you want it to be committed to the undo history.
* Added documentation to ``ScribbleState``
* Updated example
* Updated dependencies

## 0.1.2

* Removed the speed calculation using time due to precision issues

## 0.1.1
* Added scaleFactor to support zoomable canvases. This allows you to for example wrap the Scribble Widget in an
InteractiveViewer, so that users can draw finer details.

## 0.1.0

* Points now remember their time to calculate speed more accurately
* Multiple fixes for drawing with real pens or touch
* ``ScribbleState`` can now be serialized to JSON

### Breaking:

* speedFactor's value should now be higher for the same effect, the default value has changed to 0.4
* ``color`` property in state is now an int to allow for easy JSON
## 0.0.13

* Draw better line ends
* Removed marker-like blend mode for now due to performance and buggy rendering in some cases

## 0.0.12

* Eraser keeps pen width and the other way around

## 0.0.11

* Eraser doesn't autoselect anymore
* Undo doesn't undo color and stroke selection

## 0.0.10

* Fixed stupid bug with pointer exit

## 0.0.9

* Better behavior on pointer exit

## 0.0.8

* Reduced Dependencies
* Replaced kimchi package with the better suited [history_state_notifier](https://pub.dev/packages/history_state_notifier)
* Fixed a bug with redo queue clearing

## 0.0.7

* **BREAKING:** The ``drawPointer`` parameter is now called ``drawPen``
* You can now obtain the current sketch from the notifier.
If you want to store it somewhere for example you can call ```toJson()``` on it.
* You can now pass a sketch to a ``ScribbleNotifier`` constructor to initialize it with an existing
drawing.
* Added ``ScribbleNotifierBase`` interface so you can write your own notifier that works with the ``Scribble``widget
* Added pressure curve support to the notifier
* Allows more customization in the scribble widget for how the lines are rendered


## 0.0.6

* Upped minimum flutter version to 2.5

## 0.0.5

* Back to flutter 2.2.3

## 0.0.4

* Upped minimum flutter version to 2.3

## 0.0.3

* meta dependency to hopefully work with analysis

## 0.0.2

* Added documentation
* Fixed dependencies

## 0.0.1

- feat: initial commit 🎉
* Initial release
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Scribble is a lightweight library for freehand drawing in Flutter supporting pressure, variable line width and more!

![Scribble Demo](./scribble_demo.gif)
![Scribble Demo](https://raw.githubusercontent.com/timcreatedit/scribble/main/scribble_demo.gif)

## Installation 💻

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: scribble
description: Scribble is a lightweight library for freehand drawing in Flutter
supporting pressure, variable line width and more!
version: 0.10.0
version: 0.10.0+1
repository: https://github.com/timcreatedit/scribble
issue_tracker: https://github.com/timcreatedit/scribble/issues

Expand Down