Skip to content

Commit

Permalink
Prepare 0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
barseghyanartur committed Apr 19, 2020
1 parent 6c796fa commit 8cc7db8
Show file tree
Hide file tree
Showing 8 changed files with 80 additions and 28 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ are used for versioning (schema follows below):
0.3.4 to 0.4).
- All backwards incompatible changes are mentioned in this document.

0.12
----
2020-04-19

- Use Public Suffix list instead of deprecated Mozilla's MXR.

0.11.11
------
2020-03-10
Expand Down
6 changes: 2 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
tld
===
Extract the top level domain (TLD) from the URL given. List of TLD names is
taken from `Mozilla
<http://mxr.mozilla.org/mozilla/source/netwerk/dns/src/effective_tld_names.dat?raw=1>`_.
taken from `Public Suffix <https://publicsuffix.org/list/public_suffix_list.dat>`_.

Optionally raises exceptions on non-existing TLDs or silently fails (if
``fail_silently`` argument is set to True).
Expand Down Expand Up @@ -321,8 +320,7 @@ Python 3.5
Troubleshooting
===============
If somehow domain names listed `here
<http://mxr.mozilla.org/mozilla/source/netwerk/dns/src/effective_tld_names.dat?raw=1>`_
If somehow domain names listed `here <https://publicsuffix.org/list/public_suffix_list.dat>`_
are not recognised, make sure you have the most recent version of TLD names in
your virtual environment:
Expand Down
6 changes: 6 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ are used for versioning (schema follows below):
0.3.4 to 0.4).
- All backwards incompatible changes are mentioned in this document.

0.12
----
2020-04-19

- Use Public Suffix list instead of deprecated Mozilla's MXR.

0.11.11
------
2020-03-10
Expand Down
6 changes: 2 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
tld
===
Extract the top level domain (TLD) from the URL given. List of TLD names is
taken from `Mozilla
<http://mxr.mozilla.org/mozilla/source/netwerk/dns/src/effective_tld_names.dat?raw=1>`_.
taken from `Public Suffix <https://publicsuffix.org/list/public_suffix_list.dat>`_.

Optionally raises exceptions on non-existing TLDs or silently fails (if
``fail_silently`` argument is set to True).
Expand Down Expand Up @@ -321,8 +320,7 @@ Python 3.5
Troubleshooting
===============
If somehow domain names listed `here
<http://mxr.mozilla.org/mozilla/source/netwerk/dns/src/effective_tld_names.dat?raw=1>`_
If somehow domain names listed `here <https://publicsuffix.org/list/public_suffix_list.dat>`_
are not recognised, make sure you have the most recent version of TLD names in
your virtual environment:
Expand Down
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ addopts=
--cov-report=term
--cov-report=annotate
--cov-append
--capture=no
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
except:
readme = ''

version = '0.11.11'
version = '0.12'

py_where = './src'
py_package_dir = 'src'
Expand Down
2 changes: 1 addition & 1 deletion src/tld/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
)

__title__ = 'tld'
__version__ = '0.11.10'
__version__ = '0.12'
__author__ = 'Artur Barseghyan'
__copyright__ = '2013-2020 Artur Barseghyan'
__license__ = 'MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-or-later'
Expand Down
79 changes: 61 additions & 18 deletions src/tld/res/effective_tld_names.dat.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ exchange.aero
express.aero
federation.aero
flight.aero
freight.aero
fuel.aero
gliding.aero
government.aero
Expand Down Expand Up @@ -213,6 +212,7 @@ ac.at
co.at
gv.at
or.at
sth.ac.at

// au : https://en.wikipedia.org/wiki/.au
// http://www.auda.org.au/
Expand Down Expand Up @@ -719,11 +719,13 @@ gouv.ci
*.ck
!www.ck

// cl : https://en.wikipedia.org/wiki/.cl
// cl : https://www.nic.cl
// Confirmed by .CL registry <hsalgado@nic.cl>
cl
gov.cl
gob.cl
aprendemas.cl
co.cl
gob.cl
gov.cl
mil.cl

// cm : https://en.wikipedia.org/wiki/.cm plus bug 981927
Expand Down Expand Up @@ -6519,7 +6521,7 @@ k12.ok.us
k12.or.us
k12.pa.us
k12.pr.us
k12.ri.us
// k12.ri.us Removed at request of Kim Cournoyer <netsupport@staff.ri.net>
k12.sc.us
// k12.sd.us Bug 934131 - Removed at request of James Booze <James.Booze@k12.sd.us>
k12.tn.us
Expand Down Expand Up @@ -7090,7 +7092,7 @@ org.zw

// newGTLDs

// List of new gTLDs imported from https://www.icann.org/resources/registries/gtlds/v2/gtlds.json on 2020-03-15T18:10:34Z
// List of new gTLDs imported from https://www.icann.org/resources/registries/gtlds/v2/gtlds.json on 2020-04-02T18:20:31Z
// This list is auto-generated, don't edit it manually.
// aaa : 2015-02-26 American Automobile Association, Inc.
aaa
Expand Down Expand Up @@ -9093,9 +9095,6 @@ mutual
// nab : 2015-08-20 National Australia Bank Limited
nab

// nadex : 2014-12-11 Nadex Domains, Inc.
nadex

// nagoya : 2013-10-24 GMO Registry, Inc.
nagoya

Expand Down Expand Up @@ -10434,9 +10433,6 @@ xin
// xn--efvy88h : 2014-08-22 Guangzhou YU Wei Information Technology Co., Ltd.
新闻

// xn--estv75g : 2015-02-19 Industrial and Commercial Bank of China Limited
工行

// xn--fct429k : 2015-04-09 Amazon Registry Services, Inc.
家電

Expand Down Expand Up @@ -11099,6 +11095,10 @@ realm.cz
// Submitted by Jonathan Rudenberg <jonathan@cupcake.io>
cupcake.is

// Curv UG : https://curv-labs.de/
// Submitted by Marvin Wiesner <Marvin@curv-labs.de>
curv.dev

// Customer OCI - Oracle Dyn https://cloud.oracle.com/home https://dyn.com/dns/
// Submitted by Gregory Drake <support@dyn.com>
// Note: This is intended to also include customer-oci.com due to wildcards implicitly including the current label
Expand Down Expand Up @@ -11134,6 +11134,10 @@ firm.dk
reg.dk
store.dk

// dappnode.io : https://dappnode.io/
// Submitted by Abel Boldu / DAppNode Team <community@dappnode.io>
dyndns.dappnode.io

// dapps.earth : https://dapps.earth/
// Submitted by Daniil Burdakov <icqkill@gmail.com>
*.dapps.earth
Expand Down Expand Up @@ -11616,6 +11620,10 @@ twmail.org
mymailer.com.tw
url.tw

// Fabrica Technologies, Inc. : https://www.fabrica.dev/
// Submitted by Eric Jiang <eric@fabrica.dev>
onfabrica.com

// Facebook, Inc.
// Submitted by Peter Ruibal <public-suffix@fb.com>
apps.fbsbx.com
Expand Down Expand Up @@ -11718,6 +11726,10 @@ global.ssl.fastly.net
// Submitted by Likhachev Vasiliy <lihachev@fastvps.ru>
fastpanel.direct
fastvps-server.com
myfast.space
myfast.host
fastvps.site
fastvps.host

// Featherhead : https://featherhead.xyz/
// Submitted by Simon Menke <simon@featherhead.xyz>
Expand All @@ -11731,6 +11743,13 @@ cloud.fedoraproject.org
app.os.fedoraproject.org
app.os.stg.fedoraproject.org

// FearWorks Media Ltd. : https://fearworksmedia.co.uk
// submitted by Keith Fairley <domains@fearworksmedia.co.uk>
conn.uk
copro.uk
couk.me
ukco.me

// Fermax : https://fermax.com/
// submitted by Koen Van Isterdael <k.vanisterdael@fermax.be>
mydobiss.com
Expand All @@ -11751,7 +11770,6 @@ firebaseapp.com

// Flynn : https://flynn.io
// Submitted by Jonathan Rudenberg <jonathan@flynn.io>
flynnhub.com
flynnhosting.net

// Frederik Braun https://frederik-braun.com
Expand Down Expand Up @@ -11923,6 +11941,10 @@ publishproxy.com
withgoogle.com
withyoutube.com

// Aaron Marais' Gitlab pages: https://lab.aaronleem.co.za
// Submitted by Aaron Marais <its_me@aaronleem.co.za>
graphox.us

// Group 53, LLC : https://www.group53.com
// Submitted by Tyler Todd <noc@nova53.net>
awsmppl.com
Expand Down Expand Up @@ -12053,8 +12075,9 @@ pixolino.com
ipifony.net

// IServ GmbH : https://iserv.eu
// Submitted by Kim-Alexander Brodowski <kim.brodowski@iserv.eu>
// Submitted by Kim-Alexander Brodowski <info@iserv.eu>
mein-iserv.de
schulserver.de
test-iserv.de
iserv.dev

Expand Down Expand Up @@ -12240,8 +12263,8 @@ eu.meteorapp.com
co.pl

// Microsoft Corporation : http://microsoft.com
// Submitted by Justin Luk <juluk@microsoft.com>
azurecontainer.io
// Submitted by Mostafa Elzeiny <moelzein@microsoft.com>
*.azurecontainer.io
azurewebsites.net
azure-mobile.net
cloudapp.net
Expand Down Expand Up @@ -12287,6 +12310,7 @@ nctu.me
// Netlify : https://www.netlify.com
// Submitted by Jessica Parsons <jessica@netlify.com>
bitballoon.com
netlify.app
netlify.com

// Neustar Inc.
Expand Down Expand Up @@ -12444,12 +12468,13 @@ pcloud.host
nyc.mn

// NymNom : https://nymnom.com/
// Submitted by Dave McCormack <dave.mccormack@nymnom.com>
// Submitted by NymNom <psl@nymnom.com>
nom.ae
nom.af
nom.ai
nom.al
nym.by
nom.bz
nym.bz
nom.cl
nym.ec
Expand All @@ -12471,6 +12496,7 @@ nom.li
nym.li
nym.lt
nym.lu
nom.lv
nym.me
nom.mk
nym.mn
Expand Down Expand Up @@ -12578,6 +12604,12 @@ on-web.fr
*.platform.sh
*.platformsh.site

// Platter: https://platter.dev
// Submitted by Patrick Flor <patrick@platter.dev>
platter-app.com
platter-app.dev
platterp.us

// Port53 : https://port53.io/
// Submitted by Maximilian Schieder <maxi@zeug.co>
dyn53.io
Expand Down Expand Up @@ -12791,6 +12823,10 @@ static.land
dev.static.land
sites.static.land

// Sony Interactive Entertainment LLC : https://sie.com/
// Submitted by David Coles <david.coles@sony.com>
playstation-cloud.com

// SourceLair PC : https://www.sourcelair.com
// Submitted by Antonis Kalipetis <akalipetis@sourcelair.com>
apps.lair.io
Expand Down Expand Up @@ -13013,8 +13049,15 @@ wedeploy.sh
remotewd.com

// Wikimedia Labs : https://wikitech.wikimedia.org
// Submitted by Yuvi Panda <yuvipanda@wikimedia.org>
// Submitted by Arturo Borrero Gonzalez <aborrero@wikimedia.org>
wmflabs.org
toolforge.org
wmcloud.org

// WISP : https://wisp.gg
// Submitted by Stepan Fedotov <stepan@wisp.gg>
panel.gg
daemon.panel.gg

// WoltLab GmbH : https://www.woltlab.com
// Submitted by Tim Düsterhus <security@woltlab.cloud>
Expand Down

0 comments on commit 8cc7db8

Please sign in to comment.