Skip to content

Commit

Permalink
release v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dandc87 committed Jun 17, 2015
1 parent aff2abd commit d210135
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Change Log
==========

Version 0.5.0 *(2015-06-17)*
----------------------------

* Change: There are several factory methods on `CalendarDay` which should be used in place of the now deprecated constructors
* Bugfix: You can now clear the selected date. Either by passing null or calling `clearSelection()`
* New: You can now supply a custom `DayFormatter` to format day labels.

Version 0.4.0 *(2015-05-18)*
----------------------------

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ and feel, rather than 100% parity with the platform's implementation.
Usage
-----

1. Add `compile 'com.prolificinteractive:material-calendarview:0.4.0'` to your dependencies.
1. Add `compile 'com.prolificinteractive:material-calendarview:0.5.0'` to your dependencies.
2. Add `MaterialCalendarView` into your layouts or view hierarchy.
3. Set a `OnDateChangedListener` or call `MaterialCalendarView.getSelectedDate()` when you need it.

Expand Down Expand Up @@ -86,7 +86,7 @@ When implementing a `DayViewDecorator`, make sure that they are as efficent as p
Remember that `shouldDecorate()` needs to be called 42 times for each month view.
An easy way to be more efficent is to convert your data to `CalendarDay`s outside of `shouldDecorate()`.

#### Migrating from 0.3 to 0.4
#### Migrating from 0.3.x

To make decorating more efficent, the following changes were made to `DayViewFacade`:

Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
# org.gradle.parallel=true

GROUP=com.prolificinteractive
VERSION_NAME=0.4.0
VERSION_CODE=4
VERSION_NAME=0.5.0
VERSION_CODE=5

POM_PACKAGING=aar
POM_NAME=Material CalendarView
POM_ARTIFACT_ID=material-calendarview
POM_URL=https://github.com/prolificinteractive/material-calendarview
POM_DESCRIPTION=A Material-looking Android CalendarView
POM_DESCRIPTION=A Material design back port of Android's CalendarView
POM_SCM_URL=https://github.com/prolificinteractive/material-calendarview
POM_SCM_CONNECTION=scm:git@github.com:prolificinteractive/material-calendarview.git
POM_SCM_DEV_CONNECTION=scm:git@github.com:prolificinteractive/material-calendarview.git
Expand Down
2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies {
// You should use the commented out line below in you're application.
// We depend on the source directly here so that development is easier.
compile project(':library')
//compile 'com.prolificinteractive:material-calendarview:0.4.0'
//compile 'com.prolificinteractive:material-calendarview:0.5.0'

compile 'com.android.support:appcompat-v7:22.2.0'
compile 'com.android.support:recyclerview-v7:22.2.0'
Expand Down

0 comments on commit d210135

Please sign in to comment.