Skip to content

Commit

Permalink
Announcing Hanami v1.0.0.rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
jodosha committed Mar 31, 2017
1 parent dddca54 commit 9f3fa60
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config.rb
Expand Up @@ -211,7 +211,11 @@ def encode_text(text)
end

def hanami_version
'1.0.0.beta3'
'1.0.0.rc1'
end

def hanami_release_date
Date.parse("2017-03-31").strftime("%B %-d, %Y")
end
end

Expand Down
60 changes: 60 additions & 0 deletions source/blog/2017-03-31-announcing-hanami-100rc1.html.markdown
@@ -0,0 +1,60 @@
---
title: Announcing Hanami v1.0.0.rc1
date: 2017-03-31 08:21 UTC
tags: announcements
author: Luca Guidi
image: true
excerpt: >
Small fixes and enhancements leading up to the stable v1.0.0 version
---

## Minor Changes

`v1.0.0.rc1` is a patch release for few bug fixes and small changes:

- Let `Hanami::Mailer.deliver` to bubble up `ArgumentError` exceptions
- Allow `logger` setting in `config/environment.rb` to accept arbitrary arguments to make `Hanami::Logger` to be compatible with Ruby's `Logger`. (eg. `logger 'daily', level: :info`)
- Ensure code reloading don't misconfigure mailer settings (regression from `v1.0.0.beta3`)
- Ensure database disconnection to happen in the same thread of `Hanami.boot`
- Ensure `mailer` block in `config/environment.rb` to be evaluated multiple times, according to the current Hanami environment
- Ensure a Hanami project to require only once the code under `lib/`

## Released Gems

* `hanami-1.0.0.rc1`
* `hanami-model-1.0.0.rc1`
* `hanami-utils-1.0.0.rc1`
* `hanami-validations-1.0.0.rc1`
* `hanami-router-1.0.0.rc1`
* `hanami-controller-1.0.0.rc1`
* `hanami-view-1.0.0.rc1`
* `hanami-helpers-1.0.0.rc1`
* `hanami-mailer-1.0.0.rc1`
* `hanami-assets-1.0.0.rc1`

## Contributors

We're grateful for each person who contributed to this release. These lovely people are:

* [Alfonso Uceda](https://github.com/AlfonsoUceda)
* [Anton Davydov](https://github.com/davydovanton)
* [Marcello Rocha](https://github.com/mereghost)
* [Marion Duprey](https://github.com/TiteiKo)
* [Marion Schleifer](https://github.com/marionschleifer)
* [Oana Sipos](https://github.com/oana-sipos)
* [Sean Collins](https://github.com/cllns)

## How To Update Your Project

Edit your `Gemfile`:

```ruby
gem 'hanami', '1.0.0.rc1'
gem 'hanami-model', '1.0.0.rc1'
```

Then run `bundle update hanami hanami-model`.

## What's Next?

The final stable release (`v1.0.0`) will happen at the beginning of April 2017, which coincides with the [Hanami season in Japan](http://www.japan-guide.com/sakura/). 🌸
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions source/layouts/home.erb
Expand Up @@ -13,6 +13,8 @@
<div class="app-block-cta">
<a href="#install" class="btn btn-primary m-t">Install v<%= hanami_version %></a>
<a href="/guides/getting-started" target="_blank" class="btn btn-default btn-outline m-t">Getting Started</a>
<br>
<em class="hanami-release-date">Released on <%= hanami_release_date %></em>
</div>
<img src="/images/home-background.jpg">
</div>
Expand Down
5 changes: 5 additions & 0 deletions source/stylesheets/application-minimal.css
Expand Up @@ -244,3 +244,8 @@ table.status td {
.gitter-chat-embed {
z-index: 1000;
}

.hanami-release-date {
font-weight: 200;
color: #777;
}

0 comments on commit 9f3fa60

Please sign in to comment.