Skip to content

Remove deprecated apis - #5373

Merged
zcbenz merged 31 commits into
1-0-releasefrom
remove-deprecated-apis
May 9, 2016
Merged

zcbenz merged 31 commits into
1-0-releasefrom
remove-deprecated-apis

Conversation

@kevinsawicki

Copy link
Copy Markdown
Contributor

Retargets #5335 to the 1-0-release branch.

// Notify the creation of the window.
app.emit('browser-window-created', {}, this)

// Be compatible with old APIs.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zcbenz These are okay to remove for 1.0 right?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm good removing them, people might be complaining though since we didn't generate deprecation notices for them.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think it is still valuable cleanup to do before 1.0 or else we'd leave them in until 2.0.

@danhp

danhp commented May 6, 2016

Copy link
Copy Markdown
Contributor

Was digging through some code yesterday and I found this little guy: https://github.com/electron/electron/blob/remove-deprecated-apis/atom/browser/api/atom_api_window.cc#L81-L88

@kevinsawicki

kevinsawicki commented May 6, 2016 •

Copy link
Copy Markdown
Contributor Author

@danhp thanks so much for pointing those out, removed in ef459c7

@kevinsawicki
kevinsawicki force-pushed the remove-deprecated-apis branch from b8c85ae to ef459c7 Compare May 6, 2016 17:13
@zcbenz
zcbenz merged commit e139012 into 1-0-release May 9, 2016
@zcbenz
zcbenz deleted the remove-deprecated-apis branch May 9, 2016 10:16
rhysd added a commit to rhysd/electron-window-state that referenced this pull request May 11, 2016
Electron v1.0.0 was out and deprecated modules are removed.
I fixed requiring deprecated module.

electron/electron#5373
rhysd added a commit to rhysd/electron-window-state that referenced this pull request May 11, 2016
Electron v1.0.0 was out and deprecated modules are removed.
I fixed requiring deprecated module.

electron/electron#5373
@thomasjo thomasjo mentioned this pull request Aug 3, 2016
29 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants