All Versions
49
Latest Version
Avg Release Cycle
84 days
Latest Release
264 days ago
Changelog History
Page 4
Changelog History
Page 4
-
v0.9.2
December 19, 2016 -
v0.9.1 Changes
November 18, 2016π Fixed
- π [Luca Guidi] Ensure JSON body parser to not eval untrusted input
-
v0.9.0 Changes
November 15, 2016β Added
- π¨ [Christophe Philemotte] Introduced
hanami secret
to generate and print a new sessions secret
π Fixed
- [Bruz Marzolf] Skip project code preloading when code reloading is enabled
- [Bruz Marzolf] Ensure to generate project in current directory when running
hanami new .
- [Pascal Betz] Fix constant lookup within the project namespace
- [Sean Collins] Ensure consistent order of code loading across operating systems
- π§ [Luca Guidi] Ensure to load the project configurations only once
- [Luca Guidi] Fix duplicated Rack middleware in single Hanami application stacks
π Changed
- π [Luca Guidi] Official support for Ruby MRI 2.3+
- π [Luca Guidi] Removed support for "application" architecture
- π [Luca Guidi] Removed
Hanami::Container.new
in favor ofHanami.app
- π§ [Luca Guidi] Removed
Hanami::Container.configure
in favor ofHanami.configure
- π§ [Luca Guidi] Configure model and mailer within
Hanami.configure
block inconfig/environment.rb
- π§ [Luca Guidi] Removed
mapping
from model configuration - π [Luca Guidi] Removed
Hanami::Application.preload!
in favor ofHanami.boot
- π [Luca Guidi] Removed experimental code support for
entr(1)
- π§ [Luca Guidi & Sean Collins] Renamed assets configuration
digest
intofingerprint
- π¨ [Christophe Philemotte] Introduced
-
v0.8.0 Changes
July 22, 2016β Added
- π [Luca Guidi] Generate new projects with Subresurce Integrity enabled in production (security).
- π [Luca Guidi] Include
X-XSS-Protection: 1; mode=block
in default response headers (security). - π [Luca Guidi] Include
X-Content-Type-Options: nosniff
in default response headers (security). - π [Trung LΓͺ & Neil Matatall] Added support for Content Security Policy 1.1 and 2.0
- [Andrey Deryabin] Experimental code reloading with
entr(1)
- π² [Anton Davydov] Introduced JSON logging formatter for production environment
- π² [Anton Davydov] Allow to set logging formatters per app and per environment
- π² [Anton Davydov] Allow to set logging levels per app and per environment
- π² [Anton Davydov] Application logging now can log to any stream: standard out, file,
IO
andStringIO
objects. - [Andrey Deryabin] Allow new projects to be generated with
--template
CLI argument (eg.hanami new bookshelf --template=haml
) - [Sean Collins] Add
--version
and-v
forhanami version
CLI
π Fixed
- [Josh Bodah] Ensure consistent CLI messages
- [Andrey Morskov] Ensure consistent user experience and messages for generators
- π [Luca Guidi] Fixed generators for camel case project names
- π [Anton Davydov] Fixed model generator for camel case project names
- [Leonardo Saraiva] Fix
Rakefile
generation to safely ignore missing RSpec in production - [Sean Collins] When generate an action, append routes to route file (instead of prepend)
- π [Sean Collins] When an action is destroyed via CLI, ensure to remove the corresponding route
- β
[Bernardo Farah] Fix
require_relative
paths for nested generated actions and views unit tests - π± [Anton Davydov] If database and assets Rake tasks fails, ensure to exit the process with a non-successful code
- π± [Luca Guidi] remove
Shotgun::Static
in favor ofHanami::Assets::Static
for development/test andHanami::Static
for production - [Alexandr Subbotin] Load initializers in alphabetical order
- [Matt McFarland] Fix server side error when CSRF token is not sent
- [Erol Fornoles] Fix route generations for mounted apps
- [Mahesh] Fix destroy action for application architecture
- π» [Karim Tarek & akhramov] Reference rendering errors in Rack env's
rack.exception
variable. This enables compatibility with exception reporting SaaS. - π± [Luca Guidi] Detect assets dependencies changes in development (Sass/SCSS)
- [Luca Guidi & Lucas Amorim] Make model generator not dependendent on the current directory name, but to the project name stored in
.hanamirc
π Changed
π β [Luca Guidi] Drop support for Ruby 2.0 and 2.1
- [Trung LΓͺ] Database env var is now
DATABASE_URL
(without the project name prefix likeBOOKSHELF_DATABASE_URL
- [Trung LΓͺ]
lib/config/mapping.rb
is no longer generated for new projects and no longer loaded. - [Anton Davydov] New generated projects will depend (in their
Gemfile
) onhanami
tiny version (~> 0.8'
) instead of patch version (0.8.0
) - β
[Andrey Deryabin]
dotenv
is now a soft dependency that will be added to theGemfile
:development
and:test
groups for new generated projects. - [Andrey Deryabin]
shotgun
is now a soft dependency that will be added to theGemfile
:development
group for new generated projects. - [Anton Davydov] New logo in welcome page
- π [Ozawa Sakuro] Remove
require 'rubygems'
from generated code (projects, apps, routes, etc..) - β
[Eric Freese] Disable Ruby warnings in generated
Rakefile
for Minitest/RSpec tasks - 0οΈβ£ [Luca Guidi] Allow views to render any HTTP status code. In actions use
halt(422)
for default status page orself.status = 422
for view rendering.
-
v0.7.3 Changes
May 23, 2016π Fixed
- [Pascal Betz] Use
Shotgun::Static
to serve static files in development mode and avoid to reload the env
- [Pascal Betz] Use
-
v0.7.2 Changes
February 09, 2016π Fixed
- π± [Alfonso Uceda Pompa] Fixed routing issue when static assets server tried to hijiack paths that are matching directories in public directory
-
v0.7.1 Changes
February 05, 2016π Fixed
- π± [Anton Davydov] Fixed routing issue when static assets server tried to hijiack requests belonging to dynamic endpoints
- 0οΈβ£ [Anatolii Didukh] Ensure to fallback to default engine for
hanami console
-
v0.7.0 Changes
January 22, 2016π Changed
- [Luca Guidi] Renamed the project
-
v0.6.1 Changes
January 19, 2016π Fixed
- [Anton Davydov] Show the current app name in Welcome page (eg.
/admin
shows instructions on how to generate an action forAdmin
app) - [Anton Davydov] Fix project creation when name contains dashes (eg.
"awesome-project" => "AwesomeProject"
) - π± [Anton Davydov] Ensure to add assets related entries to
.gitignore
when a project is generated with the--database
flag - [deepj] Avoid blank lines in generated
Gemfile
- [trexnix] Fix for
lotus destroy app
: it doesn't cause a syntax error inconfig/application.rb
anymore - [Serg Ikonnikov & Trung LΓͺ] Ensure console to use the bundled engine
- [Anton Davydov] Show the current app name in Welcome page (eg.
-
v0.6.0 Changes
January 12, 2016β Added
- π§ [Luca Guidi] Introduced configurable assets compressors
- π± [Luca Guidi] Introduced "CDN mode" in order to serve static assets via Content Distribution Networks
- π± [Luca Guidi] Introduced "Digest mode" in production in order to generate and serve assets with checksum suffix
- π± [Luca Guidi] Introduced
lotus assets precompile
command to precompile, minify and append checksum suffix to static assets - π± [Luca Guidi] Send
Content-Cache
HTTP header when serving static assets in production mode - [Luca Guidi] Support new env var
SERVE_STATIC_ASSETS="true"
in order to serve static assets for the entire project - π± [Luca Guidi] Generate new applications by including
Web::Assets::Helpers
inview.prepare
block - [Luca Guidi] Introduced new Rake tasks
:preload
and:environment
- π± [Luca Guidi] Introduced new Rake tasks
db:migrate
andassets:precompile
for Rails/Heroku compatibility - [Tadeu Valentt & Lucas Allan Amorin] Added
lotus destroy
command for apps, models, actions, migrations and mailers - π [Lucas Allan Amorim] Custom initializers (
apps/web/config/initializers
) they are ran when the project is loaded and about to start - [Trung LΓͺ] Generate mailer templates directory for new projects (eg.
lib/bookshelf/mailers/templates
) - [Tadeu Valentt] Alias
--database
as-d
forlotus new
- [Tadeu Valentt] Alias
--arch
as-a
forlotus new
- [Sean Collins] Let
lotus generate action
to guess HTTP method (--method
arg) according to RESTful conventions - 0οΈβ£ [Gonzalo RodrΓguez-BaltanΓ‘s DΓaz] Generate new applications with default favicon
π Fixed
- [Neil Matatall] Use "secure compare" for CSRF tokens in order to prevent timing attacks
- π [Bernardo Farah] Fix support for chunked response body (via
Rack::Chunked::Body
) - [Lucas Allan Amorim] Add
bundler
as a runtime dependency - [Lucas Allan Amorim] Ensure to load properly Bundler dependencies when starting the application
- [Luca Guidi] Ensure sessions to be always available for other middleware in Rack stack of single applications
- [Ken Gullaksen] Ensure to specify
LOTUS_PORT
env var from.env
- [Andrey Deryabin] Fix
lotus new .
and prevent to generate the project in a subdirectory of current one - [Jason Charnes] Validate entity name for model generator
- π [Caius Durling] Fixed generator for nested actions (eg.
lotus generate action web domains/certs#index
) - [Tadeu Valentt] Prevent to generate migrations with the same name
- [Luca Guidi] Ensure RSpec examples to be generated with
RSpec.describe
instead of onlydescribe
- [Andrey Deryabin] Avoid
lotus
command to generate unnecessary.lotusrc
files - [Jason Charnes] Convert camel case application name into snake case when generating actions (eg.
BeautifulBlossoms
tobeautiful_blossoms
) - [Alfonso Uceda Pompa] Convert dasherized names into underscored names when generating projects (eg.
awesome-project
toawesome_project
)
π Changed
- [Sean Collins] Welcome page shows current year in copyright notes
- π± [Luca Guidi] Add
/public/assets*
to.gitignore
of new projects - 0οΈβ£ [Luca Guidi] Removed support for
default_format
in favor ofdefault_request_format
- π± [Luca Guidi] Removed support for
apps/web/public
in favor ofapps/web/assets
as assets sources for applications - π± [Luca Guidi] Removed support for
serve_assets
for single applications in order to global static assets server enabled viaSERVE_STATIC_ASSETS
env var - π§ [Luca Guidi]
assets
configuration inapps/web/application.rb
now accepts a block to configure sources and other settings