Skip to content

Commit d6803dc

Browse files
committed
Add v4.8.0
1 parent ee94b79 commit d6803dc

File tree

419 files changed

+4293
-5494
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

419 files changed

+4293
-5494
lines changed

Gruntfile.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
//
77
// **Debug tip:** If you have any problems with any Grunt tasks, try running them with the `--verbose` command
88
const config = require('./core/shared/config');
9-
const urlService = require('./core/frontend/services/url');
109
const _ = require('lodash');
1110
const fs = require('fs-extra');
1211
const KnexMigrator = require('knex-migrator');
@@ -333,7 +332,7 @@ const configureGrunt = function (grunt) {
333332

334333
watch: {
335334
projects: {
336-
'core/client': ['shell:ember:watch', '--live-reload-base-url="' + urlService.utils.getSubdir() + '/ghost/"']
335+
'core/client': ['shell:ember:watch', '--live-reload-base-url="' + config.getSubdir() + '/ghost/"']
337336
}
338337
}
339338
},

MigratorConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const config = require('./core/shared/config');
2-
const ghostVersion = require('./core/server/lib/ghost-version');
2+
const ghostVersion = require('@tryghost/version');
33

44
/**
55
* knex-migrator can be used via CLI or within the application

core/boot.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
// IMPORTANT: The only global requires here should be overrides + debug so we can monitor timings with DEBUG=ghost:boot* node ghost
99
require('./server/overrides');
10-
const debug = require('ghost-ignition').debug('boot');
10+
const debug = require('@tryghost/debug')('boot');
1111
// END OF GLOBAL REQUIRES
1212

1313
/**
@@ -252,7 +252,7 @@ async function bootGhost() {
252252

253253
// Logging is used absolutely everywhere
254254
debug('Begin: Load logging');
255-
logging = require('./shared/logging');
255+
logging = require('@tryghost/logging');
256256
bootLogger = new BootLogger(logging, startTime);
257257
debug('End: Load logging');
258258

@@ -267,7 +267,7 @@ async function bootGhost() {
267267
// Version is required by sentry & Migration config & so is fundamental to booting
268268
// However, it involves reading package.json so its slow & it's here for visibility on that slowness
269269
debug('Begin: Load version info');
270-
require('./server/lib/ghost-version');
270+
require('@tryghost/version');
271271
debug('End: Load version info');
272272

273273
// Sentry must be initialised early, but requires config

core/bridge.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111
const errors = require('@tryghost/errors');
1212
const config = require('./shared/config');
13-
const logging = require('./shared/logging');
13+
const logging = require('@tryghost/logging');
1414
const events = require('./server/lib/common/events');
1515
const i18n = require('./shared/i18n');
1616
const themeEngine = require('./frontend/services/theme-engine');
@@ -20,7 +20,7 @@ class Bridge {
2020
constructor() {
2121
/**
2222
* When locale changes, we reload theme translations
23-
* @deprecated: the term "lang" was deprecated in favour of "locale" publicly in 4.0
23+
* @deprecated: the term "lang" was deprecated in favor of "locale" publicly in 4.0
2424
*/
2525
events.on('settings.lang.edited', (model) => {
2626
this.getActiveTheme().initI18n({locale: model.get('value')});

core/built/assets/chunk.3.139db7c89e1079f8d557.js renamed to core/built/assets/chunk.3.d7dfbdfb494969a0bc46.js

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/built/assets/ghost-dark-0a5e6f5b5ed58afc78f88b3513172f24.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/built/assets/ghost-dark-cbd428852eb8d3738fa88bbc8919d5b3.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

core/built/assets/ghost.min-7c96de1cb04826b5cf0c3647fd2391ac.js renamed to core/built/assets/ghost.min-3985a52a5601ec85c02a0764e39718bf.js

Lines changed: 367 additions & 307 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/built/assets/ghost.min-565fd3e33a95f6f256ff95d93a824795.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

core/built/assets/ghost.min-686e5699c18cf74adc67248417723b0b.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)