Skip to content

Commit 5bfd36a

Browse files
Merge pull request #39 from aptlogica/update-licence
Update license
2 parents ceea3f5 + b1d7647 commit 5bfd36a

79 files changed

Lines changed: 268 additions & 210 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LICENSE

Lines changed: 109 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,109 @@
1-
MIT License
2-
3-
Copyright (c) 2026 Aptlogica Technologies Private Limited
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
1+
Copyright 2026 Aptlogica Technologies Private Limited
2+
3+
Apache License
4+
Version 2.0, January 2004
5+
http://www.apache.org/licenses/
6+
7+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8+
9+
1. Definitions.
10+
11+
"License" shall mean the terms and conditions for use, reproduction, and
12+
distribution as defined by Sections 1 through 9 of this document.
13+
14+
"Licensor" shall mean the copyright owner or entity authorized by the
15+
copyright owner that is granting the License.
16+
17+
"Legal Entity" shall mean the union of the acting entity and all other
18+
entities that control, are controlled by, or are under common control with
19+
that entity. For the purposes of this definition, "control" means (i) the
20+
power, direct or indirect, to cause the direction or management of such
21+
entity, whether by contract or otherwise, or (ii) ownership of fifty
22+
percent (50%) or more of the outstanding shares, or (iii) beneficial
23+
ownership of such entity.
24+
25+
"You" (or "Your") shall mean an individual or Legal Entity exercising
26+
permissions granted by this License.
27+
28+
"Source" form shall mean the preferred form for making modifications,
29+
including but not limited to software source code, documentation source,
30+
and configuration files.
31+
32+
"Object" form shall mean any form resulting from mechanical transformation
33+
or translation of a Source form, including but not limited to compiled
34+
object code, generated documentation, and conversions to other media types.
35+
36+
"Work" shall mean the work of authorship, whether in Source or Object
37+
form, made available under the License, as indicated by a copyright notice
38+
that is included in or attached to the work (an example is provided in the
39+
Appendix below).
40+
41+
"Derivative Works" shall mean any work, whether in Source or Object form,
42+
that is based on (or derived from) the Work and for which the editorial
43+
revisions, annotations, elaborations, or other modifications represent,
44+
as a whole, an original work of authorship. For the purposes of this
45+
License, Derivative Works shall not include works that remain separable
46+
from, or merely link (or bind by name) to the interfaces of, the Work and
47+
Derivative Works thereof.
48+
49+
"Contribution" shall mean any work of authorship, including the original
50+
version of the Work and any modifications or additions to that Work or
51+
Derivative Works thereof, that is intentionally submitted to Licensor for
52+
inclusion in the Work by the copyright owner or by an individual or Legal
53+
Entity authorized to submit on behalf of the copyright owner.
54+
55+
2. Grant of Copyright License. Subject to the terms and conditions of this
56+
License, each Contributor hereby grants to You a perpetual, worldwide,
57+
non-exclusive, no-charge, royalty-free, irrevocable copyright license to
58+
reproduce, prepare Derivative Works of, publicly display, publicly perform,
59+
sublicense, and distribute the Work and such Derivative Works in Source or
60+
Object form.
61+
62+
3. Grant of Patent License. Subject to the terms and conditions of this
63+
License, each Contributor hereby grants to You a perpetual, worldwide,
64+
non-exclusive, no-charge, royalty-free, irrevocable (except as stated in
65+
this section) patent license to make, have made, use, offer to sell, sell,
66+
import, and otherwise transfer the Work, where such license applies only to
67+
those patent claims licensable by such Contributor that are necessarily
68+
infringed by their Contribution(s) alone or by combination of their
69+
Contribution(s) with the Work to which such Contribution(s) was submitted.
70+
71+
4. Redistribution. You may reproduce and distribute copies of the Work or
72+
Derivative Works thereof in any medium, with or without modifications, and
73+
in Source or Object form, provided that You meet the following conditions:
74+
75+
(a) You must give any other recipients of the Work or Derivative Works a
76+
copy of this License; and
77+
78+
(b) You must cause any modified files to carry prominent notices stating
79+
that You changed the files; and
80+
81+
(c) You must retain, in the Source form of any Derivative Works that You
82+
distribute, all copyright, patent, trademark, and attribution notices
83+
from the Source form of the Work, excluding those notices that do not
84+
pertain to any part of the Derivative Works; and
85+
86+
(d) If the Work includes a "NOTICE" text file as part of its distribution,
87+
then any Derivative Works that You distribute must include a readable
88+
copy of the attribution notices contained within such NOTICE file, in at
89+
least one of the following places: within a NOTICE text file distributed
90+
as part of the Derivative Works; within the Source form or documentation;
91+
or within a display generated by the Derivative Works.
92+
93+
5. Submission of Contributions. Unless You explicitly state otherwise, any
94+
Contribution intentionally submitted for inclusion in the Work shall be
95+
under the terms and conditions of this License.
96+
97+
6. Trademarks. This License does not grant permission to use the trade
98+
names, trademarks, service marks, or product names of the Licensor.
99+
100+
7. Disclaimer of Warranty. The Work is provided "AS IS", WITHOUT WARRANTIES
101+
OR CONDITIONS OF ANY KIND.
102+
103+
8. Limitation of Liability. In no event shall any Contributor be liable
104+
for damages arising from the use of the Work.
105+
106+
9. Accepting Warranty or Additional Liability. You may offer support or
107+
warranty, but only on your own behalf.
108+
109+
END OF TERMS AND CONDITIONS

NOTICE

Lines changed: 4 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,7 @@
1-
# Legal Notices
1+
Aptlogica Technologies Private Limited
22

3-
## Third-Party Licenses
3+
This product includes software developed by Aptlogica Technologies Private Limited.
44

5-
This project includes software developed by third parties. The licenses for these dependencies are included below and in the `go.mod` file.
5+
Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
66

7-
For a complete list of dependencies and their licenses, run:
8-
```
9-
go mod graph
10-
```
11-
12-
## License
13-
14-
This project is licensed under the MIT License. See LICENSE file for details.
15-
16-
## Attributions
17-
18-
### PostgreSQL
19-
This project interfaces with PostgreSQL, which is licensed under the PostgreSQL License.
20-
- Website: https://www.postgresql.org/
21-
- License: https://www.postgresql.org/about/licence/
22-
23-
### Go Standard Library
24-
Uses the Go programming language and its standard library.
25-
- Website: https://golang.org/
26-
- License: https://golang.org/LICENSE (BSD-style)
27-
28-
### Key Dependencies
29-
30-
The following third-party packages are used and respect their respective licenses:
31-
32-
- github.com/lib/pq - PostgreSQL driver (BSD 3-Clause)
33-
- github.com/go-playground/validator - Validator library (MIT)
34-
- Standard Go library packages
35-
36-
## Contributing
37-
38-
By contributing to this project, you agree to abide by the terms and conditions set forth in the CONTRIBUTING.md file and license agreements.
7+
© 2026 Aptlogica Technologies Private Limited. All rights reserved.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<a href="https://sonarcloud.io/dashboard?id=aptlogica_go-postgres-rest"><img src="https://sonarcloud.io/api/project_badges/measure?project=aptlogica_go-postgres-rest&metric=security_rating" alt="Security"></a>
2222
</p>
2323
<p align="center">
24-
<img src="https://img.shields.io/badge/License-MIT-green?style==flat-square" alt="MIT License">
24+
<img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" alt="Apache 2.0">
2525
</p>
2626

2727
> A comprehensive PostgreSQL REST API framework and Golang backend framework for enterprise-grade applications. This production-ready Postgres API server and open source database API provides high-level abstractions for building scalable REST APIs with advanced query building, schema management, bulk operations, database migrations, and performance optimization.
@@ -179,4 +179,4 @@ See [SECURITY.md](SECURITY.md) for reporting vulnerabilities.
179179

180180
## License
181181

182-
MIT License. Copyright (c) 2026 Aptlogica Technologies.
182+
Apache License 2.0. Copyright (c) 2026 Aptlogica Technologies. See [LICENSE](LICENSE) for details.

docs/GOVERNANCE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This document describes the governance structure and decision-making process for
44

55
## Overview
66

7-
go-postgres-rest is an open-source project maintained by [Aptlogica Technologies](https://www.aptlogica.com) under the MIT License. We welcome contributions from the community and follow transparent governance practices.
7+
go-postgres-rest is an open-source project maintained by [Aptlogica Technologies](https://www.aptlogica.com) under the Apache License 2.0. We welcome contributions from the community and follow transparent governance practices.
88

99
## Project Roles
1010

@@ -189,7 +189,7 @@ We welcome feedback on governance process:
189189
A: Demonstrate consistent, high-quality contributions over time. Discuss with existing maintainers.
190190

191191
**Q: Can I fork and maintain my own version?**
192-
A: Yes! MIT License permits this. We hope you'll contribute improvements back.
192+
A: Yes! Apache License 2.0 permits this. We hope you'll contribute improvements back.
193193

194194
**Q: How are security issues handled?**
195195
A: See [SECURITY.md](../SECURITY.md) for confidential reporting process.

docs/api.openapi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ info:
77
name: Aptlogica Support
88
url: https://github.com/aptlogica/go-postgres-rest
99
license:
10-
name: MIT
11-
url: https://opensource.org/licenses/MIT
10+
name: Apache License 2.0
11+
url: https://www.apache.org/licenses/LICENSE-2.0.html
1212

1313
servers:
1414
- url: http://localhost:8080

pkg/config/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2026 Aptlogica Technologies Private Limited
2-
// SPDX-License-Identifier: MIT
1+
// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
2+
// Licensed under the Apache License, Version 2.0
33
// Websites: https://www.aptlogica.com | https://www.serenibase.com
44
// Support: support@aptlogica.com | support@serenibase.com
55

pkg/config/config_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2026 Aptlogica Technologies Private Limited
2-
// SPDX-License-Identifier: MIT
1+
// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
2+
// Licensed under the Apache License, Version 2.0
33
// Websites: https://www.aptlogica.com | https://www.serenibase.com
44
// Support: support@aptlogica.com | support@serenibase.com
55

pkg/database/dbFactory.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2026 Aptlogica Technologies Private Limited
2-
// SPDX-License-Identifier: MIT
1+
// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
2+
// Licensed under the Apache License, Version 2.0
33
// Websites: https://www.aptlogica.com | https://www.serenibase.com
44
// Support: support@aptlogica.com | support@serenibase.com
55

pkg/database/dbFactory_internal_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2026 Aptlogica Technologies Private Limited
2-
// SPDX-License-Identifier: MIT
1+
// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
2+
// Licensed under the Apache License, Version 2.0
33
// Websites: https://www.aptlogica.com | https://www.serenibase.com
44
// Support: support@aptlogica.com | support@serenibase.com
55

pkg/database/dbFactory_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2026 Aptlogica Technologies Private Limited
2-
// SPDX-License-Identifier: MIT
1+
// Copyright 2026-2030 Aptlogica Technologies Pvt Ltd
2+
// Licensed under the Apache License, Version 2.0
33
// Websites: https://www.aptlogica.com | https://www.serenibase.com
44
// Support: support@aptlogica.com | support@serenibase.com
55

0 commit comments

Comments
 (0)