URI.js is a collection of JavaScript functions that allow developers to manipulate strings in the form of URIs (or URLs).
The library does not modify the page's current URL, and is merely a basic string manipulation tool, but specialized in URL strings alone.
URI.js works with client-side (browsers) and server-side (Node.js) environments.
A jQuery plugin is included with the download package as well.
What is new in this release:
- Changes to package management manifests only.
What is new in version 1.16.1:
- Changes to package management manifests only.
What is new in version 1.15.1:
- Changes to package management manifests only.
What is new in version 1.14.2:
- Changes to package management manifests only.
What is new in version 1.12.1:
- Fixing fragment plugins to return URI for simpler loading.
What is new in version 1.12.0:
- Fixed:
- .absoluteTo() to comply with RFC3986 Reference Resolution Examples
- .normalizePath() to maintain leading parent references (../) for relative paths, while removing them for absolute paths
- URI.protocol_expression to properly accept . in compliance with RFC 3986 - Scheme
- URI.withinString() to not use backtracking prone regular expression URI.find_uri_expression anymore
What is new in version 1.10.0:
- Fixed URI property detection to return 'src' if none was detected.
What is new in version 1.8.3:
- Fixing UglifyJS2 compression.
What is new in version 1.8.2:
- Adding .fragmentPrefix() to configure prefix of fragmentURI and fragmentQuery extensions.
- Adding docs for .toString(), .valueOf() and .href().
What is new in version 1.8.0:
- Adding .resource() as compound of [path, query, fragment]
- Adding jQuery 1.8.x compatibility for jQuery.URI.js (remaining backwards compatibility!)
- Adding default ports for gopher, ws, wss
- Adding .duplicateQueryParameters() to control if key=value duplicates have to be preserved or reduced
- Updating Punycode.js to version 1.1.1
- Improving AMD/Node using UMD returnExports
- Fixing .addQuery("empty") to properly add ?empty
- Fixing parsing of badly formatted userinfo http://username:pass:word@hostname
What is new in version 1.7.2:
- Fixes:
- SLD detection in .tld() - foot.se would detect t.se.
- .absoluteTo() to comply with RFC 3986 Section 5.2.2.
- Location not being available in non-browser environments like node.js.
What is new in version 1.7.0:
- Adding .segment() accessor.
- Upgrading URI.encode() to strict URI encoding according to RFC3986.
- Adding URI.encodeReserved() to exclude reserved characters (according to RFC3986) from being encoded.
- Adding URI Template (RFC 6570) support with URITemplate().
What is new in version 1.6.3:
- Fixed .absoluteTo() to join two relative paths properly.
- Added .clone() to copy an URI instance.
What is new in version 1.6.1:
- Fixing TypeError on domain() with dot-less hostnames.
What is new in version 1.6.0:
- Adding URN (javascript:, mailto:, ...) support.
- Adding .scheme() as alias of .protocol().
- Adding .userinfo() to comply with terminology of RFC 3986.
- Adding jQuery Plugin src/jquery.URI.js.
- Fixing relative scheme URLs.
What is new in version 1.5.0:
- Adding Second Level Domain (SLD) support.
What is new in version 1.4.1:
- Added CommonJS compatibility.
What is new in version 1.4.0:
- Added URI.iso8859() and URI.unicode() to switch base charsets.
- Added .iso8859() and .unicode() to convert an URI's escape encoding.
What is new in version 1.3.1:
- Updated Punycode.js to version 0.3.0
- Added edge-case tests ("jim")
- Fixed edge-cases in .protocol(), .port(), .subdomain(), .domain(), .tld(), .filename()
- Fixed parsing of hostname in .hostname()
Requirements:
- JavaScript enabled on client side
- Node.js for server-side environments
- jQuery 1.7 or higher (for the jQuery plugin only)
Comments not found