Skip to content

Commit

Permalink
Version and copyright bump; added relnotes so far.
Browse files Browse the repository at this point in the history
  • Loading branch information
amcgregor committed Nov 5, 2018
1 parent 74a16f6 commit 7d85ef9
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright © 2017 Alice Bevan-McGregor and contributors.
Copyright © 2017-2018 Alice Bevan-McGregor and contributors.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
23 changes: 21 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
uri
===

© 2017 Alice Bevan-McGregor and contributors.
© 2017-2018 Alice Bevan-McGregor and contributors.

..
Expand Down Expand Up @@ -139,6 +139,9 @@ use, is to use the division and floor division operators::
js = cdn / "script.js"
css = cdn / "script.css"

Please note that once a URI has an "authority" part (basically, the parts prior to the path such as host) then any
path directly assigned must be "rooted", or contain a leading slash.


Schemes
-------
Expand All @@ -151,6 +154,22 @@ fields. Examples include: ``http``, ``https``, ``ftp``, ``mailto``, ``file``, `
Version History
===============

Version 2.0.1
-------------

* Added non-standard `resource` compound view.
* Removed Python 3.3 support, added 3.7, removed deprecated testing dependency.
* Scheme objects hash as per their string representation. #5
* Dead code clean-up.
* Additional tests covering previously uncovered edge cases, such as assignment to a compound view property.
* Restrict assignment of rootless paths (no leading `/`) if an authority part is already present. #8
* Enable handling of the following schemes as per URL (colon + double slash):
* sftp
* mysql
* redis
* mongodb


Version 2.0
-----------

Expand All @@ -171,7 +190,7 @@ The URI package has been released under the MIT Open Source license.
The MIT License
---------------

Copyright © 2017 Alice Bevan-McGregor and contributors.
Copyright © 2017-2018 Alice Bevan-McGregor and contributors.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the “Software”), to deal in the Software without restriction, including without limitation the
Expand Down
2 changes: 1 addition & 1 deletion uri/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

level_map = {'plan': '.dev'}

version_info = namedtuple('version_info', ('major', 'minor', 'micro', 'releaselevel', 'serial'))(2, 0, 0, 'final', 0)
version_info = namedtuple('version_info', ('major', 'minor', 'micro', 'releaselevel', 'serial'))(2, 0, 1, 'final', 0)
version = ".".join([str(i) for i in version_info[:3]]) + \
((level_map.get(version_info.releaselevel, version_info.releaselevel[0]) + \
str(version_info.serial)) if version_info.releaselevel != 'final' else '')
Expand Down

0 comments on commit 7d85ef9

Please sign in to comment.