diff --git a/lib/handlebars/base.js b/lib/handlebars/base.js index 40f2fc56..fb61ff07 100644 --- a/lib/handlebars/base.js +++ b/lib/handlebars/base.js @@ -5,7 +5,7 @@ import { registerDefaultDecorators } from './decorators'; import logger from './logger'; import { resetLoggedProperties } from './internal/proto-access'; -export const VERSION = '4.7.2'; +export const VERSION = '4.7.3'; export const COMPILER_REVISION = 8; export const LAST_COMPATIBLE_COMPILER_REVISION = 7; diff --git a/package.json b/package.json index 575fdd81..a5371ea7 100644 --- a/package.json +++ b/package.json @@ -111,7 +111,8 @@ "print-script", "release-notes.md", "runtime.js", - "types/*.d.ts" + "types/*.d.ts", + "runtime.d.ts" ], "husky": { "hooks": { diff --git a/release-notes.md b/release-notes.md index 02fa7f54..7739296b 100644 --- a/release-notes.md +++ b/release-notes.md @@ -2,7 +2,25 @@ ## Development -[Commits](https://github.com/wycats/handlebars.js/compare/v4.7.2...master) +[Commits](https://github.com/wycats/handlebars.js/compare/v4.7.3...master) + +## v4.7.3 - February 5th, 2020 + +Chore/Housekeeping: + +- [#1644](https://github.com/wycats/handlebars.js/issues/1644) - Download links to aws broken on handlebarsjs.com - access denied ([@Tea56](https://api.github.com/users/Tea56)) +- Fix spelling and punctuation in changelog - d78cc73 + +Bugfixes: + +- Add Type Definition for Handlebars.VERSION, Fixes #1647 - 4de51fe +- Include Type Definition for runtime.js in Package - a32d05f + +Compatibility notes: + +- No incompatibilities are to be expected + +[Commits](https://github.com/wycats/handlebars.js/compare/v4.7.2...v4.7.3) ## v4.7.2 - January 13th, 2020 diff --git a/tasks/publish-to-aws.js b/tasks/publish-to-aws.js index b551e1c9..49655fa1 100644 --- a/tasks/publish-to-aws.js +++ b/tasks/publish-to-aws.js @@ -59,10 +59,10 @@ module.exports = function(grunt) { 'handlebars.runtime.js', 'handlebars.runtime.min.js' ]; - const publishPromises = filenames.map(filename => { + const publishPromises = filenames.map(async filename => { const nameInBucket = getNameInBucket(filename, suffix); const localFile = getLocalFile(filename); - uploadToBucket(localFile, nameInBucket); + await uploadToBucket(localFile, nameInBucket); grunt.log.writeln( `Published ${localFile} to build server (${nameInBucket})` ); diff --git a/types/index.d.ts b/types/index.d.ts index 1fa83680..3f2f8b79 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -88,6 +88,8 @@ declare namespace Handlebars { // TODO: replace Function with actual signature export const decorators: { [name: string]: Function }; + export const VERSION: string; + export function noConflict(): typeof Handlebars; export class Exception { diff --git a/types/test.ts b/types/test.ts index 7a34b7eb..1ed038f6 100644 --- a/types/test.ts +++ b/types/test.ts @@ -252,3 +252,7 @@ function testProtoAccessControlControlOptions() { } ); } + +function testHandlebarsVersion() { + let version: string = Handlebars.VERSION; +}