Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
release 0.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
drewfish committed Nov 30, 2016
1 parent 1c4dcb9 commit 52b6472
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
26 changes: 17 additions & 9 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ Bug Fixes
Acknowledgements
----------------

version 0.8.4
=================

Features
--------

* Updated `err.errno` to `err.code` to support more versions of node.js

version 0.8.3
=================

Expand Down Expand Up @@ -58,26 +66,26 @@ version 0.8.0
Notes
-----

* **!IMPORTANT!** This release contains a notable backward-incompatible change.
* **!IMPORTANT!** This release contains a notable backward-incompatible change.
See "Deprecations, Removals" below.

Deprecations, Removals
----------------------

* **!Backwards-Incompatible Change!** Getting model instance by passing model
* **!Backwards-Incompatible Change!** Getting model instance by passing model
YUI module name to `ac.models.get` has been removed.
* Cleanup: The `archetypes` directory containing boilerplate template code has been
removed from the `mojito` package because the template code is located
* Cleanup: The `archetypes` directory containing boilerplate template code has been
removed from the `mojito` package because the template code is located
in [mojito-cli-create](https://github.com/yahoo/mojito-cli-create).

Features
--------

* Contextualized model support is added:
ac.models.get(modelName) will take the model's logical name (filename minus
the affinity and context parts) and return contextualized model instance.
ac.models.get(modelName) will take the model's logical name (filename minus
the affinity and context parts) and return contextualized model instance.

For example:
For example:
Different model files can be provided for different context settings under models directory:
.../models/
mymodel.common.iphone.js
Expand All @@ -90,7 +98,7 @@ Bug Fixes

* Issue #1251: easy way to get contextualized models
* PR #1264: better output handler response header check
* PR #1270: removed `archetypes` directory and boilerplate template code for apps/mojits.
* PR #1270: removed `archetypes` directory and boilerplate template code for apps/mojits.
* PR #1278: added middleware and updated app configs so that apps can use mocked models.

Acknowledgements
Expand All @@ -105,7 +113,7 @@ version 0.7.5
Bug Fixes
---------

* Issue #1215: [regression] lang collection in metas is missing for controller
* Issue #1215: [regression] lang collection in metas is missing for controller
* Issue #1238 Lower Resource Store log messages for duplicate resources from
"info" to "debug"

Expand Down
2 changes: 1 addition & 1 deletion lib/app/addons/rs/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ YUI.add('addon-rs-config', function(Y, NAME) {
throw new Error(parseErr);
}
} catch (err) {
if (err.errno !== 34) { // if the error was not "no such file or directory" report it
if (err.code !== 'ENOENT') { // if the error was not "no such file or directory" report it
throw new Error("Error parsing file: " + fullPath + "\n" + err);
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mojito",
"version": "0.8.3",
"version": "0.8.4",
"description": "Mojito provides an architecture, components and tools for developers to build complex web applications faster.",
"author": "Drew Folta <folta@yahoo-inc.com>",
"contributors": [
Expand Down

0 comments on commit 52b6472

Please sign in to comment.