Releases: acro5piano/react-native-big-calendar
Releases · acro5piano/react-native-big-calendar
v3.2.1
v3.2.0
What's Changed
- Add showAdjacentMonths to README by @CptMaumau in #642
- More label by @CptMaumau in #643
- Update deps by @dependabot
v3.1.1
v3.1.0
What's Changed
- add onPressDateHeader for month view by @CptMaumau in #638
- Show adjacent months dates on month view by @CptMaumau in #639
Full Changelog: v3.0.1...v3.1.0
v3.0.1
v3.0.0
New Feataures
- add support to style calendar cells based on cell date #610
Breaking changes ⚠️
- Deleted deprecated interfaces. Instead, use
ICalendarEventBase & T
ICalendarEvent<T>
DayJSConvertedEvent
Event
evenCellBg
andoddCellBg
is deleted in favor ofcalendarCellStyle
function. To migrate:
Before
<Calendar theme={{ evenCellBg: '#aaa', oddCellBg: '#bbb' }} />
After
<Calendar
calendarCellStyle={(date, index) => ({
backgroundColor: index % 2 === 0 ? "#aaa" : "#bbb",
})}
/>
Full Changelog: v2.9.1...v3.0.0
v2.9.1
v2.9.0
Bugfixes
- show All day events on the month view by @acro5piano in #576
- set onPressEvent handler to all day events by @acro5piano in #576
Breaking change ⚠️
ICalendarEvent
has been deprecated. To do convert this, please rewrite like this:
Before:
import { ICalendarEvent } from 'react-native-big-calendar'
type MyEvent = ICalendarEvent<{ color: string }>
import { ICalendarEventBase } from 'react-native-big-calendar'
type MyEvent = ICalendarEvent & { color: string }
Full Changelog: v2.8.0...v2.9.0
v2.8.0
What's Changed
- add an option to hide allDayEvent cell by @titanve in #571
- Bump eslint-plugin-import from 2.23.4 to 2.25.3 by @dependabot in #559
- Bump @types/node from 16.11.6 to 16.11.12 by @dependabot in #570
Full Changelog: v2.7.0...v2.8.0
v2.7.0
New Features
- Update package.json for issue 568 by @lorenzogatti in #569
- Add stying for the Hours by @titanve in #567
New Contributors
- @lorenzogatti made their first contribution in #569
Chore
- Bump lint-staged from 11.2.6 to 12.1.2 by @dependabot in #561
- Bump eslint-plugin-react-hooks from 4.2.0 to 4.3.0 by @dependabot in #556
- Bump prettier from 2.4.1 to 2.5.1 by @dependabot in #566
- Bump eslint-plugin-react from 7.26.1 to 7.27.1 by @dependabot in #562
- Bump @types/jest from 27.0.2 to 27.0.3 by @dependabot in #558
- Bump typescript from 4.4.3 to 4.5.2 by @dependabot in #557
- Bump merge-anything from 4.0.1 to 4.0.2 by @dependabot in #554