Changelog
### 4.5.0
```
++++++++++++++++++
* Support for mobile country code (MCC) and mobile network codes (MNC) was
added for the GeoIP2 ISP and Enterprise databases as well as the GeoIP2
City and Insights web services. ``mobile_country_code`` and
``mobile_network_code`` attributes were added to ``geoip2.model.ISP``
for the GeoIP2 ISP database and ``geoip2.record.Traits`` for the
Enterprise database and the GeoIP2 City and Insights web services.
We expect this data to be available by late January, 2022.
```
### 4.4.0
```
++++++++++++++++++
* The public API on ``geoip2.database`` is now explicitly defined by
setting ``__all__``.
* The return type of the ``metadata()`` method on ``Reader`` is now
``maxminddb.reader.Metadata`` rather than a union type.
```
### 4.3.0
```
++++++++++++++++++
* Previously, the ``py.typed`` file was not being added to the source
distribution. It is now explicitly specified in the manifest.
* The type hints for the database file in the ``Reader`` constructor have
been expanded to match those specified by ``maxmindb.open_database``. In
particular, ``os.PathLike`` and ``IO`` have been added.
* Corrected the type hint for the ``metadata()`` method on ``Reader``. It
will return a ``maxminddb.extension.Metadata`` if the C extension is being
used.
```
### 4.2.0
```
++++++++++++++++++
* You may now set a proxy to use when making web service requests by passing
the ``proxy`` parameter to the ``AsyncClient`` or ``Client`` constructor.
```
Links
- PyPI: https://pypi.org/project/geoip2
- Changelog: https://pyup.io/changelogs/geoip2/
- Homepage: http://www.maxmind.com/
- Docs: https://pythonhosted.org/geoip2/
This PR updates geoip2 from 4.1.0 to 4.5.0.
Changelog
### 4.5.0 ``` ++++++++++++++++++ * Support for mobile country code (MCC) and mobile network codes (MNC) was added for the GeoIP2 ISP and Enterprise databases as well as the GeoIP2 City and Insights web services. ``mobile_country_code`` and ``mobile_network_code`` attributes were added to ``geoip2.model.ISP`` for the GeoIP2 ISP database and ``geoip2.record.Traits`` for the Enterprise database and the GeoIP2 City and Insights web services. We expect this data to be available by late January, 2022. ``` ### 4.4.0 ``` ++++++++++++++++++ * The public API on ``geoip2.database`` is now explicitly defined by setting ``__all__``. * The return type of the ``metadata()`` method on ``Reader`` is now ``maxminddb.reader.Metadata`` rather than a union type. ``` ### 4.3.0 ``` ++++++++++++++++++ * Previously, the ``py.typed`` file was not being added to the source distribution. It is now explicitly specified in the manifest. * The type hints for the database file in the ``Reader`` constructor have been expanded to match those specified by ``maxmindb.open_database``. In particular, ``os.PathLike`` and ``IO`` have been added. * Corrected the type hint for the ``metadata()`` method on ``Reader``. It will return a ``maxminddb.extension.Metadata`` if the C extension is being used. ``` ### 4.2.0 ``` ++++++++++++++++++ * You may now set a proxy to use when making web service requests by passing the ``proxy`` parameter to the ``AsyncClient`` or ``Client`` constructor. ```Links
- PyPI: https://pypi.org/project/geoip2 - Changelog: https://pyup.io/changelogs/geoip2/ - Homepage: http://www.maxmind.com/ - Docs: https://pythonhosted.org/geoip2/