Packages

Library for using Calendar with Ecto. Made for Ecto version older than 2.1. This lets you save Calendar types in Ecto and work with date-times in multiple timezones.

Current section

Files

Jump to
calecto CHANGELOG.md
Raw

CHANGELOG.md

# Changelog for Calecto
## [0.3.6] - 2015-07-13
### Changed
- Added compatibility with Calendar 0.8.0
### Fixed
- add_type_migration mix task had wrong file name (started with kalecto)
## [0.3.5] - 2015-07-08
### Changed
- Added compatibility with Calendar 0.7.0
## [0.3.4] - 2015-05-18
### Changed
- Changed name from Kalecto to Calecto
- Uses Calendar library instead of Kalends
## [0.3.3] - 2015-05-17
### Fixed
- Fixed: `use Calecto.Model` would not work on versions 0.10 and higher
### Added
`usec: true` option can now be added to `use Calecto.Model`.
Like this: `use Calecto.Model, usec: true`
This enables microseconds in inserted_at/updated_at timestamps.
### Changed
- No longer compatible with version 0.9.x
## [0.3.2] - 2015-05-16
### Changed
Allow higher versions of Ecto. Can now be used with
Ecto 0.9.x or higher 0.x versions.
## [0.3.1] - 2015-04-29
### Changed
Change in Ecto.Model:
Ecto.Model does no longer call `use Calecto.Model`.
### Upgrade instructions from 0.2.x
In case you have `use Calecto.Model` and do not have
`use Ecto.Model` in the same module, you should add
`use Ecto.Model` so that both are present. Example:
```elixir
defmodule Weather do
use Ecto.Model
use Calecto.Model
schema "weather" do
field :city, :string
timestamps
end
end
```
## [0.2.2] - 2015-04-03
### Changed
- Corrected primitive type in Calecto.DateTime to :calendar_datetime
- Updated Calendar version to 0.6.2
- Support Ecto ~> 0.10.1
## [0.2.1] - 2015-03-19
### Added
Calecto.DateTime cast function.
## [0.2.0] - 2015-03-18
### Added
Calecto.DateTime added. The use of this type requires a composite
Postgres type, which can be added with a migration.
## [0.1.2] - 2015-03-16
### Added
Calecto.Model added with "use macro" that default timestamps to
Calecto.DateTimeUTC.
## [0.1.1] - 2015-03-13
### Changed
DateTimeUTC loading made faster.
## [0.1.0] - 2015-03-08
### Changed
Supports Ecto 0.9.0. No longer supports Ecto 0.8.x.
### Added
Support for microseconds.