Skip to content

Remove deprecated APIs - #5335

Closed
kevinsawicki wants to merge 23 commits into
masterfrom
remove-deprecated-apis
Closed

kevinsawicki wants to merge 23 commits into
masterfrom
remove-deprecated-apis

Conversation

@kevinsawicki

@kevinsawicki kevinsawicki commented Apr 28, 2016 •

Copy link
Copy Markdown
Contributor

This pull request queues up the removal of the deprecated APIs that will not be included in the 1.0 release.

It does leave the deprecate and deprecations helper classes for post 1.0 usage when more APIs need to be deprecated.

/cc @electron/maintainers

@kevinsawicki kevinsawicki changed the title [WIP] Remove deprecated apis [WIP] Remove deprecated APIs Apr 28, 2016
@deepak1556

deepak1556 commented Apr 30, 2016 •

Copy link
Copy Markdown
Member

lib/browser/api/protocol.js has some deprecated api to be removed.

Comment thread lib/browser/api/app.js Outdated
const EventEmitter = require('events').EventEmitter

// Initialize session
require('electron').session

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why initializing here ?

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.

It crashes without this require.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

have pushed a commit that should fix the crash.

@kevinsawicki

Copy link
Copy Markdown
Contributor Author

lib/browser/api/protocol.js has some deprecated api to be removed.

@deepak1556 awesome, thanks so much 👍

@kevinsawicki kevinsawicki changed the title [WIP] Remove deprecated APIs Remove deprecated APIs May 2, 2016
@kevinsawicki

Copy link
Copy Markdown
Contributor Author

@zcbenz Should I retarget this pull request against the 1-0-release branch?

@kevinsawicki

Copy link
Copy Markdown
Contributor Author

Retargeted in #5373

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.

2 participants