Releases: acro5piano/react-native-big-calendar
Releases · acro5piano/react-native-big-calendar
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
v2.6.0
v2.5.0
What's Changed
- Bump react-native from 0.66.2 to 0.66.3 by @dependabot in #551
- Add rows background Color by @titanve in #548
New Contributors
Full Changelog: v2.4.0...v2.5.0
v2.4.0
v2.3.0
What's Changed
- Bump dayjs from 1.10.6 to 1.10.7 by @dependabot in #535
- Bump @rollup/plugin-typescript from 8.2.5 to 8.3.0 by @dependabot in #536
- Bump lint-staged from 11.1.2 to 11.2.6 by @dependabot in #538
- Bump @types/jest from 27.0.1 to 27.0.2 by @dependabot in #539
- Bump @typescript-eslint/eslint-plugin from 4.28.5 to 4.33.0 by @dependabot in #541
- Bump simple-git-hooks from 2.6.1 to 2.7.0 by @dependabot in #543
- Bump react-native from 0.64.2 to 0.66.1 by @dependabot in #542
- add active date props to header by @kbwo in #544
New Contributors
Full Changelog: v2.2.0...v2.3.0