Release 0.9.0
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by visionmedia · committed by visionmedia · parent 0fef51b · Browse files · 5 files·+83 added−13 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
5 files+83 added−13 removed
- other:+83 added−13 removed
Provenance
- Commit
1255331- Tree
b8b3c4b- Author
visionmedia <tj@vision-media.ca>- Committer
visionmedia <tj@vision-media.ca>- Parent
0fef51b
5 files changed+83 added−13 removed
modified:lib/express/plugins/view.js-10 removed
147 unmodified linesExpand all14814915015115215315415515615715815916016115215315415517 unmodified lines147 unmodified linesExpand all layout = options.layout === undefined ? 'layout' : options.layout options.filename = path if (set('cache view contents')) options.cache = true // >>> DEPRECATED: remove in 0.9.0 if (['haml', 'sass', 'ejs'].indexOf(contentType) !== -1) { Ext.warn('views now take the form NAME.TYPE.ENGINE such as "page.html.haml" instead of "page.haml.html".' + ' Will be removed in 0.9.0') var swap = contentType contentType = engine engine = swap path = set(type) + '/' + parts.first + '.' + contentType + '.' + engine } // <<< var content = cache[type][path] || fs.readFileSync(path) options.context = options.context || this content = (engines[engine] = engines[engine] || require(engine)).render(content, options) if (type === 'views') this.contentType(contentType)17 unmodified linesmodified:lib/express/core.js+1 added-1 removed
298 unmodified lines299 300 // --- Express301 302 Express = { 303- version: '0.8.0',303+ version: '0.9.0',304 config: [],305 routes: [],306 plugins: [],307 settings: {},27 unmodified linesmodified:History.md+80 added
1 2+0.9.0 / 2010-04-143+==================4+5+ * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js6+ * Fixed bug preventing falsey params (such as ?page=0). Closes #2867+ * Fixed setting of multiple cookies. Closes #1998+ * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)9+ * Changed; session cookie is now httpOnly10+ * Changed; Request is no longer global11+ * Changed; Event is no longer global12+ * Changed; "sys" module is no longer global13+ * Changed; moved Request#download to Static plugin where it belongs14+ * Updated support to node --version 0.1.9015+ * Updated dependencies16+ 17+ * Added "magic" variables to collection partials (__index__, __length__, __isFirst__, __isLast__). Closes #25418+ * Request instance created before body parsing. Closes #26219+ * Fixed post param issue20+ * Fixed mocks to work with new routing api21+ * .22+ * Docs23+ * Merge branch 'upload-limit'24+ * Added "max upload size" setting25+ * Updated ext. Closes #25626+ * Added Request#render() callback function. Closes #25827+ * Merge branch 'integration'28+ * fn -> callback29+ * Typo30+ * Merge branch 'master' of git://github.com/aheckmann/express into integration31+ * Updated to JSpec 4.0.032+ * error() is passed the exception33+ * fn -> callback34+ * Added DSL level error() route support35+ * Added DSL level notFound() route support36+ * Added specs for Request#notFound()37+ * More Request#error() specs38+ * Added specs for Request#error()39+ * Merge branch 'errors'40+ * Added publish Request#notFound()41+ * Removed Express.error(), Added public Request#error()42+ * Request#halt() accepts callback function as 3rd/4th arg43+ * Merge branch 'error-handling'44+ * Misc error handling improvements45+ * Removed unused variable46+ * Merge branch 'error-handling'47+ * Caching notFound / showException modules48+ * Express.error() now acts as the core exception handler49+ * request response event is now fired in reverse.50+ * Handle when a plugin response fails51+ * next -> callback52+ * Styling53+ * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})54+ * Docs for stable / edge55+ * Merge branch 'route-wildcards'56+ * Added preprocessing of route param wildcards using param(). Closes #25157+ * Added specs for param()58+ * Added more route wildcard specs59+ * Merge branch 'pre-cache-views'60+ * Pre-caching views in memory. Closes #25361+ * Started pre caching of views62+ * Merge branch 'integration'63+ * Added assertion to ensure that partials dir is relative to set("views")64+ * Re-using variables65+ * Using set("views") when setting set("partials")66+ * partialscache -> partials67+ * preload partials add settings bug fix, partial now works when cache view contents is true68+ * add cache view partials69+ * Removed utils.mixin() use Object#mergeDeep()70+ * Merge branch 'partials'71+ * Chat sample app using partials as an example72+ * Added partial "as" option73+ * Partial collection should not introduce newlines74+ * Added partial collection support75+ * Started view partial support76+ * Updated ext submodule77+ * Removed Request#_blendInNodeRequest()78+ * Merge branch 'net2_fixes' of git://github.com/ciaranj/express79+ * Updated support to v0.1.3380+ * Various minor fixes required to make express work post the net2 merge branch81+82 0.8.0 / 2010-03-1983 ==================84 85 * Added coffeescript example app. Closes #242168 unmodified linesmodified:package.json+1 added-1 removed
1234456786 unmodified lines{ "name": "Express", "description": "Sinatra inspired web development framework", "version": "0.8.0", "version": "0.9.0", "keywords": ["framework", "sinatra", "web", "rest", "restful"], "directories": { "lib": "lib" },6 unmodified linesmodified:seed.yml+1 added-1 removed
12344--- name: Express description: Sinatra inspired web development framework version: 0.8.0 version: 0.9.0