Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v3.0.0 #65

Merged
merged 19 commits into from
Jun 19, 2021
Merged

Release v3.0.0 #65

merged 19 commits into from
Jun 19, 2021

Conversation

harpreetkhalsagtbit
Copy link
Owner

v3.0.0 ::

  1. Refactoring of complete package to make this package - Tree shakable Fix:60.

  2. Change in usage:

    Release : v3.0.0 (Major Version Release - Not backward compatible)

    • ES6 Module usage

      // Latest version - v3.0.0
      import { Country, State, City }  from 'country-state-city';
    • AMD Module usage

      // Latest version - v3.0.0
      let Country = require('country-state-city').Country;
      let State = require('country-state-city').State;
      
      console.log(Country.getAllCountries())
      console.log(State.getAllStates())

Copy link
Owner Author

@harpreetkhalsagtbit harpreetkhalsagtbit left a comment

Choose a reason for hiding this comment

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

Approved

@harpreetkhalsagtbit harpreetkhalsagtbit merged commit a6ed495 into master Jun 19, 2021
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